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’
23+ years’ programming and theoretical experience in the computer science fields such as video compression, media streaming and artificial intelligence (co-author of several papers and patents).
the author is looking for new job, my resume
Great post. I am facing a couple of these problems.
Very interesting subject, regards for putting up. “Genius is of no country.” by Charles Churchill.
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.
I am now not certain where you are getting your information, however good topic. I needs to spend a while finding out much more or working out more. Thank you for fantastic info I used to be on the lookout for this information for my mission.
Loving the information on this website , you have done great job on the content.
I enjoy the efforts you have put in this, thanks for all the great posts.
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.
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.
I’d should test with you here. Which isn’t one thing I normally do! I enjoy studying a submit that will make people think. Also, thanks for allowing me to remark!
I really appreciate this post. I?¦ve been looking all over for this! Thank goodness I found it on Bing. You have made my day! Thank you again
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!
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?
slavah264@gmail.com