[MPlayer-users] MPlayer fails to play RV40 files

Roberto Togni rxt at rtogni.it
Tue Dec 25 23:24:45 CET 2007


On Tue, 25 Dec 2007 16:35:25 +0100
"Ulf Magnusson" <ulfalizer at gmail.com> wrote:

> On Dec 25, 2007 3:57 PM, Ulf Magnusson <ulfalizer at gmail.com> wrote:
> >
> > On Dec 25, 2007 3:39 PM, Roberto Togni <rxt at rtogni.it> wrote:
> > > On Tue, 25 Dec 2007 11:30:59 +0100
> > > "Ulf Magnusson" <ulfalizer at gmail.com> wrote:
> > >
> > >
> > > > On Dec 25, 2007 4:22 AM, compn <tempn at twmi.rr.com> wrote:
> > > > > Ulf Magnusson <ulfalizer <at> gmail.com> writes:
> > > > >
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > MPlayer fails to play the RealMedia files from
> > > > > > http://www.aduni.org/courses/algorithms/index.php?view=cw , writing
> > > > > > "No stream found." to the log. RealPlayer plays them fine. I'm looking
> > > > >
> > > > >
> > > > > hmm, video works with mplayer 1.0pre7 ...
> > > > >
> > > > > -compn
> > > > >
> > > > > _______________________________________________
> > > > > MPlayer-users mailing list
> > > > > MPlayer-users at mplayerhq.hu
> > > > > http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> > > > >
> > > >
> > > > Is that a newer version than 1.0rc2? I just installed rc2 via
> > > > MacPorts, and I still get the same problem:
> > > >
> > > > "
> > > > Playing 05_lect_01.rm.
> > > > REAL file format detected.
> > > > Stream description: audio/x-pn-multirate-realaudio logical stream
> > > > Stream mimetype: audio/x-pn-realaudio-recording
> > > > Stream description: video/x-pn-multirate-realvideo logical stream
> > > > Stream mimetype: video/x-pn-realvideo-recording
> > > > Stream mimetype: logical-fileinfo
> > > > Stream mimetype: logical-fileinfo
> > > > Stream mimetype: logical-fileinfo
> > > > No stream found.
> > > >
> > > >
> > > > Exiting... (End of file)
> > > > "
> > > >
> > > > Just out of curiosity, why isn't there a binary download for rc2 for OS X?
> > > >
> > >
> > > Very strange file. Should be a new format, since realplayer8 rejects it.
> > > Basically the file is a multirate file (audio/video is available at
> > > different bitrates in the same file).
> > > The main difference with known multirate file is in the header layout:
> > > instead of having one header for every audio or video stream, this file
> > > has just two headers (one for audio and one for video) with all the
> > > streams in it.
> > > I still haven't checked the layout of the DATA section, the "standard"
> > > multirate files are non-interleaved with one data block (+index) for
> > > every stream.
> > > also different from all known samples, this file does not use the same
> > > codec for all the audio tracks (some are sipr, another one is cook).
> > >
> > > I'll add support for this format, but it may take some time.
> > >
> > > Btw the video track is RV20, not RV40.
> > >
> > > About pre7: it's a very old version, that did brute force searching
> > > for audio and video tracks, so it can find some video; it plays video
> > > but audio is messy.
> > >
> > > About rc2 for macosx: afaik it's in work, no idea when it will be ready.
> > >
> > > Ciao,
> > >  Roberto
> > >
> > > --
> > > Better is the enemy of good enough.
> > >
> > > _______________________________________________
> > > MPlayer-users mailing list
> > > MPlayer-users at mplayerhq.hu
> > > http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> > >
> >
> > Okay, thanks for the info, and for wanting to add support =)
> > Is there some particular file I could monitor if I want to see if/when
> > it's been added?
> >
> > /Ulf
> >
> 
> I found another set of videos of the same lectures at
> http://www.archive.org/details/arsdigita_05_algorithms ("video files"
> link on the left). These do play with MPlayer (latest SVN), but the
> video gets scrambled (the sound is unaffected) at about 0:39, with
> MPlayer generating the following errors:
> 
> [rv20 @ 0x6a1f10]ERROR at MB 19 14-0.086 584/584  1%  9%  0.3% 0 0
> [rv20 @ 0x6a1f10]HEADER ERROR
> VDec: vo config request - 240 x 176 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
> VO: [macosx] 320x240 => 320x240 Packed YUY2
> [rv20 @ 0x6a1f10]warning: first frame is no keyframe
> [rv20 @ 0x6a1f10]HEADER ERROR
> [rv20 @ 0x6a1f10]HEADER ERROR
> [rv20 @ 0x6a1f10]HEADER ERROR ct: -0.086 586/586  1%  9%  0.3% 0 0
> [rv20 @ 0x6a1f10]HEADER ERROR ct: -0.085 587/587  1%  9%  0.3% 0 0
> [rv20 @ 0x6a1f10]HEADER ERROR ct: -0.085 588/588  1%  9%  0.3% 0 0
> ... and so on
> 
> Before that, the video plays fine (though a bit jerky when compared to
> RealPlayer), only generating a bunch of "[rv20 @ 0x6a1f10]unknown bit3
> set" errors.
> 
> I'll include what's printed up to the first error (the rest is just
> "unknown bit3 set" errors and the HEADER ERROR errors):
> 
> Playing 02-01-01Lect.rm.
> REAL file format detected.
> Stream description: audio/x-pn-multirate-realaudio logical stream
> Stream mimetype: logical-audio/x-pn-multirate-realaudio
> Stream description: video/x-pn-multirate-realvideo logical stream
> Stream mimetype: logical-video/x-pn-multirate-realvideo
> Stream description: fileinfo
> Stream mimetype: logical-fileinfo
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-multirate-realaudio
> [real] Audio stream found, -aid 0
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 1
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 4
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 5
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 6
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-multirate-realaudio
> [real] Audio stream found, -aid 7
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 8
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 9
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-multirate-realaudio
> [real] Audio stream found, -aid 10
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 11
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 12
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 13
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-realaudio
> [real] Audio stream found, -aid 14
> Stream description: Audio Stream
> Stream mimetype: audio/x-pn-multirate-realaudio
> [real] Audio stream found, -aid 15
> Stream description: Video Stream
> Stream mimetype: video/x-pn-realvideo
> [real] Video stream found, -vid 16
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 17
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 18
> Stream description: Video Stream
> Stream mimetype: video/x-pn-multirate-realvideo
> [real] Video stream found, -vid 20
> VIDEO:  [RV20]  320x240  24bpp  15.000 fps    0.0 kbps ( 0.0 kbyte/s)
> Clip info:
>  name: Algorithms: Overview
>  copyright: ? ArsDigita University
> ==========================================================================
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffrv20] vfm: ffmpeg (FFmpeg RV20 decoder)
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 22050 Hz, 1 ch, s16le, 32.1 kbit/9.10% (ratio: 4014->44100)
> Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)
> ==========================================================================
> AO: [macosx] 22050Hz 1ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is undefined - no prescaling applied.
> SwScaler: reducing / aligning filtersize 1 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 4
> SwScaler: reducing / aligning filtersize 1 -> 1
> SwScaler: reducing / aligning filtersize 5 -> 4
> [swscaler @ 0x6da600]SwScaler: BICUBIC scaler, from yuv420p to yuyv422
> using MMX2
> [swscaler @ 0x6da600]SwScaler: using 4-tap MMX scaler for horizontal
> luminance scaling
> [swscaler @ 0x6da600]SwScaler: using 4-tap MMX scaler for horizontal
> chrominance scaling
> [swscaler @ 0x6da600]SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
> [swscaler @ 0x6da600]SwScaler: 320x240 -> 320x240
> VO: [macosx] 320x240 => 320x240 Packed YUY2
> [rv20 @ 0x6dd5b0]unknown bit3 set -0.082  54/ 54  5%  8%  0.4% 2 0
> 

Hmm, seem to be a problem with the ffrv20 codec detecting a fake resize
request, if you run mplayer in verbose mode (-v) you'll see something
like

[rv20 @ 0x87c89b0]attempting to change resolution to 240x176

where the error starts.
The bit 3 messages are harmless and can be ignored.

As a workaround you can try to force use of the binary codec, the
correct syntax should be -vc rv20mac (if it doesn't work try the other
rv20 variants, I don't have a mac to test it).

Else you can try to play a different video track, MPlayer autoselect
the one with the highest bitrate, in this case video id 13 and audio id
10. I tested video id 12 (-vid 12) and it seem to work.
The available track are printed on the output messages, you can try all
of them with -vid # or -aid #

Ciao,
 Roberto

-- 
Better is the enemy of good enough.



More information about the MPlayer-users mailing list