[MPlayer-users] mplayer won't play what I mencoder ed
John Brown
johnbrown105 at hotmail.com
Sun Nov 4 20:44:42 CET 2007
On Sun, 4 Nov 2007 12:55:08 -0600, Carl Karsten wrote:
>
> Here is my current wall:
>
> # make seed file, then add 2 jpg's using add.sh script.
>
> mencoder mf://071103100100.jpg -mf type=jpeg -nosound -ovc lavc -lavcopts
> vcodec=mpeg2video:cmp=2:subcmp=2:mbd=2:trell:vqscale=31: -of mpeg -ofps 30 -vf
> harddup -o q.mpg
>
> ./add.sh ./071103100100.jpg
> ./add.sh ./071103100200.jpg
>
>
> # add.sh
> # make i.mpg out of passed jpg
> # combine i.mpg and q.mpg into q1.mpg
> # replace q.mpg with q1.mpg
>
> mencoder mf://$1 -mf type=jpeg -nosound -ovc lavc -lavcopts
> vcodec=mpeg2video:cmp=2:subcmp=2:mbd=2:trell:vqscale=31: -of mpeg -ofps 30 -vf
> harddup -o i.mpg
> mencoder q.mpg i.mpg -ovc copy -of mpeg -o q1.mpg
> mv -f q1.mpg q.mpg
>
>
> output:
>
> ++ mencoder mf://071103100100.jpg -mf type=jpeg -nosound -ovc lavc -lavcopts
> vcodec=mpeg2video:cmp=2:subcmp=2:mbd=2:trell:vqscale=31: -of mpeg -ofps 30 -vf
> harddup -o q.mpg
> Overhead: 30.311% (3811 / 12573)
> Writing header...
>
> Video stream: 3017.520 kbit/s (377190 B/s) size: 12573 bytes 0.033 secs 1 frames
> ++ ./add.sh ./071103100100.jpg
> +++ mencoder mf://./071103100100.jpg -mf type=jpeg -nosound -ovc lavc -lavcopts
> vcodec=mpeg2video:cmp=2:subcmp=2:mbd=2:trell:vqscale=31: -of mpeg -ofps 30 -vf
> harddup -o i.mpg
>
> Overhead: 30.311% (3811 / 12573)
> Writing header...
>
> Video stream: 3017.520 kbit/s (377190 B/s) size: 12573 bytes 0.033 secs 1 frames
> +++ mencoder q.mpg i.mpg -ovc copy -of mpeg -o q1.mpg
> Writing index...
>
> Overhead: nan% (0 / 0)
> Writing header...
>
> Video stream: nan kbit/s (-2147483648 B/s) size: 0 bytes 0.000 secs 0
> frames
> +++ mv -f q1.mpg q.mpg
> ++ ./add.sh ./071103100200.jpg
> +++ mencoder mf://./071103100200.jpg -mf type=jpeg -nosound -ovc lavc -lavcopts
> vcodec=mpeg2video:cmp=2:subcmp=2:mbd=2:trell:vqscale=31: -of mpeg -ofps 30 -vf
> harddup -o i.mpg
> Writing index...
>
> Overhead: 29.723% (3754 / 12630)
> Writing header...
>
> Video stream: 3031.200 kbit/s (378900 B/s) size: 12630 bytes 0.033 secs 1 frames
>
>
> +++ mencoder q.mpg i.mpg -ovc copy -of mpeg -o q1.mpg
> success: format: 0 data: 0x0 - 0x800
> MPEG: Missing video stream!? Contact the author, it may be a bug :(
> Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll,
> /usr/local/lib/win32/avisynth.dll
> libavformat file format detected.
> LAVF_header: av_find_stream_info() failed
> ============ Sorry, this file format is not recognized/supported =============
> === If this file is an AVI, ASF or MPEG stream, please contact the author! ===
> Cannot open demuxer.
> Exiting...
>
> Carl K
MEncoder probably has the same limitations as far as input is concerned. That is,
while it can produce a 1-frame file, it cannot read a 1-frame file.
If you run
mf:// -mf -fps=1 -ovc lavc ... -ofps 30
the resuting MPEG should contain 10 frames (1/3 s), and you will probably be able
to append it to another MPEG that has at least 10 frames.
_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last. Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033
More information about the MPlayer-users
mailing list