Re: [vdr] Recording DVB-T HD infrance

2010-03-22 Thread Jose Alberto Reguero
El Miércoles, 17 de Marzo de 2010, Eric Valette escribió:
> >> Still wonder why such a one liner patch is not integrated though.
> > 
> > That forum is in French and apparently requires registration.
> > 
> > Can you post that "one-liner" here?
> 
> I just translate the instruction, into english (could do german too ;-))
> Could do a diff but for one trivial line no need for it.
> 
> Just add the following line in pat.c
> 
> case SI::AC3DescriptorTag:
> + case SI::EnhancedAC3DescriptorTag:
> dpid = stream.getPid();
> 
> 
> 
> I think for streamdev the same patch is required in
> livestreamer.c
> 
> case SI::AC3DescriptorTag:
> + case SI::EnhancedAC3DescriptorTag:
> Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",
> 
> -- eric
> 
> 
> 

I make a patch to use ffmpeg eac3 with xine. The patch is for the latest xine-
lib-1.2 hg. If you use xineliboutput you also need the second  patch attached.

Jose Alberto
diff -r a6a25ea3e2c8 src/combined/ffmpeg/ff_audio_decoder.c
--- a/src/combined/ffmpeg/ff_audio_decoder.c	Sun Mar 14 15:12:25 2010 +
+++ b/src/combined/ffmpeg/ff_audio_decoder.c	Thu Mar 18 21:56:24 2010 +0100
@@ -68,6 +68,8 @@
 
   char  *decode_buffer;
   int   decoder_ok;
+  int   sync;
+  int   frame_size;
 
 } ff_audio_decoder_t;
 
@@ -257,10 +259,46 @@
 
 if( !this->decoder_ok ) {
   if ( ! this->context || ! this->codec ) {
-xprintf (this->stream->xine, XINE_VERBOSITY_LOG,
-		_("ffmpeg_audio_dec: trying to open null codec\n"));
-	_x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0);
-	return;
+	if ( (buf->type & 0x) == BUF_AUDIO_A52 ) { 
+	pthread_mutex_lock (&ffmpeg_lock);
+this->codec = avcodec_find_decoder(CODEC_ID_AC3);
+	pthread_mutex_unlock (&ffmpeg_lock);
+_x_meta_info_set(this->stream, XINE_META_INFO_AUDIOCODEC,
+   "AC3 coque (ffmpeg)");
+
+if (!this->codec) {
+  xprintf (this->stream->xine, XINE_VERBOSITY_LOG,
+   _("ffmpeg_audio_dec: couldn't find ffmpeg decoder for buf type 0x%X\n"),
+   buf->type);
+  _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0);
+  return;
+}
+
+this->context = avcodec_alloc_context();
+
+this->audio_bits = 16;
+//	this->audio_sample_rate = 48000;
+//	this->audio_channels = 6;	
+//	this->frame_size = 768;
+this->context->request_channels = 2;
+
+this->context->bits_per_sample = this->audio_bits;
+this->context->sample_rate = this->audio_sample_rate;
+this->context->channels= this->audio_channels;
+this->context->codec_id= this->codec->id;
+this->context->codec_type  = this->codec->type;
+this->context->codec_tag   = _x_stream_info_get(this->stream, XINE_STREAM_INFO_AUDIO_FOURCC);
+
+this->size = 0;
+	this->sync = 0;
+
+this->decode_buffer = calloc(1, AVCODEC_MAX_AUDIO_FRAME_SIZE);
+	} else {
+   	  xprintf (this->stream->xine, XINE_VERBOSITY_LOG,
+		  _("ffmpeg_audio_dec: trying to open null codec\n"));
+	  _x_stream_info_set(this->stream, XINE_STREAM_INFO_AUDIO_HANDLED, 0);
+	  return;
+	}
   }
 
   pthread_mutex_lock (&ffmpeg_lock);
@@ -278,20 +316,32 @@
 if( buf->decoder_flags & BUF_FLAG_PREVIEW )
   return;
 
