Page 1 of 1

How to command line convert like GUI

Posted: 08 Jun 2014 23:39
by csjjpm
Hi,
I've some PVR recorded MP4 that don't work via USB on my TV. I am able to convert them to another MP4 using the GUI in VLC following instructions I found on line. It only takes a few seconds to convert, the files are about the same size and play fine on my TV. The profile 'Video - H.264 + MP3 (MP4)' encapsulation is MP4/MOV, video and audio keep original tracks, in audio I set bitrate and channels to 440kbps and 6 channels.
I've tried to do this on the command line but it takes ages to convert a file and the file is 50% bigger:
vlc -I myfile.mp4 -vvv %1 --sout=#transcode{vcodec="h264",scale="1",acodec="mpga",ab="440","channels=6",samplerate="44100"}:standard{access="file",dst="%_commanm%.mp4"} vlc://quit

Can someone please advise what settings I use to do the same thing on command line that I do in the GUI. In other words in 5 secconds instead of 5 minutes.
thanks
Paul

Re: How to command line convert like GUI

Posted: 20 Jun 2014 09:10
by csjjpm
Anyone out there who knows how to use the command line?

Re: How to command line convert like GUI

Posted: 10 Jul 2014 11:25
by notrust
Essaye avec ça:

vlc -I myfile.mp4 -vvv %1 --sout="#transcode{vcodec=h264,scale=1,acodec=mpga,ab=440,channels=6,samplerate=44100}:duplicate{dst=std{access=file,mux=mp4,dst='tonfichier.mp4'}}"