Re: [Libav-user] Some encoding A/V synchronization questions

2013-11-16 Thread Ulf Magnusson
On Thu, Nov 14, 2013 at 5:54 AM, Andy Shaules bowljo...@gmail.com wrote: On 11/13/2013 7:40 PM, Ulf Magnusson wrote: Hi, I'm adding a movie recording feature to an emulator using libav. I've got video (x264), audio (Android VisualON AAC), and muxing (mp4) working, but since I make

Re: [Libav-user] Some encoding A/V synchronization questions

2013-11-16 Thread Ulf Magnusson
As a side note, '-tune animation -crf 18' gives excellent video quality for retro video games. If I add YUV444P it's hard to tell the difference from the emulator itself. :) /Ulf On Sat, Nov 16, 2013 at 11:02 AM, Ulf Magnusson ulfali...@gmail.com wrote: On Thu, Nov 14, 2013 at 5:54 AM, Andy

[Libav-user] Some encoding A/V synchronization questions

2013-11-13 Thread Ulf Magnusson
Hi, I'm adding a movie recording feature to an emulator using libav. I've got video (x264), audio (Android VisualON AAC), and muxing (mp4) working, but since I make no special efforts to keep audio and video synchronized, they desynchronize after a few minutes. My questions are as follows: 1. I

[Libav-user] A/V synchronization for an emulator movie recording feature

2013-10-25 Thread Ulf Magnusson
Hello, I'm adding a movie recording feature to an emulator I'm working on. I have the video part working, but since I'm new to movie encoding I'm unsure what the best practices are when it comes to audio/video synchronization. I'm aware of these two approaches: (1) Set PTS values on video and/or