В Сбт, 16/09/2006 в 08:10 +0100, Darren Cornish пишет:
taken from
http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html#EXAMPLES%20OF%20MENCODER%20USAGE
Encode DVD title #2, resizing to 640x480:
mencoder dvd://2 −vf scale=640:480 −o title2.avi −oac copy −ovc lavc
−lavcopts vcodec=mpeg4
this is mpeg4, but I need mpeg2 ...
As I understand trancode also can make one file with audio and video for mpeg4. But for mpeg2 it can't ;(
trying this myself for very similar issues, i'll let you know.
Abylai Ospan wrote:
> В Птн, 15/09/2006 в 15:04 -0700, Phil Ehrens пишет:
>> Phil Ehrens wrote:
>> > Ivan Kowalenko wrote:
>> > >
>> > > On Sep 12, 2006, at 15.32, Abylai Ospan wrote:
>> > > >
>> > > >I need to convert DVD to mpeg2 ps filw with audio. I am doing:
>> > > > ...
>> > > >But on some DVD (with silence at the beginning) I have audio and
>> > > >video desynchronization (audio is start faster than needed). How I
>> > > >can transcode video and audio into one file without mplex ?
>> > >
>> > > Why not just pipe from MPlayer and use Audio and Video codec copy,
>> > > throw that into an AVI container, then remultiplex that?
>> >
>> > If that will do what he wants, he can just do this (I think):
>> >
>> > mencoder -oac copy -ovc copy -o $clipname.mpg dvd://1
>>
>> And if the dvd is really screwed up, with holes punched in it
>> or something:
>>
>> mencoder -oac pcm -ovc copy -ofps 30000/1001 -o $clipname.mpg dvd://1
> I need resizing (from 720x480 to 480x576) because IP STB can't show movie with 720x480 ;(
>
> But I resolve this problem ! :)
> I'm cut'ting 13 secs at the begginning of the video stream by following
> command:
>
> mpgtx -s test.m2v [550k-]
>
> where 550 kbytes is equivalent for 13 secs of video :)
> Then I'm mplex'ing final mpeg2 file with synced audio and video:
>
> mplex -f 8 -o test.ts chunk.mpg test.ac3
>
>
> All is working fine ! Thanks for all who make help !
>
wbr, Abylai