[MPlayer-dvb] Convert divx to vdr

Nico Sabbi nsabbi at tiscali.it
Sat Apr 16 17:00:11 CEST 2005


Johan Schuring wrote:

>Hi,
>
>I'm trying to convert a divx to vdr format (a dvb-s program).
>
>I used mencoder for it, the script i use is divx2vdr.sh:
>
>#!/bin/bash
>
>mencoder $1 -ovc lavc -oac lavc -lavcopts
>vcodec=mpeg2video:vbitrate=8000:acodec=mp3 -vf scale=690:540 -sws 2 -autosub
>-endpos 01:10:00 -o 001.vdr -of mpeg
>mencoder $1 -ovc lavc -oac lavc -lavcopts
>vcodec=mpeg2video:vbitrate=8000:acodec=mp3 -vf scale=690:540 -sws 2 -autosub
>-ss 01:10:00 -o 002.vdr -of mpeg
>genindex
>exit
>## end script ##
>
>genindex is a program to make an index of the .vdr files.
>scale=690:540 is for my tv set the best setting
>
>Does someone have a good solution for it, i've searched in google and clusty,
>with no good results.
>
>When this is not the proper maillist, my excuses.
>
>Johan
>  
>

-of mpeg creates *real* mpeg files, as opposed to those (totally useless 
imho) .vdr files.
To create .vdr files you should use

mplayer -ao mpegpes -vo mpegpes:file.vdr -endpos 01:10:00 -vf 
scale=690:540 file.avi ,
but mp3 is out of question




More information about the MPlayer-dvb mailing list