My camera records videos of the following sort:
Video: MJPG 640x480 30.00fps 8453Kbps [Video 0]
Audio: PCM 8000Hz mono 64Kbps [Audio 1]
I wish to compress this down to say 1-2mbps xvid. How can I do this automatically for many videos in different subfolders?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
-
How's your windows batch programming? (I'm assuming you're not using a Mac!)
In the following code, change *.mjpg to match the file extension for your Mjpeg files, and add/modify the avisynth script as you like:
Code:for /f "usebackq tokens=* delims=" %%A in (`dir /a-d/s/b *.mjpg`) do call :MAKE_AVS "%%~A" goto :EOF :MAKE_AVS echo # generated avs file>"%~n1.avs" echo DirectShowSource(%1,audio=true)>>"%~n1.avs" echo # add any other AviSynth commands here>>"%~n1.avs" goto :EOF
For this to work, you will need AviSynth and ffdshow installed (and need to make sure that ffdshow video decoder is set to decode mjpeg video).
Slainte
middersVolunteer for https://www.computersforkids.org.uk/
Similar Threads
-
Convert Divx to Xvid batch
By nick7461 in forum Video ConversionReplies: 8Last Post: 2nd Oct 2021, 11:37 -
Advice needed for converting MJPEG from Canon camera
By cdowdy in forum Video ConversionReplies: 5Last Post: 4th Jun 2016, 12:26 -
Restream MJPEG stream from ip-camera
By astute in forum Video Streaming DownloadingReplies: 3Last Post: 4th Jun 2016, 09:18 -
Tool to batch convert xvid to .mp4 for iPhone.
By Floob in forum Video ConversionReplies: 8Last Post: 14th Sep 2009, 12:20 -
Digital camera video with 'CCITT u-law' audio?! How can I convert to XVid?!
By Emanef in forum Video ConversionReplies: 0Last Post: 31st Jan 2008, 09:28