[MPlayer-users] Converting video to lossless

Deron Kazmaier deron at pagestream.org
Sat Oct 8 09:13:14 CEST 2011


Hello,

While waiting for the ProRes decoder to be sped up enough to play 
1280x720, 59.94fps without dropping frames, I'd like to try a test that 
I conceived back when 32bit Apple ProRes codec was my only choice.

Basically, I'd like to use mencoder to convert this video to some 
lossless encoding. I've beaten my head, but it always ends up telling me 
it is skipping frames. Obviously I have a fundemental misunderstanding 
here. What would be the proper mencoder parameters to encode to say 
ffvhuff (if that is a reasonable choice even). I don't care how long it 
takes to make the ffvhuff file, as long as it can be played out quicky 
in mplayer. The disk speed is plenty to support uncompressed video 
capture, so playback should be no problem there.

Here is one of the commands I tried, in case you wonder what direction I 
was coming from

mencoder "/work/testfile.mov" -ni -aspect 16:9 -oac copy -ovc lavc 
-lavcopts vcodec=ffvhuff:threads=8 -o testfile.avi


Which yields:

MEncoder SVN-r34178-4.5.2 (C) 2000-2011 MPlayer Team
success: format: 0  data: 0x0 - 0x559857b5
libavformat file format detected.
[lavf] stream 0: audio (pcm_s24le), -aid 0, -alang eng
[lavf] stream 1: audio (pcm_s24le), -aid 1, -alang eng
[lavf] stream 2: video (prores_gpl), -vid 0
VIDEO:  [apch]  1280x720  24bpp  59.940 fps  219102.5 kbps (26745.9 kbyte/s)
[V] filefmt:44  fourcc:0x68637061  size:1280x720  fps:59.940  ftime:=0.0167
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Requested video codec family [qtprores] (vfm=qtvideo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Cannot find codec 'prores' in libavcodec...
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffproresgpl] vfm: ffmpeg (FFmpeg ProRes, GPL v2 only)
==========================================================================
audiocodec: framecopy (format=1 chans=1 rate=48000 bits=24 B/s=0 sample-0)

Too many video packets in the buffer: (116 in 33646400 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0xc0fb40]BICUBIC scaler, from yuv422p10le to yuv420p using MMX2
videocodec: libavcodec (1280x720 fourcc=48564646 [FFVH])
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not 
writing vprp header.
Pos:   0.4s     21f ( 0%)  0.00fps Trem:   0min   0mb  A-V:0.033 [0:0]



Too many video packets in the buffer: (80 in 33898160 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.



Thanks for your help!

Deron




More information about the MPlayer-users mailing list