![]() Start a 'DOS Box', Start Run cmd then change to the VLC folder and run the script 'cscript transcode.vbs'. Change the strSource and strTarget in the example to match your requirements. See also Transcoding MJPEG to FLV or MP4. Create the script transcode.vbs, in the VLC installation folder, default 'PROGRAMFILES\VideoLAN\VLC'. vcodec flv -q:v 1 -an K:\Videos\output.flvĪnother typical command example for a Foscam MJPEG IPCam capture: ffmpeg -f mjpeg -i " ^Ĭheck Camera Connection Database for correct URL capture strings depending on your IPCam model. Windows FFMPEG builds use DirectShow to capture USB webcam input, so typical commands look different from Linux builds, but may look similar for IPCams.įor your particular IPCam model a very basic stream capture batch file run from FFMPEG\bin folder may look like this (untested, but works for my IPCam model with a modified URL string): off Note, VLC uses FFMPEG package as well, but an older version. Look through their forum for proper transcode commands examples. In case of high CPU load, as an alternative try latest FFMpeg Zeranoe build for Windows due to often lower CPU load and higher transcode quality compare to VLC. Its crazy good, but I didnt encode the file. In my case less than half the size and better quality than. Consider transcoding to H264 or newer codec formats for smaller file size. I basically want to have multiple x265 transcodes running to make best use of the hardware, would I simply run multiple GNU screens with handbrake. Follow transcode command examples, more here. Generally, before trying to launch VLC from a batch, try using the same transcode options in Windows via VLC GUI, and see if it can properly capture and transcode the output, and what will be CPU load. Older version VLC2.2.2 may work better from Cmd, and allows to use VLM Config file without output errors. As well, the command output depends on VLC version used. so for example we have 3 mp3 files 1.mp3 2.mp3 3.mp3 each is 128, so. You may want to transcode all your videotheque to another format to play them on an iPod, a Zune, a PS3 or an Xbox. I'd like to batch lots of files than having to do each 1 on its own :S not rip CD, just ur average mp3 file. The idea is to use VLC to do some batch work to encode or transcode multiple files one after each other, without having to care about it. ![]() Pls follow Streaming HowTo/Command Line Examples, see also FLV support. Transcode Multi mp3 Files at once to a lower format, 128 to 64 using RAW format. Your VLC command is incorrect: it should be in "source capture - transcode" format, not vice versa. Previously this works on Ubuntu server in code like this: cvlc -d -sout "#transcode" -ttl=127 -http-reconnect -http-continuous -sout-mux-caching=1500 -udp-caching=6000 -tcp-caching=6000 ![]() Codecs / Muxers You have to choose the correct codecs for the device you want to transcode for. You’ll then need to add computers manually in VLC remote using the IP address of your computer and port 8090 (or whatever port you use). C# for example: using System.I just stuck in creating batch file for recording stream from CCTV. The idea is to use VLC to do some batch work to encode or transcode multiple files one after each other, without having to care about it. for Windows, the equivalent would be: c:\Program Files (X86)\VideoLAN\VLC\VLC -VVV -http-port 8090 c:\Program Files (X86)\VideoLAN\VLC\VLC -VVV -http-port 8091. However, would like to add a desktop BAT file to open and stream a Dahua camera without the need to open and select the stream within VLC. No issue with this working with a Dahua NVR plus Dahua cameras on the windows computer. Or you could use a real programming language and perhaps open a variable number of instances. Using VLC on a Windows 10 desktop works well to run a RTSP stream. Now I wanted to convert all my webm video files to mp4 in a batch. for Windows, the equivalent would be: c:Program Files (X86)VideoLANVLCVLC -VVV -http-port 8090 c:Program Files (X86)VideoLANVLCVLC -VVV -http-port 8091. "C:\path\to\vlc.exe" -vvv "C:\music\whatever.mp3" In the GUI I select the following settings for the conversion: Video: Codec: H-264 List item Bitrate: 512 kb/s Frame Rate: 23.97 fps Scale: 1 Audio: Codec: MPEG 4 Audio (AAC) Bitrate: 128 kb/s Channels: 2 Sample Rate: 44100 And it worked perfectly. You could make a windows batch file (.bat): "C:\path\to\vlc.exe" -vvv "" ![]() It does sound like a 'run windows processes in a loop' thing, which you could do several ways. Depending on your version of VLC, you may need to enable an option to run multiple instances.
0 Comments
Leave a Reply. |