AW: playback H264 encoded file too fast

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jul 12 02:37:39 UTC 2019


Le jeudi 11 juillet 2019 à 12:17 -0500, jles a écrit :
> Hi, Thanks for that.
> 
> I added to the pipeline: (....)-> h264parse->mp4mux->filesink, and it
> generates a mp4 file.
> 
> But unfortunately still happening the "too fast playing" issue.
> 
> Running: ffprobe -i output.mp4 I've got:
> 
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
>   Metadata:
>     major_brand     : mp42
>     minor_version   : 0
>     compatible_brands: mp42mp41isomiso2
>     creation_time   : 2019-07-10 08:55:51
>   Duration: 00:00:00.86, start: 0.000000, bitrate: 42973 kb/s

Could be your timestamp being a factor of 10 off, GStreamer timestamp
are in nanosecond, let's say you had used us instead it would mean this
.86 second stream should have been 8.6s

>     Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 /
> 0x31637661), yuv420p(tv, bt470bg), 1280x1024, 42910 kb/s, SAR 1:1 DAR 5:4,
> 66 fps, 66 tbr, 6600 tbn, 132 tbc (default)
>     Metadata:
>       creation_time   : 2019-07-10 08:55:51
>       handler_name    : VideoHandler
> 
> 
> Any ideas?
> Thanks
> 
> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list