[MPlayer-dev-eng] DVD subtitle ripping getting there
Felix Buenemann
atmosfear at users.sourceforge.net
Mon Jul 8 23:39:38 CEST 2002
On Monday 17 June 2002 22:34, Kim Minh Kaplan wrote:
> Hello,
>
> DVD subtitle ripping should now work with this. If anyone can test
> it, especially if anybody can confirm or deny that it is comptible
> with Windows Vobsub, that would be great.
I finally found the time to test this out on linux and windows and commited it
to cvs.
However there are still some problems:
First somehow your code generated multiple "id: [...]" entries, like this:
---snip---
id: en, index: 0
timestamp: 00:00:00:919, filepos: 000000096
timestamp: 00:00:00:919, filepos: 000000896
timestamp: 00:00:03:359, filepos: 000001096
id: en, index: 0
timestamp: 00:00:00:919, filepos: 000001896
timestamp: 00:00:00:919, filepos: 000002096
timestamp: 00:00:03:359, filepos: 000002896
timestamp: 00:00:05:480, filepos: 000003096
[...]
---snip---
I encoded chapter 4 from german r2 Star Wars EP1 dvd 1 main movie like this:
mencoder -vop scale=512:224,crop=718:436:2:70 -sws 6 -dvd 1 -alang en -sid 0
-chapter 4-4 -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:vbitrate=900:vme=4
-lameopts q=5 -o /mnt/smb1/dvdrip/menctest/swep1vobsub.avi -vobsubout
/mnt/smb1/dvdrip/menctest/swep1vobsub -ovc lavc -oac mp3lame
At the beginning of encoding there where some duplicated frames:
---snip---
Writing AVI header...
Pos: 0.9s 22f ( 1%) 14fps Trem: 1min 9mb A-V:-0.084 [0:119]
duplicate 1 frame(s)!!!
Pos: 1.3s 32f ( 1%) 15fps Trem: 2min 10mb A-V:-0.084 [863:119]
duplicate 1 frame(s)!!!
Pos: 1.8s 42f ( 1%) 16fps Trem: 2min 11mb A-V:-0.084 [811:119]
---snip---
Secondly, windows VobSub doesn't detect mencoder-generated vobsub, not
automatically on playback nor with any of the vobsub edit tools.
These are possible causes:
- I didn't copy the IFO, as not needed by recent vobsub as I use.
- Your idx file is v3 and current are v7 which have some more fields.
- Your idx file uses unix linewraps, vobsub win uses dos linewraps.
- Your .sub file is not correctly recognized by vobsub.
As I did some experimenting, editing the idx (making it a v7 file and using
dos linewraps etc.) and still had no luck, I think the problem is the actual
.sub file.
Maybe I or you should ask gabest for help on this topic...
> Kim Minh.
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
More information about the MPlayer-dev-eng
mailing list