+if (this->sync == 0) {
+  while ((buf->content[0] != 0x0b) || (buf->content[1] != 0x77)) {
+buf->content++;
+	buf->size--;
+  }
+  this->sync = 1;
+}
 ff_audio_ensure_buffer_size(this, this->size + buf->size);
 xine_fast_memcpy (&this->buf[this->size], buf->content, buf->size);
 this->size += buf->size;
 
 if (!this->output_open) {
+//  if ((!this->audio_bits || !this->audio_sample_rate || !this->audio_channels) || ( (buf->type & 0x) == BUF_AUDIO_A52 )) {
   if (!this->audio_bits || !this->audio_sample_rate || !this->audio_channels) {
-avcodec_decode_audio2 (this->context,
+	decode_buffer_size = AVCODEC_MAX_AUDIO_FRAME_SIZE;
+this->frame_size = avcodec_decode_audio2 (this->context,
   (int16_t *)this->decode_buffer,
   &decode_buffer_size,
   &this->buf[0],
   this->size);
+//	this->size -= this->frame_size;
+//	memmove(this->buf, &this->buf[this->frame_size], this->size);
 	this->audio_bits = this->context->bits_per_sample;
 	this->audio_sample_rate = this->context->sample_rate;
 	this->audio_channels = this->context->channels;
+//printf ("COQUE %d %d %d %d\n", this->audio_bits, this->audio_sample_rate, this->audio_channels, this->frame_size);
 	if (!this->audio_bits || !this->audio_sample_rate || !this->audio_channels)
 	  return;
   }
@@ -304,10 +354,10 @@
 if (!this->output_open)
   return;
 
-if (buf->decoder_flags & BUF_FLAG_FRAME_END)  { /* time to decode a frame */
+if buf->type & 0x

Re: [vdr] Recording DVB-T HD infrance

2010-03-20 Thread Eric Valette

On 19/03/2010 11:40, Theunis Potgieter wrote:


You will have to get the xine-lib with vdpau support, xine-lib-1.2
does support vdpau.


Thanks for the help. I Would rather try this  as 
I love xbmc...


-- eric



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-19 Thread Theunis Potgieter
On 19 March 2010 10:47, Eric Valette  wrote:
> On 03/19/2010 08:05 AM, VDR User wrote:
>
> On Thu, Mar 18, 2010 at 11:29 PM, Eric Valette  wrote:
>
>
> Not on a netop without hardware acceleration (atom + ion). Wideo skips,
> has
> macro bloc, ...
>
>
> Nvidia ION supports VDPAU so how come you aren't using it to decode
> video?!
>
>
> Yes. As said in earlier post I have no problem with vlc,maplyer, xbmc with
> the same stream. I have with xine. Was talking only about viewing HD in
> xine.
>
>
> Ok, .but why aren't you using VDPAU?  You said you're using an ION
> nettop without hardware acceleration which means either you're
> choosing not to use it for some reason, or you don't have an ION
> system.
>
>
> I'm of course using vdpau (via 195.36.15 driver) when detected (mplayer,
> vlc, xbmc). The debian xine version does not seem to have it enabled by
> default (did not try the 1.2 version that is in experimental or more
> precisely do not know what to do when installed a the xine command use the
> old implementation).
>
>
>
> -- eric

You will have to get the xine-lib with vdpau support, xine-lib-1.2
does support vdpau.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-19 Thread Eric Valette

On 03/19/2010 08:05 AM, VDR User wrote:

On Thu, Mar 18, 2010 at 11:29 PM, Eric Valette  wrote:
   

Not on a netop without hardware acceleration (atom + ion). Wideo skips,
has
macro bloc, ...
 

Nvidia ION supports VDPAU so how come you aren't using it to decode
video?!
   

Yes. As said in earlier post I have no problem with vlc,maplyer, xbmc with
the same stream. I have with xine. Was talking only about viewing HD in
xine.
 

Ok, .but why aren't you using VDPAU?  You said you're using an ION
nettop without hardware acceleration which means either you're
choosing not to use it for some reason, or you don't have an ION
system.
   
I'm of course using vdpau (via 195.36.15 driver) when detected (mplayer, 
vlc, xbmc). The debian xine version does not seem to have it enabled by 
default (did not try the 1.2 version that is in experimental or more 
precisely do not know what to do when installed a the xine command use 
the old implementation).




-- eric
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-19 Thread VDR User
On Thu, Mar 18, 2010 at 11:29 PM, Eric Valette  wrote:
>>> Not on a netop without hardware acceleration (atom + ion). Wideo skips,
>>> has
>>> macro bloc, ...
>>
>> Nvidia ION supports VDPAU so how come you aren't using it to decode
>> video?!
>
> Yes. As said in earlier post I have no problem with vlc,maplyer, xbmc with
> the same stream. I have with xine. Was talking only about viewing HD in
> xine.

Ok, .but why aren't you using VDPAU?  You said you're using an ION
nettop without hardware acceleration which means either you're
choosing not to use it for some reason, or you don't have an ION
system.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread Eric Valette

On 18/03/2010 21:51, VDR User wrote:

On Thu, Mar 18, 2010 at 1:24 PM, Eric Valette  wrote:

Not on a netop without hardware acceleration (atom + ion). Wideo skips, has
macro bloc, ...


Nvidia ION supports VDPAU so how come you aren't using it to decode video?!


Yes. As said in earlier post I have no problem with vlc,maplyer, xbmc 
with the same stream. I have with xine. Was talking only about viewing 
HD in xine.


--eric




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread VDR User
On Thu, Mar 18, 2010 at 1:57 PM, dplu  wrote:
> Le Thursday 18 March 2010 21:51:57 VDR User, vous avez écrit :
>> On Thu, Mar 18, 2010 at 1:24 PM, Eric Valette  wrote:
>> > Not on a netop without hardware acceleration (atom + ion). Wideo skips,
>> > has macro bloc, ...
>>
>> Nvidia ION supports VDPAU so how come you aren't using it to decode video?!
>
> +1
> I've bought this one : http://www.ldlc.com/fiche/PB00089035.html
> works with vdpau, no block, HD images perfect even of Astra HD or Anixe HD
> (also French HD TNTSat )
> @+

I have this ION system:
http://www.newegg.com/Product/Product.aspx?Item=N82E16813500028

in this case:
http://www.mini-itx.com/store/?c=54

100% silent, love it!

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread dplu
Le Thursday 18 March 2010 21:51:57 VDR User, vous avez écrit :
> On Thu, Mar 18, 2010 at 1:24 PM, Eric Valette  wrote:
> > Not on a netop without hardware acceleration (atom + ion). Wideo skips,
> > has macro bloc, ...
>
> Nvidia ION supports VDPAU so how come you aren't using it to decode video?!

+1
I've bought this one : http://www.ldlc.com/fiche/PB00089035.html
works with vdpau, no block, HD images perfect even of Astra HD or Anixe HD 
(also French HD TNTSat )
@+


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread VDR User
On Thu, Mar 18, 2010 at 1:24 PM, Eric Valette  wrote:
> Not on a netop without hardware acceleration (atom + ion). Wideo skips, has
> macro bloc, ...

Nvidia ION supports VDPAU so how come you aren't using it to decode video?!

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread Eric Valette

On 18/03/2010 20:01, dplu wrote:

Le Thursday 18 March 2010 19:34:49 Eric Valette, vous avez écrit :

Memory was wrong: HD video skips because not hardware decoded and no
sound...

Should work on video (I have tested it)


Not on a netop without hardware acceleration (atom + ion). Wideo skips, 
has macro bloc, ...



For audio .. welcome in black hole ... old time of secam came back ;o))
I hope one day, this become a standard in Germany so more people can work on


