[PATCH]Play svq3 in X-QT over rtsp
Hi! Attached patch allows video playback for following stream (SVQ3 in X-QT): rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov Carl Eugen
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
Attached patch allows video playback for following stream (SVQ3 in X-QT): rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov
I forgot: mplayer crashes when above link is played without my patch: Possibly, SVQ3 decoder doesn't check if necessary extradata is available or not? Carl Eugen
Hi On Wed, Jan 24, 2007 at 12:12:25AM +0000, Carl Eugen Hoyos wrote:
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
Attached patch allows video playback for following stream (SVQ3 in X-QT): rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov
I forgot: mplayer crashes when above link is played without my patch: Possibly, SVQ3 decoder doesn't check if necessary extradata is available or not?
fixed the extradata crash (but untested) [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus
On Wed, Jan 24, 2007 at 12:52:03AM +0100, Carl Eugen Hoyos wrote:
Attached patch allows video playback for following stream (SVQ3 in X-QT): rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov
Is this patch still necessary after the round of fixes to FFmpeg? Diego
Diego Biurrun <diego <at> biurrun.de> writes:
On Wed, Jan 24, 2007 at 12:52:03AM +0100, Carl Eugen Hoyos wrote:
Attached patch allows video playback for following stream (SVQ3 in X-QT): rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov
Is this patch still necessary after the round of fixes to FFmpeg?
My original patch did three things: 1) Write picturesize into sh_video 2) Copy extradata 3) Force frame rate detection 1) & 3) are still necessary, the teststream also works without 2), but I think it might be a good idea. If you prefer not to copy the extradata, please tell me so I can send a new patch. Carl Eugen
Hello, On Wed, Jan 24, 2007 at 10:07:14PM +0000, Carl Eugen Hoyos wrote:
Diego Biurrun <diego <at> biurrun.de> writes:
On Wed, Jan 24, 2007 at 12:52:03AM +0100, Carl Eugen Hoyos wrote:
Attached patch allows video playback for following stream (SVQ3 in X-QT): rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov
Is this patch still necessary after the round of fixes to FFmpeg?
My original patch did three things: 1) Write picturesize into sh_video 2) Copy extradata 3) Force frame rate detection
1) & 3) are still necessary, the teststream also works without 2), but I think it might be a good idea.
Why is 1) needed? This sounds like a bug elsewhere to me. Greetings, Reimar Döffinger
Reimar Döffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes: [...]
My original patch did three things: 1) Write picturesize into sh_video 2) Copy extradata 3) Force frame rate detection
1) & 3) are still necessary, the teststream also works without 2), but I think it might be a good idea.
Why is 1) needed? This sounds like a bug elsewhere to me.
I can only see in the output that without 1) the line "[V]" shows size: 0x0 and the decoder fails. H264 can be decoded if size=0x0. Carl Eugen ./mplayer rtsp://quick.global.playstream.com/esurancemedia/green_256k.mov -v ... VIDEO: [SVQ3] 240x180 0bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:21 fourcc:0x33515653 size:0x0 fps:15.00 ftime:=0.0667 get_path('sub/') -> '/home/cehoyos/.mplayer/sub/' X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo:X11 running at 1920x1200 with depth 24 and 32 bpp (":0.0" => local display) [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Detected wm supports STAYS_ON_TOP state. [x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms xscreensaver_disable: Could not find XScreenSaver window. [xv common] Colorkey is drawn by Xv. [xv common] Using colorkey from Xv (0x0101fe). [xv common] Maximum source image dimensions: 2046x2046 ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffsvq3] vfm: ffmpeg (FFmpeg Sorenson Video v3 (SVQ3)) ========================================================================== Audio: no sound Freeing 0 unused audio chunks. Starting playback... [ffmpeg] aspect_ratio: nan [svq3 @ 0x888cf70]picture size invalid (0x0) [svq3 @ 0x888cf70]get_buffer() failed (-1 0 0 (nil)) Error while decoding frame! [svq3 @ 0x888cf70]picture size invalid (0x0) [svq3 @ 0x888cf70]get_buffer() failed (-1 0 0 (nil)) Error while decoding frame! ... and so on.
participants (4)
-
Carl Eugen Hoyos -
Diego Biurrun -
Michael Niedermayer -
Reimar Döffinger