[Ffmpeg-devel] Re: ffmpeg cvs version can not recognize dvd .vob with dts audio codec.

Bo Xie xiebopublic
Mon May 2 16:56:21 CEST 2005


Hi,
   I posted the following email 2 weeks ago in ffmpeg-users ML but no
respondence. Is there any one who knows any info about ffmpeg decoding
dvd .vob with dts audio? I know there is patent infringe problem for
dts. But mplayer can call ffmpeg libavcodec to do dts decoder, why
ffmpeg libavformat can not recognize dvd .vob with dts audio?

I'm very very sorry if the cross-post troubles you. Any respondence is
appreciated and welcome!

Best Regards,
Xie Bo

On 4/16/05, Bo Xie <xiebopublic at gmail.com> wrote:
> Hi,
> 
>   I've downloaded FFMpeg-20050416 and "./configure
> --enable-memalign-hack --enable-dts --enable-gpl",but it can not
> recognize my dvd .vob with dts 5.1. The following is log:
> ---------
> $ ffmpeg -i e:\VTS_01_1.VOB
> ffmpeg version 0.4.9-pre1, build 4752, Copyright (c) 2000-2004 Fabrice Bellard
>  configuration:  --enable-memalign-hack --enable-dts --enable-gpl
>  built on Apr 16 2005 19:34:18, gcc: 3.2.3 (mingw special 20030504-1)
> Input #0, mpeg, from 'e:VTS_01_1.VOB':
>  Duration: 00:40:51.4, start: 0.280633, bitrate: 3503 kb/s
>  Stream #0.0: Video: mpeg2video, 720x480, 29.97 fps, 9800 kb/s
>  Stream #0.1: Audio: 0x0000
>  Stream #0.2: Audio: 0x0000
> Must supply at least one output file
> ---------
>   But mplayer can recognize it and play it well, and the following is
> mplayer log:
> ---------
> c:\mplayer e:\VTS_01_1.VOB -ao null -vo null -frames 0 -v 2
> MPlayer dev-CVS-050410-07:55-3.4.2 (C) 2000-2005 MPlayer Team
> CPU: Intel  (Family: 6, Stepping: 6)
> Detected cache-line size is 64 bytes
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
> 
> CommandLine: 'e:\VTS_01_1.VOB' '-ao' 'null' '-vo' 'null' '-frames' '0' '-v' '2'
> init_freetype
> get_path('font/font.desc') -> 'C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/fo
> nt/font.desc'
> font: can't open file: C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/font/font.
> desc
> font: can't open file: /usr/share/mplayer/font/font.desc
> Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
> Using Windows native timing
> get_path('input.conf') -> 'C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/input.
> conf'
> Parsing input config file C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/input.c
> onf
> Input config file C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/input.conf pars
> ed: 42 binds
> get_path('e:\VTS_01_1.VOB.conf') -> 'C:/Downloads/2/mplayer-p4-cvs-20050410/mpla
> yer/e:\VTS_01_1.VOB.conf'
> Playing e:\VTS_01_1.VOB.
> WINSOCK2 init: 0
> [file] File size is 1073666048 bytes
> STREAM: [file] e:\VTS_01_1.VOB
> STREAM: Description: File
> STREAM: Author: Albeu
> STREAM: Comment: based on the code from ??? (probably Arpi)
> Checking for YUV4MPEG2
> ASF_check: not ASF guid!
> Checking for Nullsoft Streaming Video
> Checking for NuppelVideo
> Checking for REAL
> Checking for SMJPEG
> Searching demuxer type for filename e:\VTS_01_1.VOB ext: .VOB
> Trying demuxer 2 based on filename extension
> system stream synced at 0xD (0)!
> ==> Found video stream: 0
> ==> Found audio stream: 137
> ==> Found audio stream: 128
> MPEG Stream reached EOF
> ds_fill_buffer: EOF reached (stream: video)
> MPEG-PS file format detected.
> Searching for sequence header... OK!
> VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
> [V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
> get_path('sub/') -> 'C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/sub/'
> get_path('default.sub') -> 'C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/defau
> lt.sub'
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.
> FFmpeg's libavcodec audio codec
> INFO: libavcodec init OK!
> Stream with high frequencies VQ coding
> AUDIO: 48000 Hz, 2 ch, s16le, 768.0 kbit/50.00% (ratio: 96000->192000)
> Selected audio codec: [ffdts] afm:ffmpeg (DTS)
> ==========================================================================
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
> Trying filter chain: vo
> VDec: using Mpeg PES as output csp (no 0)
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO Config (720x480->854x480,flags=0,'MPlayer',0x4D504553)
> VO: [null] 720x480 => 854x480 Mpeg PES
> VO: Description: Null video output
> VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
> Selected video codec: [mpegpes] vfm:mpegpes (MPEG-PES output (.mpg or DXR3/DVB c
> ard))
> ==========================================================================
> Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> [libaf] Adding filter dummy
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> AF_pre: 48000Hz/2ch/s16le
> AO: [null] 48000Hz 2ch s16le (2 bps)
> AO: Description: Null audio output
> AO: Author: Tobias Diedrich
> Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> [dummy] Was reinitialized: 48000Hz/2ch/s16le
> Starting playback...
> 
> Uninit audio filters...
> [libaf] Removing filter dummy
> uninit audio: ffmpeg
> uninit video: mpegpes
> WINSOCK2 uninit
> get_path('2.conf') -> 'C:/Downloads/2/mplayer-p4-cvs-20050410/mplayer/2.conf'
> Playing 2.
> WINSOCK2 init: 0
> File not found: '2'
> Failed to open 2
> 
> Exiting... (End of file)
> 
> C:\Downloads\2\mplayer-p4-cvs-20050410>
> --------
> 
>   Is it a ffmpeg bug? And how to let ffmpeg recognize it?
> 
> Best Regards,
> Xie Bo
>





More information about the ffmpeg-devel mailing list