[mythtv-users] Transcoded files playing well in Linux machine but lagging on Windows machine?
Vijay Gill
vijay.s.gill at gmail.com
Wed Aug 2 10:53:38 UTC 2006
On 02/08/06, Ramanraj Vamsi <ramanrajvamsi at gmail.com> wrote:
> Hi,
>
> Yes I wanna remove commercials from the recordings!
> I am using Hauppauge pvr 150 card and cable box for network.I want to
> transcode to mpeg2 itself and mp3 audio.So that after wards I can be able to
> convert to 3gp and play in my mobile.
>
Then you do not need to extract audio from the file. I do the same for
my recording too. I finally burn my recordings on DVDs (of course
MPEG2 video and MP2 audio). This is the flow of what I do to get my
job done.
1) MythTV records the program.
2) I edit it in Mythfrontend to mark commercials or fix the commercial
markings created by mythcommflag
3) Then I run mythtranscode and mencoder to do the encoding for me.
The example of shell script is given below:
for pass in 1:turbo 2
do
#frames=" -frames 300 "
rm -f vidout
rm -f audout
nice -n 15 mythtranscode -i /myth/tv/1001_20060801202500.mpg
--profile auto --honorcutlist --fifodir . 1>/dev/null &
sleep 5
mencoder.working $frames -mc 0 -sws 2 -oac lavc -lavcopts
acodec=mp2:abitrate=128 -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vbitrate=3000:vrc_maxrate=3000:aspect=4/3:keyint=25:vmax_b_frames=2:vstrict=-1:scplx_mask=0.5:lmin=0.3:vpass=$pass
-of mpeg -mpegopts format=dvd -demuxer rawvideo -audiofile ./audout
-audio-demuxer 20 -rawaudio rate=48000:channels=2 -rawvideo
fps=25:h=576:w=720 ./vidout -o "/myth/tmp/OutPut.mpg"
done
rm divx*.log
rm audout
rm vidout
That's it, I get a DVD compliant file in my /myth/tmp folder which I
can burn on a DVD.
If you need more help, do not hesitate to ask.
Vijay
More information about the mythtv-users
mailing list