Re: Convert divx to vdr

Nico Sabbi <[email protected]>
Newsgroups gmane.comp.video.mplayer.user.dvb
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.