[MEncoder-users] mencoder skips every 10 frames with "floating point exception"

Moritz Barsnick barsnick at gmx.net
Wed Jun 27 20:23:05 CEST 2007


Hi

[coming out of lurker mode ;-)]

On Tue, Jun 26, 2007 at 12:09:56 +0300, Alper KANAT wrote:

> The script is running these (this is the output of set -x):

That's a good start... It seems your parameters are expanded correctly,
your variables resolved correctly.

As I neither have .srt files, nor your specific AVI, is there any
material you could provide? There's no easy explanation for what's
happening on your side.

What else worries me ("script code review" ;->):

> chmod +x ./ipodenc.sh
> ./ipodenc.sh
Usage: ./ipodenc.sh -a "Lost" -n "Season 3 Part 10" -s "Lost S3x11.srt" -f lost.avi
> ./ipodenc.sh -a "Lost" -n "Season 3 Part 10" -s "Lost S3x11.srt" -f lost.avi
Usage: ./ipodenc.sh -a "Lost" -n "Season 3 Part 10" -s "Lost S3x11.srt" -f lost.avi

If I call the program according to usage(), I still get the usage info.
:-(  I think the -f info is wrong, but you're making things hard for
us...

You also don't check for the existance of the .srt file. And if "-s"
isn't given (e.g. I don't have .srt files), it silently ends.

You wrote:
> VIDEO:  [XVID]  624x352  12bpp  23.976 fps  1015.8 kbps (124.0 kbyte/s)
> [V] filefmt:3  fourcc:0x44495658  size:624x352  fps:23.98  ftime:=0.0417

Does the resulting target have the same framerate?

> Video stream:  894.567 kbit/s  (111820 B/s)  size: 396428 bytes  3.545 secs  94 frames
> Audio stream:  192.000 kbit/s  (24000 B/s)  size: 96256 bytes  4.011 secs

Apart from the fact that I'd reduce the audiorate a bit more, the
length of video and audio does differ, perhaps due to the segfault.

HTH,
Moritz



More information about the MEncoder-users mailing list