bernd_b
11th July 2011, 21:01
So I try my luck here and ask with caution:
what do I get wrong here:
My videofile is reported to have 6 channels audio using vlc, mediainfo or, e.g. ffplay:
ffplay Ein_guter_Sommer.ts
ffplay version 0.8, Copyright (c) 2003-2011 the FFmpeg developers
built on Jun 27 2011 21:44:24 with gcc 4.5.2
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-
gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-
postproc --enable-avfilter --disable-stripping --disable-debug
--disable-doc --disable-vaapi --enable-libmp3lame --enable-libvo-
aacenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-
libxvid --enable-libfaac --enable-nonfree --disable-indev=oss --disable-
indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype
--enable-pthreads --disable-altivec --disable-avx --cpu=athlon64
--enable-hardcoded-tables
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 0x234c290] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
Last message repeated 1 times
[h264 @ 0x234c290] mmco: unref short failure
[mpegts @ 0x2316250] max_analyze_duration 5000000 reached at 5024000
Input #0, mpegts, from 'Ein_guter_Sommer.ts':
Duration: 01:29:16.99, start: 1.400000, bitrate: 9830 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0.0[0x100]: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0.1[0x101](deu): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
[h264 @ 0x234c290] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
Last message repeated 1 times
Using mplayer (even mplayer2/ the portage version or an recent svn-build), I only get 2 channels reported, e.g.:
mplayer -channels 6 -demuxer lavf Ein_guter_Sommer.ts
MPlayer SVN-r33094-4.5.2 (C) 2000-2011 MPlayer Team
Playing Ein_guter_Sommer.ts.
libavformat file format detected.
[h264 @ 0x22222e0] number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x22222e0] number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x22222e0] mmco: unref short failure
[mpegts @ 0x2231bd0] max_analyze_duration reached
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang deu
LAVF: Program 1
VIDEO: [H264] 1280x720 0bpp 50.000 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
A: 1.5 V: 3.4 A-V: -1.846 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
[h264 @ 0xaa5ee0]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0xaa5ee0]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0xaa5ee0]mmco: unref short failure
A: 1.6 V: 3.4 A-V: -1.799 ct: -0.002 0/ 0 ??% ??% ??,?% 3 0
[h264 @ 0xaa5ee0]number of reference frames exceeds max (probably corrupt input), discarding one
A: 6.1 V: 7.6 A-V: -1.482 ct: -0.402 0/ 0 39% 6% 1.5% 10 0
Do I misunderstand something? Or just bad luck with a bad TV recording here? Any ideas are very welcome!
what do I get wrong here:
My videofile is reported to have 6 channels audio using vlc, mediainfo or, e.g. ffplay:
ffplay Ein_guter_Sommer.ts
ffplay version 0.8, Copyright (c) 2003-2011 the FFmpeg developers
built on Jun 27 2011 21:44:24 with gcc 4.5.2
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-
gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-
postproc --enable-avfilter --disable-stripping --disable-debug
--disable-doc --disable-vaapi --enable-libmp3lame --enable-libvo-
aacenc --enable-libtheora --enable-libvorbis --enable-libx264 --enable-
libxvid --enable-libfaac --enable-nonfree --disable-indev=oss --disable-
indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype
--enable-pthreads --disable-altivec --disable-avx --cpu=athlon64
--enable-hardcoded-tables
libavutil 51. 9. 1 / 51. 9. 1
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 23. 0 / 2. 23. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[h264 @ 0x234c290] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
Last message repeated 1 times
[h264 @ 0x234c290] mmco: unref short failure
[mpegts @ 0x2316250] max_analyze_duration 5000000 reached at 5024000
Input #0, mpegts, from 'Ein_guter_Sommer.ts':
Duration: 01:29:16.99, start: 1.400000, bitrate: 9830 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0.0[0x100]: Video: h264 (High), yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0.1[0x101](deu): Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
[h264 @ 0x234c290] number of reference frames (0+6) exceeds max (5; probably corrupt input), discarding one
Last message repeated 1 times
Using mplayer (even mplayer2/ the portage version or an recent svn-build), I only get 2 channels reported, e.g.:
mplayer -channels 6 -demuxer lavf Ein_guter_Sommer.ts
MPlayer SVN-r33094-4.5.2 (C) 2000-2011 MPlayer Team
Playing Ein_guter_Sommer.ts.
libavformat file format detected.
[h264 @ 0x22222e0] number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x22222e0] number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0x22222e0] mmco: unref short failure
[mpegts @ 0x2231bd0] max_analyze_duration reached
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (ac3), -aid 0, -alang deu
LAVF: Program 1
VIDEO: [H264] 1280x720 0bpp 50.000 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
A: 1.5 V: 3.4 A-V: -1.846 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0
[h264 @ 0xaa5ee0]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0xaa5ee0]number of reference frames exceeds max (probably corrupt input), discarding one
[h264 @ 0xaa5ee0]mmco: unref short failure
A: 1.6 V: 3.4 A-V: -1.799 ct: -0.002 0/ 0 ??% ??% ??,?% 3 0
[h264 @ 0xaa5ee0]number of reference frames exceeds max (probably corrupt input), discarding one
A: 6.1 V: 7.6 A-V: -1.482 ct: -0.402 0/ 0 39% 6% 1.5% 10 0
Do I misunderstand something? Or just bad luck with a bad TV recording here? Any ideas are very welcome!