[FFmpeg-user] Video Duration Corruption

Edoceo, Inc. edoceo at gmail.com
Thu Aug 6 22:41:01 CEST 2015

I've got a few WebM videos that have crap data in them, for example
Input #0, matroska,webm, from
    encoder         : libwebm-
    creation_time   : 2019-12-06 10:12:56
  Duration: 22668:23:00.86, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0(eng): Audio: opus, 48000 Hz, mono, fltp (default)
    Stream #0:1(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 1k
tbr, 1k tbn, 1k tbc (default)

Notice this is 22668 hours long, it's really not.  Then I'd transcode into,
say ffvhuff/flac and the timing is still way off.  I've got the command and
output here:  http://edoceo.io/paste?p=BoIWim  I've tried other formats
(mp4/libx264/libvo_aac) and then sometimes my durations are reported OK but
then if I transcode back into WebM the duration goes way off again.

My first priority is to get this Duration stuff fixed and then find a good
A/V format for working with a lot of filter_complex things.

The larger goal is to take some of these original, suspect WebM files,
convert to some interim format with sanatized streams, do some
filter_complex things (scale, crop, overly, amix, concat) and then have a
nice, web compatible WebM file again.

I am not opposed to hiring an ffmpeg team member to solve my issues.


More information about the ffmpeg-user mailing list