Answer the question
In order to leave comments, you need to log in
FFmpeg+iPhone
Good day to all.
Who did the video conversion for streaming on mobile devices - can you tell me a working line for ffmpeg? The Internet is full of options - but they are all different, and which one really works - I don’t know.
The ultimate goal is to get one file that can be viewed on both iPhone and iPad without severe quality loss.
Thank you!
Answer the question
In order to leave comments, you need to log in
ffmpeg -i file1.avi -vcodec libx264 -vpre libx264-ipod640 -b 500k -bt 500k -acodec libfaac -ab 96k -ac 2 -s 800x480 -threads 8 -g 24 -r 24 out.mp4
and forward
qt-faststart out.mp4 outq.mp4
or
mp4box -add out.mp4 outq.mp4
No one will write a good line for you, because half of the person does not know what which option means, the other half listens to MP3 at 192 Kb / s and watches films with amateur voice acting or Russian subtitles and it suits her.
And you will be looking at Jeep's squares on a good high-detailed screen. And poor Steve Jobs is rolling in his grave.
The only way is to find out the meaning of all program options and make tests with different quality and codecs, and then choose the right one.
I personally do this for an iPad (well, not a new one), for an iPhone it should also be clearly visible, but I haven’t tried
ffmpeg -i $i.mkv -acodec aac -strict experimental -ab 128k -ac 2 -vcodec libx264 -b 1200k - s 1280x720 -r 30 -threads 0 $i.mp4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question