How to command line convert like GUI

About encoding, codec settings, muxers and filter usage
csjjpm
New Cone
New Cone
Posts: 2
Joined: 08 Jun 2014 23:24

How to command line convert like GUI

Postby csjjpm » 08 Jun 2014 23:39

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

csjjpm
New Cone
New Cone
Posts: 2
Joined: 08 Jun 2014 23:24

Re: How to command line convert like GUI

Postby csjjpm » 20 Jun 2014 09:10

Anyone out there who knows how to use the command line?

notrust
New Cone
New Cone
Posts: 4
Joined: 09 Jul 2014 17:10

Re: How to command line convert like GUI

Postby notrust » 10 Jul 2014 11:25

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'}}"


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 15 guests