[FFmpeg-devel] VCD misdetection as psxstr

tuitfun tuitfun
Sun Jun 29 23:16:48 CEST 2008


Hi,

ffmpeg incorrectly detects VCD's files as psxstr Sony Playstation STR format.
I've found that this problem is related to this patch: 
http://svn.mplayerhq.hu/ffmpeg/trunk/libavformat/mpeg.c?r1=11149&r2=11314 .
Though I dont think reverting it is the right fix.

These sample files are ads from retail VCD's. They should be in
upload.mplayerhq.hu/MPlayer/incoming/VCD_misdetection_as_psxstr .

$ ./ffmpeg.exe -i /d/test/VCD/AVSEQ03.DAT -target pal-vcd t.dat
FFmpeg version SVN-r13712, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --enable-avisynth --enable-libxvid --enable-libx264 --enable-libgsm --enable-libfaac --enable-libfaad --enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-pthreads --enable-swscale --enable-shared --disable-static --enable-gpl
  libavutil version: 49.7.0
  libavcodec version: 51.57.2
  libavformat version: 52.14.0
  libavdevice version: 52.0.0
  built on Jun  8 2008 21:18:36, gcc: 4.2.3
Input #0, psxstr, from 'd:/test/VCD/AVSEQ03.DAT':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Audio: adpcm_xa, 18900 Hz, stereo
Output #0, vcd, to 't.dat':
    Stream #0.0: Audio: mp2, 44100 Hz, stereo, 224 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=    2324kB time=13.32 bitrate=1429.0kbits/s    
video:0kB audio:364kB global headers:0kB muxing overhead 537.961762%

$ ./ffmpeg.exe -i /d/test/VCD/AVSEQ06.DAT -target pal-vcd t.dat
FFmpeg version SVN-r13712, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --enable-avisynth --enable-libxvid --enable-libx264 --enable-libgsm --enable-libfaac --enable-libfaad --enable-liba52 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-pthreads --enable-swscale --enable-shared --disable-static --enable-gpl
  libavutil version: 49.7.0
  libavcodec version: 51.57.2
  libavformat version: 52.14.0
  libavdevice version: 52.0.0
  built on Jun  8 2008 21:18:36, gcc: 4.2.3
Input #0, psxstr, from 'd:/test/VCD/AVSEQ06.DAT':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Audio: adpcm_xa, 18900 Hz, stereo
Output #0, vcd, to 't.dat':
    Stream #0.0: Audio: mp2, 44100 Hz, stereo, 224 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=    4362kB time=25.26 bitrate=1414.6kbits/s    
video:0kB audio:691kB global headers:0kB muxing overhead 531.526204%




      




More information about the ffmpeg-devel mailing list