[Ffmpeg-devel] DV PAL and DV PAL-DVCPRO seems broken

herve.flores herve.flores
Sat Aug 19 14:30:08 CEST 2006


Le 19 ao?t 06 ? 02:16, Dan Maas a ?crit :

>> ffmpeg -i /Volumes/Video_5H/_export-QT_export/travelling-PAL- 
>> DVCPRO.dv
>> FFmpeg version SVN-r5751, Copyright (c) 2000-2004 Fabrice Bellard
>>   configuration:  --enable-pp --enable-gpl --enable-pthreads --
>> enable-static --disable-shared --enable-a52 --enable-amr_nb --enable-
>> amr_wb --enable-amr_if2 --enable-x264 --enable-xvid --enable-mp3lame
>> --enable-libogg --enable-libgsm --enable-dts --enable-faac
>>   libavutil version: 49.0.0
>>   libavcodec version: 51.10.0
>>   libavformat version: 50.5.0
>>   built on Jul 14 2006 23:47:36, gcc: 4.0.1 (Apple Computer, Inc.
>> build 5341)
>> Input #0, mpeg, from '/Volumes/Video_5H/_export-QT_export/travelling-
>> PAL-DVCPRO.dv':
>>   Duration: N/A, start: 10379.325956, bitrate: N/A
>>   Stream #0.0[0x1cb]: Audio: mp2, 224 kb/s
>>   Stream #0.1[0x1dc]: Audio: mp2, 288 kb/s
>>   Stream #0.2[0x1de]: Audio: mp2, 288 kb/s
>>   Stream #0.3[0x1c8]: Audio: mp2, 288 kb/s
>>   Stream #0.4[0x1c6]: Audio: mp2, 288 kb/s
>>   Stream #0.5[0x1c5]: Audio: mp2, 96 kb/s
>>   Stream #0.6[0x1e6]: Video: mpeg1video, 2747x2995, 27683 kb/s,   
>> 15.00 fps(r)
>>   Stream #0.7[0x1ee]: Video: mpeg2video,   inf fps(c)
>>   Stream #0.8[0x1cd]: Audio: mp2, 288 kb/s
>>   Stream #0.9[0x1db]: Audio: mp2, 288 kb/s
>>   Stream #0.10[0x1c2]: Audio: mp2, 48 kb/s
>>   Stream #0.11[0x1df]: Audio: mp2, 288 kb/s
>>   Stream #0.12[0x1e2]: Video: mpeg2video,   inf fps(c)
>>   Stream #0.13[0x1ea]: Video: mpeg1video, 2811x3799, 93178 kb/s,    
>> 5.00 fps(r)
>>   Stream #0.14[0x1d6]: Audio: mp2, 288 kb/s
>>   Stream #0.15[0x1c0]: Audio: mp2, 288 kb/s
>>   Stream #0.16[0x1dd]: Audio: mp2, 160 kb/s
>>   Stream #0.17[0x1d9]: Audio: mp2, 288 kb/s
>>   Stream #0.18[0x1e3]: Video: mpeg2video,   inf fps(c)
>>   Stream #0.19[0x1cc]: Audio: mp2, 160 kb/s
>> Must supply at least one output file
>>
>> the same command (ffmpeg -i) with a very old build on my hard disk
>> was OK (:
>>
>> /Users/herve/bin/ffmpeg_folder/ffmpeg -i /Volumes/Video_5H/_export-
>> QT_export/travelling-PAL-DVCPRO.dv
>> ffmpeg version CVS, build 3211265, Copyright (c) 2000-2004 Fabrice
>> Bellard
>>   configuration:  --enable-mp3lame --enable-libogg --enable-theora --
>> enable-vorbis --enable-a52 --enable-gpl --enable-faad --enable- 
>> faac --
>> enable-pthreads --disable-vhook --disable-ffserver --enable-ffplay --
>> enable-amr_nb --enable-amr_wb --enable-dts
>>   built on Aug 15 2005 15:09:26, gcc: 4.0.0 (Apple Computer, Inc.
>> build 5026)
>> Input #0, dv, from '/Volumes/Video_5H/_export-QT_export/travelling-
>> PAL-DVCPRO.dv':
>>   Duration: 00:00:27.0, start: 0.000000, bitrate: 28800 kb/s
>>   Stream #0.0: Video: dvvideo, yuv411p, 720x576, 25.00 fps, 25000  
>> kb/s
>>   Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
>> Must supply at least one output file
>>
>> thanks
>> ggod continuation
>>
>> PS: there are simple DVfiles, if you want I can UP these files
>> somewhere (but I'm not sure of the interest ;-))
>>
>> bye
>>
>> Herv?_______________________________________________
>>
>>
> I've seen this before... It looks like the DV avformat is erroneously
> not being recognized. As a work-around, try adding "-f dv" to the
> command line.
>
> If you'd like to upload a test file, just one frame should be
> sufficient (144000 bytes for DV/DVCPRO, 288000 bytes for DVCPRO50).
>
> Regards,
> Dan

right :-), if I force input format with DV PAL and DVPro PAL, then  
ffmpeg recgnize the file:

ffmpeg -f dv -i /Volumes/Video_5H/_export-QT_export/travelling-PAL- 
DVCPRO.dv
FFmpeg version SVN-r6022, Copyright (c) 2000-2004 Fabrice Bellard
   configuration:  --enable-pp --enable-gpl --enable-pthreads -- 
enable-static --disable-shared --enable-a52 --enable-amr_nb --enable- 
amr_wb --enable-amr_if2 --enable-x264 --enable-xvid --enable-mp3lame  
--enable-libogg --enable-libgsm --enable-dts --enable-faac --enable- 
faad --enable-vorbis
   libavutil version: 49.0.0
   libavcodec version: 51.11.0
   libavformat version: 50.5.0
   built on Aug 18 2006 19:23:31, gcc: 4.0.1 (Apple Computer, Inc.  
build 5363)
Input #0, dv, from '/Volumes/Video_5H/_export-QT_export/travelling- 
PAL-DVCPRO.dv':
   Duration: 00:00:27.0, start: 0.000000, bitrate: 28800 kb/s
   Stream #0.0: Video: dvvideo, yuv411p, 720x576, 28800 kb/s, 25.00  
fps(r)
   Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Must supply at least one output file

ffmpeg -f dv -i /Volumes/Video_5H/_export-QT_export/travelling-PAL.dv
[...]
Input #0, dv, from '/Volumes/Video_5H/_export-QT_export/travelling- 
PAL.dv':
   Duration: 00:00:27.0, start: 0.000000, bitrate: 28800 kb/s
   Stream #0.0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, 25.00  
fps(r)
   Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Must supply at least one output file


but it seems strange that ffmpeg recognize directly DV PAL-DVCPRO50,  
DV NTSC, DV NTSC-DVCPRO, DV NTSC-DVCPRO50
and not DV PAL and DV PAL-DVCPro

there're samples (2 frames) of DV PAL and DV PAL-DVCPro (and a DV PAL- 
DVCPRO50 that works great just for info)
http://herve.flores.online.fr/_PRIVATE/ffmpeg/PAL.dv (300Ko)
http://herve.flores.online.fr/_PRIVATE/ffmpeg/PAL-DVCPRO.dv (300Ko)
http://herve.flores.online.fr/_PRIVATE/ffmpeg/PAL-DVCPRO50.dv (600Ko,  
no pb with this file)

PS: ffplay has not exactly the same verbose (it talks about could not  
find correct parameters) for the 2 DV files
the commun verbose for the 2 files is : "[mpeg @ 0x55a658]Could not  
find codec parameters"
and ends with : "could not find codec parameters"

ex:
  ffplay /Users/herve/Desktop/PAL.dv
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 224 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 224 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 56 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 288 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 112 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
[mpeg @ 0x55a658]Could not find codec parameters (Audio: mp2, 224 kb/s)
[mpeg @ 0x55a658]Could not find codec parameters (Video: mpeg2video)
/Users/herve/Desktop/PAL.dv: could not find codec parameters


bye


Herv?



More information about the ffmpeg-devel mailing list