You can run VLC from the command prompt, in some extent VLC is an alternative of a part of ffmpeg faculties.

Upon installing VLC Media Player (by default vlc.exe is located in C:\Program Files\VideoLAN\VLC),  i recommend adding “C:\Program Files\VideoLAN\VLC” to the path environment variable to run vlc.exe from any place.

 

Running VLC in Quiet mode

Each time you apply vlc.exe a corresponding VLC Media Player GUI window is opened. However, you can run vlc.exe in the quiet mode (i.e. without opening any GUI windows) by adding      '-I dummy --dummy-quiet'In such case you need check Task Manager whether vlc.exe completed or not (awkwardly):

 

Selected Operations with VLC

1) Convert from mp4 format to mpegts without re-encoding

vlc test.mp4 --play-and-exit  --sout=#standard{access=file,mux=ts,dst=C:\Examples\test.ts}

--play-and-exit   instruct VLC Media Player GUI to close itself at the end of the processing, otherwise we have to close GUI explicitly or tons of VLC Media Player windows are accumulated.

 

2)  Transcoding

Example: change resolution to 720×576, encoding in h264, output bitrate 5Mbps

vlc  test1080p.mp4   --play-and-exit --sout=#transcode{height=576,width=720,vcodec=x264,vb=5000}:std{access=file,mux=mp4,dst=test720p.mp4}

you can choose downscaling method, e.g. swscale-mode=2 (bicubic)

vlc   test1080p.mp4   --play-and-exit  --sout=#transcode{swscale-mode=2,height=576,width=720,vcodec=x264,vb=5000,acodec=aac,samplerate=44100}:std{access=file,mux=mp4,dst=test720p.mp4}                                                                                                                                                                                                                                    

 

Example: change resolution to 720×576, encoding in hevc, output bitrate 5Mbps, output format mpegts:

vlc test1080p.mp4   --play-and-exit --sout=#transcode{height=576,width=720,vcodec=hevc,vb=5000}:std{access=file,mux=ts,dst=test720p.ts}

 

Example:  change video frame rate to 10fps, encoding in hevc, output bitrate 5Mbps, output format mpegts

vlc test1080p.mp4   --play-and-exit --sout=#transcode{height=576,width=720,vcodec=hevc,vb=5000,fps=10}:std{access=file,mux=ts,dst=test10fps.ts}

 

Example:  downmix audio to stereo (two channels), audio codec AAC (by default Low Complexity), the sample rate 44100, bitrate 192 kbps

vlc test_audio5_1.mp4 --play-and-exit --sout=#transcode{acodec=aac,samplerate=44100,channels=2,ab=192}:std{access=file,mux=ts,dst=test_stereo.ts}

note: for mp3 set ‘acodec=mp3’

 

13 Responses

  1. I’ve been exploring for a little bit for any high-quality articles or blog posts on this kind of area . Exploring in Yahoo I at last stumbled upon this website. Reading this info So i’m happy to convey that I have a very good uncanny feeling I discovered exactly what I needed. I most certainly will make certain to do not forget this website and give it a glance on a constant basis.

  2. Greetings! I know this is kind of off topic but I was wondering which blog platform are you using for this website? I’m getting fed up of WordPress because I’ve had issues with hackers and I’m looking at alternatives for another platform. I would be awesome if you could point me in the direction of a good platform.

  3. Can I just say what a reduction to search out somebody who really is aware of what theyre talking about on the internet. You undoubtedly know easy methods to bring an issue to light and make it important. More folks have to read this and understand this aspect of the story. I cant consider youre no more fashionable since you undoubtedly have the gift.

  4. You really make it seem so easy together with your presentation however I find this topic to be actually one thing which I think I might never understand. It seems too complex and very broad for me. I’m having a look forward in your subsequent post, I¦ll attempt to get the hang of it!

  5. F*ckin’ tremendous things here. I’m very glad to see your article. Thanks a lot and i am looking forward to contact you. Will you kindly drop me a e-mail?

Leave a Reply

Your email address will not be published. Required fields are marked *