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

Alper KANAT tunix at raptiye.org
Wed Jun 27 21:02:39 CEST 2007


Hey There,

I changed the script completely. And while doing that, I just found out
that it was causing because of the audio bitrate.. I saw that 96, 128
and 320 are fine. But with 192, it starts printing those errors.

Here is the new script.. You can encode any file with it to a format
compatible with iPod Video..


Alper KANAT (tunix at raptiye.org)
http://raptiye.org


Moritz Barsnick yazmış:
> 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
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ipodenc
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20070627/ef4a5d72/attachment.txt>


More information about the MEncoder-users mailing list