Ok, so I'm getting ready for a trip, and have this really bad crappy tablet that I bought strictly for playing back video, since it was an advertised feature of this piece of junk.
I've found that this tablet has a major flaw, in that, if the video starts with a black screen, it won't playback the video on the file.
I have a bunch of files that many of them start with a black frame.
So, I've been converting them to mp4 using handbrake, it's convenient to be able to cue up a bunch of files, walk away and have it do it's thing, come back and they're all done. So I'd like to keep doing it with handbrake, or use another program that allows that same feature. The thing is....I need a program that I can just set to chop a second off the start of the file, so I can make sure my files all start with something other than a black frame, so they will all work on this piece of junk.
What will do this?
+ Reply to Thread
Results 1 to 9 of 9
-
-
I don't know about batch converting but something like avidemux can do it. Or virtualdub with the directshowsource filter to open any video file type.
However the only way I know to do it would be to manually do it for each video. That is open the video, select the range you want to save then do copy video, copy audio and save it as a new file.
Others here might be able to suggest a better way to instruct a converting program to do a range before you encode. I don't know off the top off my head how to do that.
Though You could do that in virtualdub. Use a x264 encoder (I'm assuming you are converting to h264 in the mp4 container, mp4 is a container not a codec). You could select the first and last frame of the video you want to convert then load a batch job and start it.
It would take a little trial and error to do it just right. But it should do it just fine, at least in theory I think.Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw? -
Yes, this is working great. The only downside is I have to tell it to cut the first second off of each individual file instead of just setting it to cut 2 seconds off of all files. But the up side is that once I have everything set, I can let it do it's thing and come back later when it's all done.
-
-
Lets say you had a folder of MP4 files that you wanted to re-encode to h.264/aac/MP4 and cut 2 seconds of the beginning
You can use ffmpeg's -ss for start time (in hh:mms.ms notation) . So for start at 2 seconds, it would be -s 00:00:02
1) Place a copy of ffmpeg.exe in the folder to be converted
2) Open a text file in notepad , copy & paste the following, save it, rename the extension from .txt to .bat
Code:for %%a in ("*.mp4") do ffmpeg -i "%%a" -vcodec libx264 -crf 18 -acodec libvo_aacenc -b:a 128k -ss 00:00:02 "%%~na.new.mp4" pause
If you wanted to change the encoding settings, audio settings eg. bitrate etc... just modify the batch file . I just randomly picked crf 18 and 128k for audio bitrate
There probably is a way to do it with multiple file types as inputs, but it's beyond my very basic knowledge of dos batch scripting
Similar Threads
-
What I want to do is take all of my educational videos and chop them all up
By andrewkavanagh in forum EditingReplies: 4Last Post: 26th Sep 2012, 21:49 -
Chop it up!?
By cnknightro in forum Newbie / General discussionsReplies: 5Last Post: 20th Mar 2012, 08:02 -
How to chop n edit .m2ts file?
By Bonie81 in forum Newbie / General discussionsReplies: 2Last Post: 1st Nov 2010, 05:16 -
What's a good program that lets you choose end file size for AVI?
By THRobinson in forum Video ConversionReplies: 6Last Post: 5th Apr 2010, 20:42 -
Slow video file start
By Martn in forum Software PlayingReplies: 6Last Post: 25th Nov 2008, 12:26