smpalyer is a good a xine. Ok integration with vdr does not exist but as 
far as I'm concerned I do not care.


Thanks again for your help resolving the initial problem of eac3 decoding.

--eric



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread dplu
Le Thursday 18 March 2010 19:34:49 Eric Valette, vous avez écrit :
> Memory was wrong: HD video skips because not hardware decoded and no
> sound...
Should work on video (I have tested it)
For audio .. welcome in black hole ... old time of secam came back ;o))
I hope one day, this become a standard in Germany so more people can work on 
it 
@+



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread Eric Valette

On 18/03/2010 10:40, Eric Valette wrote:

On 03/18/2010 09:48 AM, d...@free.fr wrote:

Hi

Nice to hear it works , latest problem is xine who is not able to decode this
audio channels


Probably depends on Xine version since (if memory serves) I can see HD
TV directly via xine of readding channels.conf. Will retest tonight and
report.


Memory was wrong: HD video skips because not hardware decoded and no 
sound...





___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread Eric Valette

On 03/18/2010 09:48 AM, d...@free.fr wrote:

Hi

Nice to hear it works , latest problem is xine who is not able to decode this
audio channels
   
Probably depends on Xine version since (if memory serves) I can see HD 
TV directly via xine of readding channels.conf. Will retest tonight and 
report.

There were some enhancement made for Bluray sound, adding the new ID to the BR
patch let xine-lib show information on OSD but no sound decoded. ffmpeg knows
how to decode with e-ac3 spectral inversion (using ffplay)
   

You can use mplayer, vlc or xbmc to read the .ts files without problems.

-- eric


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-18 Thread dplu
Hi

Nice to hear it works , latest problem is xine who is not able to decode this
audio channels

