Pb with fps with mp4mux

Guillaume CLODIC guillaume.clodic at ifremer.fr
Tue Dec 3 14:27:50 UTC 2019


i have a rtp h264 encoder with an 1080i (yes interlaced) SDI input.

When i save the stream as a raw ts file with the following command :

  gst-launch-1.0 -e -v udpsrc port=46234 ! filesink location=file.ts

i then check the file with ffprobe and it says me that the fps is 25 (ok 
europe standard) and 50 tbc

when i try to save the file as mp4 with this :

  gst-launch-1.0 -e -v udpsrc port=46234 ! tsdemux ! video/x-h264 ! 
queue ! h264parse ! mp4mux ! filesink location=file.mp4

with ffprobe fps is 49.38 (or .60 or else) tbc is 50 and the file cannot 
be imported in professionnal movie editors such adobe premiere.

does anyone as an idea how to obtain a mp4 file with the correct fps (ie 
25) ?



More information about the gstreamer-devel mailing list