[MPlayer-advusers] mencoder reads wrong frame rate flag fromQuicktime files

compn tempn at twmi.rr.com
Mon Jul 26 16:43:55 CEST 2010


>On Mon, 26 Jul 2010 09:28:59 +0100, Dominic Bird wrote:
>>On Fri, 23 Jul 2010 21:33:44 +0200, Reimar Döffinger wrote:
>>
>> I can't test it because the decoder does not work at all for me on
>> Linux (though it might just be that the qthtml.dll etc. files from the
>> codec pack are too old for that codec), but here's a patch that builds
>> a similar imagedesc with -demuxer lavf.
>> MPlayer will print a hexdump of that data, the differences between the
>> one with -demuxer mov and -demuxer lavf should be trivial to see, if it
>> does not work it's just a matter of finding out which other fields need
>> to be filled in.
>> I'd assume at least the "vendor" is necessary in addition.
>>
>Thanks for the help. Unfortunately I am not a developer so I was hoping it might be taken on as a bug request and fixed. Ive posted it in the mplayer/mencoder bug tracker but looks like nothing has been touched there for a long time...

reimar committed this, so its being worked on. there are still some bugs.

current status on win2k with -demuxer lavf (demuxer mov working unless noted)

qtsvq1 crashes in decode_video (i'm guessing inside of the dll).

-8961 is 'noCodecErr', a very helpful error message.

qtsvq3 DecompressSequenceFrameS result=0x-8961
qt3ivx DecompressSequenceBegin result=-8961 (after adding 3iv1 to isom.c)
qth263 working, aside from image too small inside mov bug.
qt261  working, aside from image too small inside mov bug.
qtactl working
qtavui DecompressSequenceBegin result=-8961
qtrlerpza DecompressSequenceBegin result=-8961 (frozen video in r30521 with demux mov)
qtvp3 working
qtzygo working
qtbhiv no sample
qtcvid DecompressSequenceFrameS result=0x-8961
qtindeo working
qtmjpeg DecompressSequenceFrameS result=0x-8961
qtmpeg4 DecompressSequenceBegin result=-8961 (fails in rc1/svn with demux mov too)
qtcine decoded picture is incorrect , samples/V-codecs/v210/coff3.mov
qtaic dont have mac box to test atm
qtprores DecompressSequenceFrameS result=0x-8961 (with demuxer mov too)
--now i dont remember how i got prores to work before.

qdmc audio seems to crash using binary codec with lavf.


i have one svq1 file which is broken in r31372 and svn with -demuxer
mov and -vc qtsvq1. it works in 30521. uploaded to samples/V-codecs/SVQ1.
the imagedescription is different, i wonder if thats the cause?


not working, green w/static:

F:\mplayer-test>mplayer MystxSVQD12.mov -demuxer mov -vfm qtvideo
MPlayer Sherpya-SVN-r31372-4.2.5 (C) 2000-2010 MPlayer Team
154 audio & 345 video codecs
Fontconfig error: Cannot load default config file

Playing MystxSVQD12.mov.
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
VIDEO:  [SVQ1]  240x180  24bpp  12.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 copyright: Copyright ⌐ 1997
Opening video filter: [scale]
Opening video filter: [eq]
==========================================================================
Trying to force video codec driver family qtvideo...
Opening video decoder: [qtvideo] Quicktime Video decoder
 56 00 00 00 53 56 51 31 00 00 00 00 00 00 00 00
 01 00 01 00 73 69 56 53 FF 03 00 00 00 02 00 00
 F0 00 B4 00 00 00 48 00 00 00 48 00 00 00 00 00
 01 00 0E 53 6F 72 65 6E 73 6F 6E 20 56 69 64 65
 6F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 18 00 FF FF
=============== ImageDescription at 0356f128 ==================
idSize=0x56  fourcc=0x31515653
ver=1 rev=1 vendor=0x53566973
tempQ=1023 spatQ=512  dim: 240 x 180  dpi: 72.00 x 72.00  depth: 24
dataSize=0 frameCount=1 clutID=-1
name='Sorenson Video'
=========================================================
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 02444010]using unscaled yuv410p -> yuv410p special converter
VO: [directx] 240x180 => 240x180 Planar YVU9
Selected video codec: [qtsvq1] vfm: qtvideo (Win32/QuickTime SVQ1)
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
AUDIO: 11025 Hz, 1 ch, s16le, 23.9 kbit/13.57% (ratio: 2993->22050)
Selected audio codec: [qdmc] afm: qtaudio (QuickTime QDMC/QDM2 audio)
==========================================================================
AO: [dsound] 11025Hz 1ch s16le (2 bytes per sample)
Starting playback...
Fontconfig failed to select a font. Trying without fontconfig...
Fontconfig failed to select a font. Trying without fontconfig...
A:   0.5 V:   0.5 A-V:  0.002 ct:  0.000   7/  7 ??% ??% ??,?% 0 0
Exiting... (Quit)


working:

F:\mplayer-test>mplayera MystxSVQD12.mov -demuxer mov -vfm qtvideo
MPlayer Sherpya-SVN-r30521 (C) 2000-2010 MPlayer Team
154 audio & 345 video codecs
Fontconfig error: Cannot load default config file

Playing MystxSVQD12.mov.
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
VIDEO:  [SVQ1]  240x180  24bpp  12.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 copyright: Copyright ⌐ 1997
dvdsublang...mystxsvqd12 en,eng,
dvdsublang...mystxsvqd12 en,eng,
dvdsublang...mystxsvqd12 en,eng,
dvdsublang...mystxsvqd12 en,eng,
dvdsublang...mystxsvqd12 en,eng,
dvdsublang...mystxsvqd12 en,eng,
Opening video filter: [scale]
Opening video filter: [eq]
==========================================================================
Trying to force video codec driver family qtvideo...
Opening video decoder: [qtvideo] Quicktime Video decoder
 56 00 00 00 53 56 51 31 00 00 00 00 00 00 00 00
 01 00 01 00 73 69 56 53 FF 03 00 00 00 02 00 00
 F0 00 B4 00 00 00 48 00 00 00 48 00 00 00 00 00
 01 00 0E 53 6F 72 65 6E 73 6F 6E 20 56 69 64 65
 6F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 18 00 FF FF
=============== ImageDescription at 0270F128 ==================
idSize=0x56  fourcc=0x31515653
ver=1 rev=1 vendor=0x53566973
tempQ=1023 spatQ=512  dim: 240 x 180  dpi: 4718592 x 4718592  depth: 24
dataSize=0 frameCount=1 clutID=-1
name='Sorenson Video'
=========================================================
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 021e2010]using unscaled yuv410p -> yuv410p special converter
VO: [directx] 240x180 => 240x180 Planar YVU9
Selected video codec: [qtsvq1] vfm: qtvideo (Win32/QuickTime SVQ1)
==========================================================================
==========================================================================
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
AUDIO: 11025 Hz, 1 ch, s16le, 23.9 kbit/13.57% (ratio: 2993->22050)
Selected audio codec: [qdmc] afm: qtaudio (QuickTime QDMC/QDM2 audio)
==========================================================================
AO: [dsound] 11025Hz 1ch s16le (2 bytes per sample)
Starting playback...
Fontconfig failed to select a font. Trying without fontconfig...
Fontconfig failed to select a font. Trying without fontconfig...
A:   0.8 V:   0.8 A-V:  0.002 ct:  0.001  11/ 11  1%  6%  1.3% 0 0
Exiting... (Quit)

-compn


More information about the MPlayer-advusers mailing list