There were some enhancement made for Bluray sound, adding the new ID to the BR
patch let xine-lib show information on OSD but no sound decoded. ffmpeg knows
how to decode with e-ac3 spectral inversion (using ffplay)

Maybe will comes one day ;o))

Have a nice day


Selon Eric Valette :

> On 15/03/2010 22:10, dplu wrote:
> > Hi
> >
> > There is a French forum who explain how to patch vdr to add support for
> e-ac3
> > audio track on pat.c and remux.c
> >
> > By default, the e-ac3 ID is not recognize by vdr ... this is why you have
> zero
> > when you should have two available tracks
> >
> > http://dvbkivabien2.info/viewtopic.php?f=30&t=13835
>
> It works like a charm and no need to update Channles.conf, its done
> automagically. Tested with vdr 7.14.
>
> Still wonder why such a one liner patch is not integrated though.
>
> Thanks a lot for you help.
>
> --eric
>
>
>
>
>
>



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-17 Thread Eric Valette



Still wonder why such a one liner patch is not integrated though.


That forum is in French and apparently requires registration.

Can you post that "one-liner" here?


I just translate the instruction, into english (could do german too ;-)) 
Could do a diff but for one trivial line no need for it.


Just add the following line in pat.c

case SI::AC3DescriptorTag:
+ case SI::EnhancedAC3DescriptorTag:
dpid = stream.getPid();



I think for streamdev the same patch is required in
livestreamer.c

