[MPlayer-dvb] DVB Playback Issues

Derek Ivey divey at versatile.com
Tue Dec 20 17:20:06 CET 2011


Hi Carl,

Ok, I deleted the codecs.conf file. I dumped the stream to a file, as you suggested. You can download the sample here: http://dl.dropbox.com/u/2058/stream.dump. The video seems to be messed up every time I try dumping the stream and there is also no audio each time. Any ideas why this is? 

I'm actually not sure if my screens accept AC3 input. I tried two different screens… an Elo 4200L (http://www.elotouch.com/products/ids/4200L/default.asp) and a Dynex DX-24E150A11. I did not find any mention of AC3 for either of them and the audio settings don't reveal any useful information. I tried adding "-ac -hwac3,-spdifac3," and noticed that it seemed to help a little bit, but I still occasionally run into the issue where I get lots of "a52: error at resampling errors" and "Error while decoding frame!". When it works with these -ac parameters, I also notice that the audio and video are out of sync by a few seconds.

Here is the rest of the output when this happens:

DISPLAY=:0 /usr/bin/mplayer -fs -vo vdpau -vc ffmpeg12vdpau -ao alsa:device=hdmi -afm ffmpeg -ac -hwac3,-spdifac3, -cache 10000 dvb://WGAL-DT
MPlayer SVN-r34447-snapshot-4.5.2 (C) 2000-2011 MPlayer Team

Playing dvb://WGAL-DT.
dvb_tune Freq: 423000000
Cache fill: 18.80% (1925120 bytes)   

