[MEncoder-users] [flv @ 0x89b8c60]dimensions not set Floating point exception

Lukas Österreicher lukas.oesterreicher at inode.at
Sat Apr 16 20:14:50 CEST 2011


Hi again.

I found out a bit more:
- When I try the mentioned command with small simple mpeg-1 video,
transcoding works (however the audio output, especially at the beginning is
a bit garbled)
- When I convert a h264 video without b-frames and provide the -ofps
option, it won't crash, but will always log output like:
Skipping frame!
Pos:   0.0s    547f (80%) 116.98fps Trem:   0min   0mb  A-V:-0.001 [0:0]
and the result does not contain any video.

I found that others previously used this option to deal with lavd not
being able to handle b-frames:
-lavfopts i_certify_that_my_video_stream_does_not_use_b_frames

However this support has been removed:
r23976 | michael | 2007-07-31 13:28:47 -0400 (Tue, 31 Jul 2007) | 5 lines

get rid of this idiotic i_certify_that_my_video_stream_does_not_use_b_frames
muxer_lavf can now generate correct files with b frames as long as the timestamps
provided to it are correct (they should be with lavc encoding, expect trouble with
stream copy though)

However it appears that lavc still can't handle b-frames correctly,
even if I provide the -ofps option.

Please help!

Lukas

> Hi.

> I'm trying to convert to flv, however I get the following error:

> [flv @ 0x89b8c60]dimensions not set
> Floating point exception

> This is the command I used:
> mencoder sourcevideo.mkv -of lavf -lavdopts fast:threads=4 -oac faac
> -faacopts br=96 -channels 2 -srate 44100 -ovc lavc -lavcopts
> vcodec=flv:vbitrate=500 -vf scale=800:448 -o destvideo.flv

> I don't know what i'm doing wrong - in fact I am not even sure I am
> doing something wrong.
> Thre is a similar command exampl mentined here:
> http://blog.save-privacy.de/index.php?/archives/10-Flash-Videos-mit-dem-Mencoder-erstellen.html
> that is working according to the auther, but the same is not working
> for me (i only changed input and output filenames).

> I checked out the latest version using git and compiled it.

> Can you help?

> Also, Is ther a way to encode to .mp4 directly using x264 and aac
> codecs (without other
> programs, since i want to stream the output over the internet
> eventually instead of storing on disk)?

> Thanx in advance,
> Lukas

> Btw, when using the x264 codec I had to use a version from November
> 2011 so that encoding works properly and does not give me this error:
> mencoder: encoder/slicetype.c:1632: x264_rc_analyse_slice: Assertion `cost >= 0' failed.

> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users



-- 
Mit freundlichen Grüßen
Lukas Österreicher
mailto:lukas.oesterreicher at inode.at




More information about the MEncoder-users mailing list