case SI::AC3DescriptorTag:
+ case SI::EnhancedAC3DescriptorTag:
Dprintf("cStreamdevPatFilter PMT scanner: adding PID %d (%s) %s\n",

-- eric



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-17 Thread Klaus Schmidinger
On 17.03.2010 23:20, Eric Valette wrote:
> On 15/03/2010 22:10, dplu wrote:
>> Hi
>>
>> There is a French forum who explain how to patch vdr to add support
>> for e-ac3
>> audio track on pat.c and remux.c
>>
>> By default, the e-ac3 ID is not recognize by vdr ... this is why you
>> have zero
>> when you should have two available tracks
>>
>> http://dvbkivabien2.info/viewtopic.php?f=30&t=13835
> 
> It works like a charm and no need to update Channles.conf, its done
> automagically. Tested with vdr 7.14.
> 
> Still wonder why such a one liner patch is not integrated though.

That forum is in French and apparently requires registration.

Can you post that "one-liner" here?

Klaus

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-17 Thread Eric Valette

On 15/03/2010 22:10, dplu wrote:

Hi

There is a French forum who explain how to patch vdr to add support for e-ac3
audio track on pat.c and remux.c

By default, the e-ac3 ID is not recognize by vdr ... this is why you have zero
when you should have two available tracks

http://dvbkivabien2.info/viewtopic.php?f=30&t=13835


It works like a charm and no need to update Channles.conf, its done 
automagically. Tested with vdr 7.14.


Still wonder why such a one liner patch is not integrated though.

Thanks a lot for you help.

--eric






___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-16 Thread Eric Valette

On 03/15/2010 10:10 PM, dplu wrote:

Hi

There is a French forum who explain how to patch vdr to add support for e-ac3
audio track on pat.c and remux.c

By default, the e-ac3 ID is not recognize by vdr ... this is why you have zero
when you should have two available tracks

http://dvbkivabien2.info/viewtopic.php?f=30&t=13835
   

Thanks for the info. I will test that at home tonight and report.

-- eric

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Recording DVB-T HD infrance

2010-03-15 Thread dplu
Hi

There is a French forum who explain how to patch vdr to add support for e-ac3 
audio track on pat.c and remux.c

By default, the e-ac3 ID is not recognize by vdr ... this is why you have zero 
when you should have two available tracks

http://dvbkivabien2.info/viewtopic.php?f=30&t=13835

Best regards


Le Monday 15 March 2010 21:52:05 L. Hanisch, vous avez écrit :
> Hi,
>
> Am 15.03.2010 21:06, schrieb Eric Valette:
> > Hi list,
> >
> > I'm been fighting over Saturday to get vdr working on my netop (atom 330
> > + Ion) but I must admit I loose the battle. With debian vdr 1.6.0 SD TV
> > works fine but HD TV (TF1 HD, ARTE HD, FRANCE 2 HD, M6HD) channels
> > fails. Theses channels use mpeg4 for video + and eac3 (except ARTE HD)
> > for audio as described here
> >  in
> > french
> >
> > I installed then vdr 1.7.13, and then got only the video stream but
> > still no audio. As I had similar problem with mplayer/xine and it was
> > fixed but manually editing the channels.conf (unfortunately not the same
> > format as vdr), I think I have the same kind of problem but can find a
> > way to correctly fix channels.conf.
> >
> > below are extract the working mplayer channels.conf and the
> > channels.conf generated w_scan used for vdr. Plus the mplayer info when
> > correctly decoding and playing the stream.
> >
> > Please CC when replying as I'm not suscribed
> >
> > --- working mplayer/xine/vlc
> > TF1
> > HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRAN
> >SMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:110+120:110+130:1281
> >
> > France 2
> > HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRAN
> >SMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:210+220:210+230:1282
> >
> > M6HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TR
> >ANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:310+320:310+330:12
> >83
> >
> >
> > - w_scan generated vdr channels.conf
> >
> > TF1 HD;MR5:602000:B8M64:T:27500:120=27:0:0:0:1281:8442:5:0
>
>   Try:
> TF1 HD;MR5:602000:B8M64:T:27500:120=27:0;130:0:0:1281:8442:5:0
>
>   Since it's ac3, the digital audio PID have to be set. The "analog audio"
> PID has to be 0, hence "0;130".
>
> Lars.
>
> > France 2 HD;MR5:602000:B8M64:T:27500:220=27:0:0:0:1282:8442:5:0
> > M6HD;MR5:602000:B8M64:T:27500:320=27:0:0:0:1283:8442:5:0
> >
> > -- here info about the stream by maplyer 
> >
> > PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
> > PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
> > PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
> > PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
> >
> > PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
> > PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
> > PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
> > PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
> > VIDEO H264(pid=120) AUDIO A52(pid=130) NO SUBS (yet)! PROGRAM N. 1281
> > ID_VIDEO_ID=120
> > ID_AUDIO_ID=130
> > ID_AID_130_LANG=fra
> > PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
> > PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
> > PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
> > PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
> > PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
> > PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
> > PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
> > PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
> > PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
> > PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
> > PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
> > PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
> > FPS seems to be: 25.00
> > ID_FILENAME=dvb://TF1 HD
> > ID_DEMUXER=mpegts
> > ID_VIDEO_FORMAT=0x1005
> > ID_VIDEO_BITRATE=0
> > ID_VIDEO_WIDTH=1440
> > ID_VIDEO_HEIGHT=1088
> > ID_VIDEO_FPS=25.000
> > ID_VIDEO_ASPECT=0.
> > ID_AUDIO_FORMAT=8192
> > ID_AUDIO_BITRATE=0
> > ID_AUDIO_RATE=0
> > ID_AUDIO_NCH=0
> > ID_LENGTH=0.00
> > ID_SEEKABLE=0
> > ID_CHAPTERS=0
> > Couldn't open video filter 'ass'.
> > ASS: cannot add video filter
> > [ass] Init
> > [ass] Updating font cache
> > =
> >= Forced video codec: ffh264vdpau
> > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> > Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
> > =
> >= ID_VIDEO_CODEC=ffh264vdpau
> > =
> >= Forced audio codec: ffeac3
> > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> > AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
> > ID_AUDIO_BITRATE=256000
> > ID_AUDIO_RATE=48000
> > ID_AUDIO_NCH=2
> > Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
> > =
> >= AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
> > ID_AUDIO_CODEC=ffac3
> > [Mixer] No hardware

Re: [vdr] Recording DVB-T HD infrance

2010-03-15 Thread L. Hanisch

Hi,

Am 15.03.2010 21:06, schrieb Eric Valette:

Hi list,

I'm been fighting over Saturday to get vdr working on my netop (atom 330
+ Ion) but I must admit I loose the battle. With debian vdr 1.6.0 SD TV
works fine but HD TV (TF1 HD, ARTE HD, FRANCE 2 HD, M6HD) channels
fails. Theses channels use mpeg4 for video + and eac3 (except ARTE HD)
for audio as described here
 in french

I installed then vdr 1.7.13, and then got only the video stream but
still no audio. As I had similar problem with mplayer/xine and it was
fixed but manually editing the channels.conf (unfortunately not the same
format as vdr), I think I have the same kind of problem but can find a
way to correctly fix channels.conf.

below are extract the working mplayer channels.conf and the
channels.conf generated w_scan used for vdr. Plus the mplayer info when
correctly decoding and playing the stream.

Please CC when replying as I'm not suscribed

