Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 91 to 120 of 216
Thread
-
Yes it goes through subfolders too.
Im not familiar with what files cd players play I can't help you with the convertion. -
Hello,
Taking a clue from @baldrick's example (#1 Post) and the other from @hemstock, I created a batch file with the following commands:
for /r %%a in ("*.mpg") do "C:\ffmpeg-20151108\bin\ffmpeg" -i "%%a" -c:v libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k "D:\MB\%%~na.mp4"
pause
It is not what I intended to do but is working as of now without any hitch and creating backup for me.
Thanks @baldrick's and @hemstock -
Hi, I'm new here; I have a question:
tengo un archivo .mkv que tiene 2 audios; inglés y español
My question is how to convert to mp4 and choose the audio output between English or Spanish?
currently I use the following code:
Code:for %%a in ("*.*") do C:\ffmpeg\bin\ffmpeg -i "%%a" -c:v libx264 -preset slow -crf 20 -c:a libvo_aacenc -b:a 128k "convert\%%~na.mp4" pause
-
R for Recurse through subfolders:
http://www.computerhope.com/jargon/r/recurse.htm
The term comes from the way this type of code works. Typically the function handles each file in a folder calls itself (recurses) to parse each sub folder.Last edited by jagabo; 11th Dec 2015 at 06:35.
-
Hi
Use a command like this to create one mp4 file (whatever.mp4) from one jpg file (Herringbone.jpg) and one mp3 file (filename.mp3).
Code:ffmpeg -loop 1 -i Herringbone.jpg -i filename.mp3 -shortest -c:v libx264 -tune stillimage -c:a copy -movflags faststart whatever.mp4
Then add the extras to make a batch command, see the previous examples in this thread.Last edited by bat999; 19th Dec 2015 at 20:01.
-
-
Hi
This works as a batch command...
Code:for %a in ("*.mp3") do ffmpeg -loop 1 -i Herringbone.jpg -i "%a" -shortest -c:v libx264 -tune stillimage -c:a copy -movflags faststart "%~na.mp4"
Code:for %%a in ("*.mp3") do ffmpeg -loop 1 -i Herringbone.jpg -i "%%a" -shortest -c:v libx264 -tune stillimage -c:a copy -movflags faststart "%%~na.mp4" pause
-
-
only madmen does mkv > mp4
alot of players these days support mkv, even my samsung ultrahd tv does it now, and the ironiy it works even better with 4k mkv than 4k mp4
i suspect the samsung mp4 demuxer is horrible compared to samsung mkv demuxer (suspect this is either haali or the reference one)
anyway thanks for the great article -
Hello.
script that i useCode:for %%a in ("*.mkv") do "D:\PROGRAMY\ffmpeg\ffmpeg.exe" -i "%%a" -vf subtitles="%%a" -acodec copy -vcodec libx264 -preset medium -tune animation -crf 23 "C:\Users\DRAKO\Desktop\Nowy folder\newfiles\%%~na.mp4" pause
Last edited by cartunek; 13th Jun 2016 at 17:49.
-
-
You need to add map command and language:eng? language:esp?
https://ffmpeg.org/ffmpeg.html#Advanced-options
To pick the English audio stream:
Code:ffmpeg -i INPUT -map 0:m:language:eng OUTPUT
-
hello I have a folder with multiple avi files who all have mp3 as their audio format. I want to extract all the Audio tracks of the files at once.
I put all the files in the bin folder off ffmpeg so they are in the same folder as "ffmpeg.exe", "ffplay.exe", "ffprobe.exe" and my bat.
I used this command from user ********
FOR %%i IN ("*.avi") DO (
echo %%i
ffmpeg -i %%i -vn -acodec copy "newfiles\%%i.mp3"
) -
-
-
sorry I don't understand it at all I guess my english is too bad. Could you please help me with the command and where I have to insert quotations marks?
thanks a lot -
works perfect now. So I summarize it for everybody:
If you want to extract the Audio Tracks of Avi files go to the bin directory of ffmpeg, move all avi files in there, create a new folder "newfiles" and run this batch command
FOR %%i IN ("*.avi") DO (echo "%%i" & ffmpeg -i "%%i" -vn -acodec copy "newfiles\%%i.mp3")
cheers
-gwar -
Nice guide, hoping someone can help me. I want to run a batch command to check the integrity of multiple .mp4
This is the command for 1 file:
Code:ffmpeg -v error -i "File Name".mp4 -f null - >error.log 2>&1
Last edited by badogblue; 14th Jul 2016 at 08:12.
-
Tried?
Code:FOR %%i IN ("*.mp4") DO ffmpeg -v error -i "%%i" -f null - >"%%i"-error.log 2>&1
-
Yes running windows 7 32bit
Above command unfortunately doesn't work, command prompt returns:Code:%%i was unexpected at this time.
Code:find . -type f -exec sh -c 'ffmpeg -v error -i "{}" -f null - > "{}".log 2>&1' \;
Code:Access denied - . File not found - -TYPE File not found - F File not found - -EXEC File not found - SH File not found - -C File not found - 'FFMPEG File not found - -V File not found - ERROR File not found - -I File not found - -F File not found - NULL File not found - - File not found - ' File not found - \;
-
This worked for me:
Code:for %%F in (*.mp4) do ("G:\Program Files\ffmpeg\bin\ffmpeg.exe" -v error -i "%%F" -f null - >error.log 2>&1)
-
Similar Threads
-
Best Way To Batch Convert DVR-MS and WTV Files
By dj4monie in forum Video ConversionReplies: 39Last Post: 25th Jun 2012, 18:17 -
Best way to batch convert xvid/avi files to mkv/x264 files?
By gaikokujinkyofusho in forum Video ConversionReplies: 1Last Post: 13th Jan 2012, 06:31 -
batch convert .mpg (MPEG2) files?
By shun in forum Video ConversionReplies: 2Last Post: 8th Jan 2009, 08:44 -
Hi, need a program to batch multiplex.
By mmdmmd in forum AudioReplies: 2Last Post: 18th Oct 2008, 13:50 -
Hi all, I need program to batch de-multiplex mpg files with 2 audio tracks
By mmdmmd in forum AudioReplies: 4Last Post: 14th Oct 2008, 15:57