ronyn
30th November 2008, 10:24
Hello. For a few days i am trying to encode from Mkv to wmv using ffmpeg, but i have problems audio/video synchronization. This is an example :
ffmpeg.exe -i "G:\torrent\film\[HD 720p ITA AC3-ENG AAC] 12 Monkeys [HDitaly]\[HD 720p] 12 Monkeys.mkv" -map 0:1 -vn -acodec wmav2 -ac 2 -ab 192000 -ar 48000 -vol 768 "G:\WmwWorking\temp\12 Monkeys.wma"
ffmpeg.exe -i "G:\torrent\film\[HD 720p ITA AC3-ENG AAC] 12 Monkeys [HDitaly]\[HD 720p] 12 Monkeys.mkv" -map 0:0 -an -vcodec wmv1 -b 5872k -s 1280x688 -r 23.976 "G:\WmwWorking\temp\12 Monkeys.wmv"
ffmpeg.exe -i "G:\WmwWorking\temp\12 Monkeys.wmv" -i "G:\WmwWorking\temp\12 Monkeys.wma" -vcodec copy -acodec copy "G:\WmwWorking\temp\12 Monkeys_merged.wmv"
The first is for the audio, the second for the video, and the last for merging. The audio goes out of synchronization. I have done a lot of tryies, but the problem is still remain.
Could anyone help me?
ffmpeg.exe -i "G:\torrent\film\[HD 720p ITA AC3-ENG AAC] 12 Monkeys [HDitaly]\[HD 720p] 12 Monkeys.mkv" -map 0:1 -vn -acodec wmav2 -ac 2 -ab 192000 -ar 48000 -vol 768 "G:\WmwWorking\temp\12 Monkeys.wma"
ffmpeg.exe -i "G:\torrent\film\[HD 720p ITA AC3-ENG AAC] 12 Monkeys [HDitaly]\[HD 720p] 12 Monkeys.mkv" -map 0:0 -an -vcodec wmv1 -b 5872k -s 1280x688 -r 23.976 "G:\WmwWorking\temp\12 Monkeys.wmv"
ffmpeg.exe -i "G:\WmwWorking\temp\12 Monkeys.wmv" -i "G:\WmwWorking\temp\12 Monkeys.wma" -vcodec copy -acodec copy "G:\WmwWorking\temp\12 Monkeys_merged.wmv"
The first is for the audio, the second for the video, and the last for merging. The audio goes out of synchronization. I have done a lot of tryies, but the problem is still remain.
Could anyone help me?