Page 1 of 1

Transcoding in h.264

Posted: 04 Feb 2007 03:53
by onverrasou
HI, I just discovered the great possibilities allowed by the transcoding capabilities of VLC!

I am having one problem: When I use the wizard to transcode an mpeg-2 stream to h.264, 3072 kbps, mp4 container, I can't select a framerate or crop.

Let's say I wanted to transcode what I just mentioned at 23.076 fps and I wanted to crop 4x8x2x2 . . . I think there are "terminal" commands for this kind of coding, but I don't know how to enter them!

How can I define a framerate, and if possible crop?

Thanks.

Afterthought: linear deinterlacing? Is that possible in terminal too?

I don't understand these "command lines" so if someone could put all of this stuff into the right format as far as syntax, etc., that would be nice!

Posted: 04 Feb 2007 12:07
by geo
Hi, here is the commandline I use to get VLC transcoding MPEG2 to H.264.

I also have an automator action, but this needs to be updated for 0.8.6.

http://uctv.canberra.edu.au/downloads/v ... or-action/

George

Code: Select all

/Applications/VLC.app/Contents/MacOS/clivlc -vvv -I logger --logfile ~/Library/logs/VLC-Transcode.log '/Users/geo/Movies/test.ts' --sout '#transcode{vcodec=h264,acodec=mp4a,vb=350,ab=48,width=640,height=352,deinterlace,audio-sync}:std{access=file,mux=mov,dst=/Users/geo/Movies/test.mp4}}' --sout-transcode-threads 4 vlc:quit

This page contains help about the command line switches,

viewtopic.php?t=17203

Posted: 04 Feb 2007 17:06
by onverrasou
bravo, sir!

I really respect those of you that can use the real computer. I did manage to solve my problem, though . . . IN THE PREFS!! :P Just went under transcoding and put in my crop values and my framerate!!

Deinterlace and the rest are there, too.

For all those out there like me who are illiterate computer users . . . Preferences are your solution!!!

YES!!