Skip to main content

Thread: ffmpeg and dual core.


im converting alot of tv shows use on ipods.

wrote small bash script can run on eash season like.

code:
for file in *.avi   ffmpeg -y -i "$file" -threads 2 -s 320x180 -vcodec mpeg4  -ab 128k -acodec libfaac -ac 2 -ab 64k -f mp4 "ipod/$file.mp4"  done
i have set threads 2, still uses 1 core.

started thinking , alter script cue files run 2 @ time, dont know how, appriiated.

markp1989

you can better results libx264 create h.264 video , automatically detect proper threads value. here's example using ipod320 preset:
code:
ffmpeg -i input -acodec libfaac -ac 2 -ab 128k -vcodec libx264 -vpre hq -vpre ipod320 -crf 26 -threads 0 -f ipod -metdata title="a history of ham" output.mp4
i must admit don't own ipod test command, have no reason doubt effectiveness of it.

recommend compiling x264 , ffmpeg if you're going convert more few videos. development active , compiling gives recent version can make sure you're not missing exciting new features:

howto: install , use latest ffmpeg , x264


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [all variants] ffmpeg and dual core.


Ubuntu

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???