Question

I have one particular movie file that is giving me grief while I am trying to convert my movie library to be able to be viewed on my Apple TV. I have been using iFlicks to convert all of my files and have only had one issue. The original of this particular movie file plays fine but after it has been converted the video freezes after a few minutes but the audio keeps playing. I tried using ffmpeg to convert the file but now the file is very choppy. The first time it is played the video will be choppy, the next time the audio will be choppy... but it plays fine in VLC for some reason. So I was thinking that maybe I have chosen the wrong codecs to suit Quicktime/Apple TV. Below is the command I used for ffmpeg. Have I chosen the right codecs and actually written the command correctly? (I haven't really used ffmpeg before...)

ffmpeg -i input.avi -vcodec libx264 -acodec libfaac output.m4v
Was it helpful?

Solution

I solved the same problem by setting the frame rate value to an integer (eg 24 instead of the original 23.976)

ffmpeg -i input.avi -vcodec libx264 -r 24 -acodec libfaac output.m4v

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top