[vlc-commits] transcode: rewrite fps/lipsync code

Ilkka Ollakka git at videolan.org
Sat Nov 16 16:10:03 CET 2013


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Nov 11 19:08:41 2013 +0200| [023fa8c432451c86f3792a54bbdd90723f2238f9] | committer: Ilkka Ollakka

transcode: rewrite fps/lipsync code

Add some comments on how the code should work. Basic idea is first
check input lipsync against audio track. Then check if we can drop the
picture based on output pts and then do same checked in OutputFrame as
some filters can output multiple pictures (yadif2x etc).

simple framerate conversion from 25 worked to 4,5,10,20,23,29.97,50.60.
Not sure if yadif2x and all work fully yet.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=023fa8c432451c86f3792a54bbdd90723f2238f9
---

 modules/stream_out/transcode/audio.c     |    4 +-
 modules/stream_out/transcode/transcode.h |    6 +-
 modules/stream_out/transcode/video.c     |  241 ++++++++++++++++++------------
 3 files changed, 154 insertions(+), 97 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=023fa8c432451c86f3792a54bbdd90723f2238f9


More information about the vlc-commits mailing list