[MPlayer-cygwin] -of lavf crash

Webmaster de Vuelta-Rapida.com webmaster at vuelta-rapida.com
Fri Apr 7 18:26:23 CEST 2006


Hi,

Yes, that was suggested by mencoder "-lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames".

I think the problem is the "encoding from image sequence" feature.

That doesn't work:

#1 >mencoder mf://0*.jpg -mf w=608:h=336:fps=23.976:typ
e=jpg -ovc lavc -lavcopts vcodec=mpeg4 -v -o test.avi

That does:

#2 >mencoder frost.avi -ovc lavc -lavcopts vcodec=mpeg4
 -v -nosound -o test.avi

Here comes the output of the first command:

MEncoder Sherpya-MinGW-20060323-4.1.0 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4 Willamette; Xeon Foster (Family: 15, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

init_freetype
get_path('font/font.desc') ->
'J:/programas/mplayer/mplayer/mplayer/font/font.de
sc'
font: can't open file: J:/programas/mplayer/mplayer/mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
STREAM: [null] mf://0*.jpg
STREAM: Description: Null stream
STREAM: Author: Albeu
STREAM: Comment:
success: format: 16  data: 0x0 - 0x0
[mf] search expr: 0*.jpg
[mf] number of files: 3060 (12240)
==> Found video stream: 0
VIDEO:  [IJPG]  608x336  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:16  fourcc:0x47504A49  size:608x336  fps:23.98  ftime:=0.0417
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
[ffmpeg] aspect_ratio: 1.809524
VDec: vo config request - 608 x 336 (preferred colorspace: Planar YV12)
Trying filter chain: expand lavc
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is 1.81:1 - prescaling to correct movie aspect.
VO Config (608x336->608x336,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x0
videocodec: libavcodec (608x336 fourcc=34504d46 [FMP4])
*** [lavc] Allocating mp_image_t, 608x336x12bpp YUV planar, 306432 bytes
*** [expand] Direct Rendering mp_image_t, 608x336x12bpp YUV planar, 306432
bytes

get_path('subfont.ttf') ->
'J:/programas/mplayer/mplayer/mplayer/subfont.ttf'
Unicode font: 255 glyphs.
Muxer frame buffer sending 1 frame(s) to muxer.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp h
eader.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp h
eader.
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms
0/18
ds_fill_buffer: EOF reached (stream: video)

Flushing video frames
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp h
eader.

Video stream: 1011.404 kbit/s  (126425 B/s)  size: 5273 bytes  0.042 secs  1
fra
mes
uninit video: ffmpeg


-----Mensaje original-----
De: mplayer-cygwin-bounces at mplayerhq.hu
[mailto:mplayer-cygwin-bounces at mplayerhq.hu] En nombre de Stefan Gürtler
Enviado el: viernes, 07 de abril de 2006 15:12
Para: Windows porting (Cygwin/MinGW)
Asunto: Re: [MPlayer-cygwin] -of lavf crash

Webmaster de Vuelta-Rapida.com schrieb:
> I download mplayer and mencoder from that page (the p4 version) and now it
> does nothing but show info to the output.
> 
> Even if I try commands that worked on the previous version, don't do
> nothing.
> 
> 
>>mencoder mf://0*.jpg -mf w=608:h=336:fps=23.976:typ
> 
> e=jpg -of lavf -lavfopts
> i_certify_that_my_video_stream_does_not_use_b_frames -o
> vc lavc -lavcopts vcodec=flv -audiofile stream.dump -oac mp3lame -lameopts
> cbr:b
> r=64 -srate 22050 -o newfrost2.flv


Your command line includes several options that I have never seen/used 
before or are special cases.
So we need to find out where things break. Try to shorten/simplify/vary 
your cmd line till you end with one that acutally work and re-add 
options, untill thinks break again.
E. g. change -ovc lavc -lavcopts vcodec=flv to -ovc lavc -lavcopts 
vcodec=mpeg4
Give more verbosen output by adding -v.
E. g. what is this option? Did you read the source to know that you need 
  it? Was it suggested by the mencoder itself?
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames

E. g. I see an -of lavf -o newfrost2.flv but now -lavfopts format=flv

So try to use mpeg4 and output to avi
So try flv and output raw stream
So try flv and try to mux it into flv container

Stefan

_______________________________________________
MPlayer-cygwin mailing list
MPlayer-cygwin at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-cygwin




More information about the MPlayer-cygwin mailing list