o.t. looking for commandline media file conversion help.

View: New views
1 Messages — Rating Filter:   Alert me  

o.t. looking for commandline media file conversion help.

by dave-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
    I realize this is off topic not directly related to the dvdauthor
software, so replies please offlist.
    I've got some media files on a freebsd 6.2 box .avi, .wmv, and .mpg that
i'd like to convert in to dvd video compliant formatted mpegs, adding in 5.1
surround sound to the audio on the way, and simple arrowable menus to select
the viewable item. I'm not sure if this issue, is one of format conversion
or a missing codec, i'm looking for someone who has done commandline dvd
preparations for some offlist help.
    I've tried ffmpeg, that core dumps right away on the .avi files, gets a
little further than does the same on the .mpg files. I've tried transcode,
on the .mpg it gets some ways in to it, then cores, on the .avi it is still
going i'm not sure how long to let it go for, it's been doing it's thing for
over three days. I've also tried tovid, that either claims success with no
outputfile generated, or stops with an error that it could not continue.
    I've had luck with mencoder and dvdauthor. I've included two scripts at
the end of this msg.
The first is a shell script i wrapped around the mencoder command, called
makedvd, which takes a media file and turns it in to dvd video. The second,
dvdauthor.xml takes that and makes the dvd video structure in preparation
for burning.
    Any help appreciated.
Thanks.
Dave.

makedvd:
#!/bin/sh
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
-vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts \
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=9800:keyint=15:aspect=4/3
 -ofps 25 -o file.mpg file.avi

dvdauthor.xml:
<dvdauthor dest="DVD">
<vmgm />
<titleset>
<titles>
<video format="ntsc" aspect="4:3" />
<pgc>
<vob file="file.mpg"/>
</pgc>
</titles>
</titleset>
</dvdauthor>


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users