AW: RTP H264 encoding problem - bad files duration
Thornton, Keith
keith.thornton at zeiss.com
Mon Sep 21 00:01:50 PDT 2015
Hi,
Have you tried using multifilesink?
Why are you decoding and then re-encoding h264?
-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Julio
Gesendet: Freitag, 18. September 2015 17:52
An: gstreamer-devel at lists.freedesktop.org
Betreff: RTP H264 encoding problem - bad files duration
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.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list