TS file format detected.
VIDEO MPEG2(pid=2176) AUDIO A52(pid=2177) NO SUBS (yet)!  PROGRAM N. 2
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  38799.2 kbps (4849.9 kbyte/s)
==========================================================================
Forced video codec: ffmpeg12vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x8b68020]frame CRC mismatch
[ac3 @ 0x8b68020]get_buffer() failed
[ac3 @ 0x8b68020]frame sync error
[ac3 @ 0x8b68020]frame CRC mismatch
[ac3 @ 0x8b68020]get_buffer() failed
[ac3 @ 0x8b68020]frame sync error
[ac3 @ 0x8b68020]frame CRC mismatch
[ac3 @ 0x8b68020]get_buffer() failed
[ac3 @ 0x8b68020]frame sync error
Unknown/missing audio format -> no sound
ADecoder init failed :(
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AUDIO: 48000 Hz, 2 ch, floatle, 384.0 kbit/12.50% (ratio: 48000->384000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1920x1080 => 1920x1080 MPEG2 VDPAU acceleration  [fs]
[VD_FFMPEG] XVMC-accelerated MPEG-2.
A:89689.9 V:89690.6 A-V: -0.685 ct:  0.000   4/  4 ??% ??% ??,?% 0 0 19% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89690.6 A-V: -0.716 ct: -0.003   5/  5 ??% ??% ??,?% 0 0 11% 
a52: error at resampling
a52: error at resampling
A:89689.9 V:89690.7 A-V: -0.748 ct: -0.007   6/  6 ??% ??% ??,?% 1 0 10% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89690.7 A-V: -0.818 ct: -0.010   7/  7 ??% ??% ??,?% 2 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89690.8 A-V: -0.838 ct: -0.013   8/  8 ??% ??% ??,?% 3 0 0% 
a52: error at resampling
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
A:89689.9 V:89690.7 A-V: -0.771 ct: -0.017   9/  9 ??% ??% ??,?% 4 0 0% 
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
A:89689.9 V:89690.8 A-V: -0.903 ct: -0.020  10/ 10 ??% ??% ??,?% 5 0 0% 
a52: error at resampling
A:89689.9 V:89690.9 A-V: -0.966 ct: -0.023  11/ 11 ??% ??% ??,?% 6 0 0% 
a52: error at resampling
a52: error at resampling
A:89689.9 V:89690.9 A-V: -0.982 ct: -0.027  12/ 12 ??% ??% ??,?% 7 0 0% 
a52: error at resampling
A:89689.9 V:89690.9 A-V: -1.013 ct: -0.030  13/ 13 ??% ??% ??,?% 8 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.0 A-V: -1.047 ct: -0.033  14/ 14 ??% ??% ??,?% 9 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.0 A-V: -1.073 ct: -0.037  15/ 15 ??% ??% ??,?% 10 0 0% 
a52: error at resampling
A:89689.9 V:89691.0 A-V: -1.104 ct: -0.040  16/ 16 119%  3% 748.5% 11 0 0% 
a52: error at resampling
A:89689.9 V:89691.1 A-V: -1.143 ct: -0.043  17/ 17 111%  3% 713.1% 12 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.1 A-V: -1.174 ct: -0.047  18/ 18 105%  3% 852.0% 13 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.1 A-V: -1.222 ct: -0.050  19/ 19 99%  3% 975.5% 14 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.2 A-V: -1.248 ct: -0.053  20/ 20 94%  3% 1105.1% 15 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.2 A-V: -1.271 ct: -0.057  21/ 21 89%  2% 1087.8% 16 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.2 A-V: -1.307 ct: -0.060  22/ 22 85%  2% 1192.4% 17 0 0% 
a52: error at resampling
[mpegvideo_vdpau @ 0x8b68020]slice below image (80 >= 68)
Error while decoding frame!
A:89689.9 V:89691.3 A-V: -1.338 ct: -0.063  23/ 23 81%  2% 1158.9% 18 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.3 A-V: -1.370 ct: -0.067  24/ 24 77%  2% 1228.9% 19 0 0% 
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.3 A-V: -1.419 ct: -0.070  25/ 25 74%  2% 1194.2% 20 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.4 A-V: -1.451 ct: -0.073  26/ 26 71%  2% 1215.8% 21 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.4 A-V: -1.513 ct: -0.077  27/ 27 68%  2% 1241.5% 22 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.4 A-V: -1.471 ct: -0.080  28/ 28 66%  2% 1305.9% 23 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.5 A-V: -1.604 ct: -0.083  29/ 29 64%  2% 1389.7% 24 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.6 A-V: -1.638 ct: -0.087  30/ 30 61%  2% 1378.4% 25 0 0% 
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.6 A-V: -1.711 ct: -0.090  31/ 31 59%  2% 1351.7% 26 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.7 A-V: -1.737 ct: -0.093  32/ 32 57%  2% 1375.9% 27 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.6 A-V: -1.669 ct: -0.097  33/ 33 56%  1% 1359.5% 28 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.7 A-V: -1.829 ct: -0.100  34/ 34 54%  1% 1417.0% 29 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.8 A-V: -1.875 ct: -0.103  35/ 35 52%  1% 1437.9% 30 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.9 A-V: -1.940 ct: -0.107  36/ 36 51%  1% 1500.3% 31 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.9 A-V: -1.982 ct: -0.110  37/ 37 49%  1% 1592.2% 32 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89691.9 A-V: -2.005 ct: -0.113  38/ 38 48%  1% 1665.0% 33 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
A:89689.9 V:89692.0 A-V: -2.047 ct: -0.117  39/ 39 47%  1% 1659.6% 34 0 0% 
a52: error at resampling
a52: error at resampling
A:89689.9 V:89692.0 A-V: -2.073 ct: -0.120  40/ 40 46%  1% 1628.9% 35 0 0% 
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling
a52: error at resampling

Too many video packets in the buffer: (558 in 33611640 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
a52: error at resampling
A:89689.9 V:89693.1 A-V: -3.169 ct: -0.214  68/ 68 27%  1% 993.6% 35 0 14% 
[mpegvideo_vdpau @ 0x8b68020]slice below image (143 >= 68)
Error while decoding frame!
A:89689.9 V:89694.6 A-V: -4.700 ct: -0.347 108/108 20%  5% 622.2% 35 0 33% 
[mpegvideo_vdpau @ 0x8b68020]slice below image (173 >= 68)
Error while decoding frame!
A:89689.9 V:89696.5 A-V: -6.536 ct: -0.480 148/148 17%  6% 452.9% 35 0 49% 
[mpegvideo_vdpau @ 0x8b68020]slice below image (141 >= 68)
Error while decoding frame!
A:89689.9 V:89696.7 A-V: -6.810 ct: -0.501 154/154 16%  6% 435.1% 35 0 49% 
[mpegvideo_vdpau @ 0x8b68020]slice below image (165 >= 68)
Error while decoding frame!
A:89689.9 V:89703.6 A-V:-13.677 ct: -1.071 325/325 12% 10% 205.5% 35 0 49% 
[mpegvideo_vdpau @ 0x8b68020]slice below image (78 >= 68)
Error while decoding frame!
A:89689.9 V:89703.8 A-V:-13.911 ct: -1.091 331/331 12% 10% 201.7% 35 0 49% 
[mpegvideo_vdpau @ 0x8b68020]slice below image (84 >= 68)
Error while decoding frame!
A:89689.9 V:89706.3 A-V:-16.349 ct: -1.298 393/393 12%  9% 169.8% 35 0 49% 

Thanks,
Derek

On Dec 20, 2011, at 7:56 AM, Carl-Eugen Hoyos wrote:

> Hi!
> 
> On Mon, 19 Dec 2011, Derek Ivey wrote:
> 
>> Thanks for taking the time to write that very thorough response. I tried your suggestions and I'm still having issues. I compiled liba52 and recompiled mplayer. I also noticed that I was missing my /etc/mplayer/codecs.conf file, so I copied it from the source.
> 
> Whereever you put codecs.conf, please remove it, it can only hurt.
> 
> Concerning your audio problems:
> If you use "mplayer dvb://WGAL-DT -dumpstream", is your audio problem reproducible with the resulting file stream.dump?
> If yes, please provide such a sample.
> 
>> Here are some of the commands I ran and their output.
>> 
>> No Sound:
>> root at slackware:~# DISPLAY=:0 /usr/bin/mplayer -fs -vo vdpau -vc ffmpeg12vdpau -ao alsa:device=hdmi -afm ffmpeg -ac -hwac3 dvb://WGAL-DT
> 
> Do I understand correctly that your screen (or whatever is connected to "hdmi") does not accept ac3 input?
> If yes, this should be:
> -ac -hwac3,-spdifac3,
> (Note the "," at the end)
> And you should put this in ~/.mplayer/config as "ac=-hwac2,-spdifac3,"
> 
> Note that you must not use "menu=yes" from Bill's suggestions together with -vc ffmpeg12vdpau, VDPAU does not like the menu!
> 
> And of course: Please try -cache 10000 or pause&release or seek-back to fix the issues. I often need one of those three for HD channels.
> 
> Carl Eugen
> _______________________________________________
> MPlayer-dvb mailing list
> MPlayer-dvb at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dvb



More information about the MPlayer-dvb mailing list