--- working mplayer/xine/vlc
TF1
HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:110+120:110+130:1281

France 2
HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:210+220:210+230:1282

M6HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:310+320:310+330:1283


- w_scan generated vdr channels.conf

TF1 HD;MR5:602000:B8M64:T:27500:120=27:0:0:0:1281:8442:5:0


 Try:
TF1 HD;MR5:602000:B8M64:T:27500:120=27:0;130:0:0:1281:8442:5:0

 Since it's ac3, the digital audio PID have to be set. The "analog audio" PID has to be 
0, hence "0;130".

Lars.


France 2 HD;MR5:602000:B8M64:T:27500:220=27:0:0:0:1282:8442:5:0
M6HD;MR5:602000:B8M64:T:27500:320=27:0:0:0:1283:8442:5:0

-- here info about the stream by maplyer 

PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)

PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
VIDEO H264(pid=120) AUDIO A52(pid=130) NO SUBS (yet)! PROGRAM N. 1281
ID_VIDEO_ID=120
ID_AUDIO_ID=130
ID_AID_130_LANG=fra
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
FPS seems to be: 25.00
ID_FILENAME=dvb://TF1 HD
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x1005
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1440
ID_VIDEO_HEIGHT=1088
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.00
ID_SEEKABLE=0
ID_CHAPTERS=0
Couldn't open video filter 'ass'.
ASS: cannot add video filter
[ass] Init
[ass] Updating font cache
==
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==
ID_VIDEO_CODEC=ffh264vdpau
==
Forced audio codec: ffeac3
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffac3
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [vdpau] 1440x1080 => 1920x1080 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Recording DVB-T HD infrance

2010-03-15 Thread Eric Valette

Hi list,

I'm been fighting over Saturday to get vdr working on my netop (atom 330
+ Ion) but I must admit I loose the battle. With debian vdr 1.6.0 SD TV
works fine but HD TV (TF1 HD, ARTE HD, FRANCE 2 HD, M6HD) channels
fails. Theses channels use mpeg4 for video + and eac3 (except ARTE HD)
for audio as described here
 in french

I installed then vdr 1.7.13, and then got only the video stream but
still no audio. As I had similar problem with mplayer/xine and it was
fixed but manually editing the channels.conf (unfortunately not the same
format as vdr), I think I have the same kind of problem but can find a
way to correctly fix channels.conf.

below are extract the working mplayer channels.conf and the 
channels.conf generated w_scan used for vdr. Plus the mplayer info when 
correctly decoding and playing the stream.


Please CC when replying as I'm not suscribed

   --- working mplayer/xine/vlc
TF1 
HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:110+120:110+130:1281
France 2 
HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:210+220:210+230:1282

M6HD:60200:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_AUTO:FEC_AUTO:QAM_64:TRANSMISSION_MODE_AUTO:GUARD_INTERVAL_AUTO:HIERARCHY_AUTO:310+320:310+330:1283

 - w_scan generated vdr channels.conf

TF1 HD;MR5:602000:B8M64:T:27500:120=27:0:0:0:1281:8442:5:0
France 2 HD;MR5:602000:B8M64:T:27500:220=27:0:0:0:1282:8442:5:0
M6HD;MR5:602000:B8M64:T:27500:320=27:0:0:0:1283:8442:5:0

-- here info about the stream by maplyer 

PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)

PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
VIDEO H264(pid=120) AUDIO A52(pid=130) NO SUBS (yet)!  PROGRAM N. 1281
ID_VIDEO_ID=120
ID_AUDIO_ID=130
ID_AID_130_LANG=fra
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
FPS seems to be: 25.00
ID_FILENAME=dvb://TF1 HD
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x1005
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1440
ID_VIDEO_HEIGHT=1088
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=0.00
ID_SEEKABLE=0
ID_CHAPTERS=0
Couldn't open video filter 'ass'.
ASS: cannot add video filter
[ass] Init
[ass] Updating font cache
==
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==
ID_VIDEO_CODEC=ffh264vdpau
==
Forced audio codec: ffeac3
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
ID_AUDIO_BITRATE=256000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffac3
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
PROGRAM_ID=0 (0x00), PMT_PID: 16(0x10)
PROGRAM_ID=1281 (0x501), PMT_PID: 110(0x6E)
PROGRAM_ID=1282 (0x502), PMT_PID: 210(0xD2)
PROGRAM_ID=1283 (0x503), PMT_PID: 310(0x136)
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [vdpau] 1440x1080 => 1920x1080 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.




___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr