Converting dozens of video files
Page 1 of 1
Interinactive
VIP Member



Posts: 29407

PostPosted: Wed, 17th Oct 2018 02:46    Post subject: Converting dozens of video files
Adobe Media Encoder sucks and only converts 1 at a time

I need to convert dozens of MOV/MP4 files to webm (licensing reasons) and I'd love it if I could do multiple files at a time and actually take advantage of the hardware on offer.

What's the best program for this? Can I save this task as a preset somehow? I will be doing it quite a lot.

Thanks
Back to top
Guy_Incognito




Posts: 3433

PostPosted: Wed, 17th Oct 2018 03:32    Post subject:
Convert as in just repack, or reencode?

If former, then a simple command prompt for-loop and ffmpeg will do it:

(in cmd.exe:)

for %i in (*.mp4) do ffmpeg -i "%i" -vcodec copy -acodec copy "%~ni.webm"

Ffmpeg will know what to do based on the output file extension.

You can also reencode files in the same way but the arguments are more complicated.
Back to top
Interinactive
VIP Member



Posts: 29407

PostPosted: Wed, 17th Oct 2018 04:44    Post subject:
⁢⁢


Last edited by Interinactive on Mon, 4th Oct 2021 09:40; edited 1 time in total
Back to top
Guy_Incognito




Posts: 3433

PostPosted: Wed, 17th Oct 2018 09:50    Post subject:
ffmpeg has an insane amount of options, but A/V reencoding is pretty basic stuff, I guess each GUI supports it as a minimum. So try one which looks most intuitive and supports batch processing.

This one looks pretty comprehensive:

http://www.myffmpeg.com/

And you can get ffmpeg for Windows here:

https://ffmpeg.zeranoe.com/builds/
Back to top
paxsali
Banned



Posts: 18352

PostPosted: Wed, 17th Oct 2018 18:39    Post subject:
⁢⁢


Last edited by paxsali on Thu, 4th Jul 2024 23:26; edited 2 times in total
Back to top
3E74




Posts: 2559
Location: feels wrong
PostPosted: Wed, 17th Oct 2018 19:31    Post subject:
hmmm, need a good UI? and something that can do it all?

maybe this will help:

StaxRip
StaxRip is a video encoding app for Windows with a unrivaled feature set and usability.

download: https://github.com/stax76/staxrip

support, and very good support i might say: http://forum.doom9.org/showthread.php?t=172068&highlight=staxrip


maybe that will help.. greetz Very Happy


..:: Life - A sexually transmitted disease which always ends in death. There is currently no known cure::.. Troll Dad
Back to top
Interinactive
VIP Member



Posts: 29407

PostPosted: Wed, 17th Oct 2018 23:39    Post subject:
⁢⁢


Last edited by Interinactive on Mon, 4th Oct 2021 09:40; edited 1 time in total
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Wed, 17th Oct 2018 23:43    Post subject:
Can you go into details, what the licensing issue you are seeing is?
Back to top
Interinactive
VIP Member



Posts: 29407

PostPosted: Thu, 18th Oct 2018 00:16    Post subject:
⁢⁢


Last edited by Interinactive on Mon, 4th Oct 2021 09:40; edited 1 time in total
Back to top
LeoNatan
☢ NFOHump Despot ☢



Posts: 73194
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Thu, 18th Oct 2018 00:33    Post subject:
Not sure what the target audience and hardware are, but a VP9 is virtually guaranteed not to be hardware accelerated, meaning terrible CPU waste, while H264 is virtually always guaranteed to be hardware accelerated at the usual suspect sizes and framerates.

Again, not sure what the project is, but you can use the OS player and decoder, which every respectable OS has (so not Linux Laughing ), which will absolve you of any licensing fees. If it's a web project, then the license fee is waved anyway.

H265 is a different matter.
Back to top
Interinactive
VIP Member



Posts: 29407

PostPosted: Thu, 18th Oct 2018 02:01    Post subject:
⁢⁢


Last edited by Interinactive on Mon, 4th Oct 2021 09:40; edited 1 time in total
Back to top
Guy_Incognito




Posts: 3433

PostPosted: Thu, 18th Oct 2018 09:25    Post subject:
The only VP9 encoder I'm aware of is the official Google's encoder, but it's immensely slow (less than 5 fps for 1080p video on my Ivy Bridge i5).

But for the H264 licence, I think you really have to pay if selling H264 material (you don't if end-user doesn't pay for viewing the content, that's how YouTube works). There are better MPEG-LA H264 licensing interpretations around the internet.

Regarding the encoding, Handbrake offers great control AND supports VP9 encoding, but it outputs only MP4 and MKV containers. But, you can batch-encode your files into VP9 within MKV, and then batch-repack those MKVs into WebM using ffmpeg command above.

(WebM is technically a subset of MKV so be sure to tell Handbrake to output to MKV to avoid any possible later issues when repacking into WebM. There shouldn't be any, but both the container and every stream inside it has its own headers, and MP4 is pretty strict, so choose MKV to eliminate any confusion for ffmpeg).
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Applications
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group