Hi,

Could the out-of-sync result from dropping out corrupt frames?  ..

To re-encode the video, you could try .. (substituting ffmpeg with avconv below should work..):

ffmpeg -i input.mkv -filter_complex "[0:v] fps=25" output.mkv

.. I think that should enforce fixed frame rate and fix the corrupt frames.

Regards,

Sampsa

On 21.04.2015 17:08, Derrell Lipman wrote:
I have a .mkv file that plays properly using avplay 0.8.17 from Ubuntu (with no specified command-line options), but plays with video/audio out of sync when using any other program I've tried. I have been unsuccessful at finding avconv options that will convert this file to .mp4 with proper video/audio sync. *What are the avconv options that are equivalent to the defaults of avplay?*

The file is an hour-long video, so it would be useful, for testing, to use the -t option to convert only the first N seconds of the video, but that option seems to have no effect.

Your help will be greatly appreciated! Following is the output of avprobe on my .mkv file.


avprobe version 0.8.17, Copyright (c) 2007-2014 the Libav developers
  built on Apr 21 2015 09:23:53 with gcc 4.6.3
[matroska,webm @ 0x2450760] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/tmp/11-00-02.mkv':
  Metadata:
    ENCODER         : Lavf55.33.101
  Duration: 01:13:40.08, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Video: h264 (Baseline), yuvj420p, 1920x1080, PAR 1:1 DAR 16:9, 60 fps, 19.92 tbr, 1k tbn, 60 tbc (default) Stream #0.1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s (default)

Thank you very much,

Derrell


_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to