[MPlayer-users] Bug report: segmentation fault while playing/encoding a dvd with the -ss option

Aym/Wedge wedge.ant at gmail.com
Fri Dec 1 17:00:26 CET 2006


Hi !

First, I want to apologize for my very bad English ... I'm French ;).

Now, I've found something that looks like a bug within Mplayer. I'm
actually developping a shell dvd ripper fully based on mencoder (which
is like a gold mine to me !). This project is actually hosted on
sourceforge : http://sourceforge.net/projects/ripdvd

If it is needed, a preview of the future avi file is done before
encoding. For this, I use the -ss option in addition of the -endpos
option. With mostly 75% of the dvds, there is no problem, it works
fine. But for the 25% left, it ends brutally in a segfault :(. As I've
seen (and as you'll see in the log attached to this mail), it seems
that after a time N in the movie, the use of the -ss option acts like
a "seek after eof".

A simple exemple with the dvd from "The Island" (I've got other
failures like this one, and never at the same -ss parameter):
[WORKS] mencoder dvd://1 -dvd-device /dev/sr0 -aid 128 -oac mp3lame
-lameopts abr:br=128 -ovc xvid -xvidencopts bitrate=850 -vf
pp=de,scale=720:-2 -o test.avi -ss 3180 -endpos 20
[FAILS] mencoder dvd://1 -dvd-device /dev/sr0 -aid 128 -oac mp3lame
-lameopts abr:br=128 -ovc xvid -xvidencopts bitrate=850 -vf
pp=de,scale=720:-2 -o test.avi -ss 3190 -endpos 20

Of course, it also fails while using mplayer (without all the awful
options from mencoder ;p)
This is also a bit annoying because I use the -ss option when the
movie is too long to fit in a single 700 Mo cd. I need to split the
encoding into parts, and it generally fails at the beginning of the
second part of the encoding.

My mplayer version: 1.0rc1-3.4.6

In any case, thanks a lot for this great job you've done with this program !!

Aymeric Roynette "aka" Wedge
http://sourceforge.net/projects/ripdvd
(http://slackfr.org)
wedge.ant at users.sourceforge.net
wedge.ant at gmail.com


-- 
/* cat /boot/vmlinuz > /dev/dsp (hear the song of sirens) */
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mail_attach.txt
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20061201/02fefb3e/attachment.txt>


More information about the MPlayer-users mailing list