[Ffmpeg-devel] Bugreport: Problem with Files from VDR

Marc Kalke info
Thu Jun 29 10:10:08 CEST 2006


M?ns Rullg?rd schrieb:
> Marc Kalke <info at Marc-kalke.de> writes:
> 
> 
>>M?ns Rullg?rd schrieb:
>>
>>>Marc Kalke <info at Marc-kalke.de> writes:
>>>
>>>>Georg H?llrigl schrieb:
>>
>>[...]
>>
>>>>>nova:/video/ # ffmpeg -i 001.vdr -f avi -vcodec xvid -b 800 -g 300
>>>>>-bf 2 -acodec mp3 -ab 128 --deinterlace 001.avi
>>>>>FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
>>>>>configuration: --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --enable-mp3lame -- enable-libogg --enable-vorbis --enable-theora --enable- faad --enable-faac --enable-xvid --enable-x264 -- enable-a52 --enable-pp --enable-gpl --enable-gprof --enable-amr_nb --enable-amr_wb
>>>>>libavutil version: 49.0.0
>>>>>libavcodec version: 51.9.0
>>>>>libavformat version: 50.4.0
>>>>>built on Jun 10 2006 01:41:44, gcc: 4.1.0 (SUSE Linux)
>>>>>001.vdr: Unknown format
>>>>>nova:/video/ # file 001.vdr
>>>>>001.vdr: MPEG sequence
>>>>>Also posted via Sourceforge.net as Bug 1508751!
>>>>>Also found some romours that this format works with 0.8.4 but can't
>>>>>find some old source to verify!
>>>>
>>>>Yes, the automatic detection of the vdr file format used to work
>>>>before. That stopped to work several months ago (too lazy to find
>>>>out when exactly). Try this to help ffmpeg to recognize the format:
>>>>
>>>>fmpeg -f mpeg -i 001.vdr <whateveryouwantodo>
>>>
>>>I'll fix this as soon as someone provides a sample.
>>>
>>
>>That would be great.
>>
>>I placed a sample of a file on ftp.mplayerhq.hu:/MPlayer/incoming/vdr
>>001trunc.vdr along with a readme.txt
>>
>>This sample contains one MP2 stream only, as it's a DVB-C radio recording.
>>This is typically what I do, and it shows the behaviour well.
> 
> 
> Fixed.
> 
> The file you uploaded is a PES stream, not a full program stream,
> which was causing the format detection to fail.
> 

Yes, vdr saves its DVB recordings as PES to that .vdr files.
(according to http://www.vdr-wiki.de/wiki/index.php/PES)

Hmm, that seemed fixes to fix it in the first place. As I tried more files (with 
Audio and Video Streams), I found that streams are silently missing.
(Note the warnings from mpeg2video, maybe this has something to do with it?)

ffmpeg used to detect the contents (two streams) correctly in former times:

brutus:/arkleha/video# ffmpeg -i 001.vdr
ffmpeg version 0.4.9-pre1, build 4736, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --enable-mp3lame
   built on Jan  4 2005 17:02:28, gcc: 3.3.3 (SuSE Linux)
Input #0, mpeg, from 
'/arkleha/video/Monds_chtig/2005-10-09.20.38.99.99.rec/001.vdr':
   Duration: 01:48:57.1, start: 64181.073044, bitrate: 2429 kb/s
   Stream #0.0: Video: mpeg2video, 720x576, 25.00 fps
   Stream #0.1: Audio: mp2, 48000 Hz, stereo, 192 kb/s
   Stream #0.2: Audio: mp2, 48000 Hz, stereo, 128 kb/s
Must supply at least one output file



Current version:

arkleha:/data/video# ffmpeg -i 001.vdr
FFmpeg version SVN-r5540, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:
   libavutil version: 49.0.0
   libavcodec version: 51.9.0
   libavformat version: 50.4.0
   built on Jun 29 2006 09:05:39, gcc: 3.3.3 (SuSE Linux)
[mpeg2video @ 0x83694e8]ac-tex damaged at 21 4
[mpeg2video @ 0x83694e8]Warning MVs not available
[mpeg2video @ 0x83694e8]concealing 1440 DC, 1440 AC, 1440 MV errors
Input #0, mpegvideo, from 
'/data/video/Monds?chtig/2005-10-09.20.38.99.99.rec/001.vdr':
   Duration: 00:17:38.9, start: 0.000000, bitrate: 14999 kb/s
   Stream #0.0: Video: mpeg2video, yuv420p, 720x576, 15000 kb/s, 25.00 fps(r)
Must supply at least one output file


But:

arkleha:/data/video# ffmpeg -f mpeg -i 001.vdr
FFmpeg version SVN-r5540, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:
   libavutil version: 49.0.0
   libavcodec version: 51.9.0
   libavformat version: 50.4.0
   built on Jun 29 2006 09:05:39, gcc: 3.3.3 (SuSE Linux)
Input #0, mpeg, from '/data/video/Monds?chtig/2005-10-09.20.38.99.99.rec/001.vdr':
   Duration: 01:48:57.1, start: 64181.073044, bitrate: 2429 kb/s
   Stream #0.0[0x1e4]: Video: mpeg2video, yuv420p, 720x576, 15000 kb/s, 25.00 fps(r)
   Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
   Stream #0.2[0x1c1]: Audio: mp2, 48000 Hz, stereo, 128 kb/s
Must supply at least one output file


Currently all is fine, if I give "-f mpeg".
This even works if i pipe the data to stdin via
cat 0*.vdr | ffmpeg -f mpeg -i -

So this is no big issue at all.


thanks


Marc






More information about the ffmpeg-devel mailing list