RTP H264 encoding problem - bad files duration

Julio jeloguin at gmail.com
Fri Sep 18 08:51:45 PDT 2015


Hello, my name is Julio.

I´m new in GStreamer,  and I´m developping an app that consist in capture
live Rtp h264 packets, and store in multi files. The pipeline looks like
this:

    udpsrc -> rtpjitterbuffer -> rtph264depay -> avdec_h264 -> x264enc ->
mp4mux ->filesink

And I´m changing dinamically the location of the file sink.

The pipeline works ok, the files are generated, but I have one problem... 
the timestamps are not reset when I changue to new file and, the generated
file has it´s duration plus the duration if the earlier files ... I mean ...
If I start the pipeline for 15 seconds, and changue to new file, wait 15
seconds and stop the pipeline, the result is one file with duration of 15
seconds, and another file with duration of 30 seconds, but if I open the
file with VLC; there are only 15 seconds of video !!! ( the first 15 seconds
are blank ).

Do you have any idea ?

The Rtp I am receiving is H264 variable bitrate, and variable frame rate ...

Thanks ind advance !!!

Regards !!




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list