splitmuxsink generates first file with bad duration

Thiago Santos thiagoss at osg.samsung.com
Thu Feb 11 17:11:22 UTC 2016


On 02/11/2016 12:30 PM, Julio wrote:
> Hi guys.
>
> I have a pipeline tahts works in this manner:
>      - Receives networks H264 RTP packets
>      - Sends this packets over UDP
>      - Generates a JPG image every X seconds
>      - Eventually encode that packets into h264 with splitmuxsink.
>
> This is the whole pipeline:
>
> UDPSRC->TEE->UDPSINK
>                     
> ->RTPH264DEPAY->AVDEC_h264->TEE->VIDEORATE->JPGENC->MULTIFILESRC
>                                                                           
> ->X264ENC->SPLITMUXSINK (record branch )
>
> The record brach is added/removed eventually, requesting new tee pad and
> adding all the elements wigout stopping the pipeline..
>
> The pipeline works, but my problem is that the first file splitmuxsink
> generates is always less than the segment I have configured. For example, if
> I configure the splitmuxsink to cut every 30 seconds, the first file is
> always less than 30 seconds, but the rest files are ok ...
>
> I have tried configuring h264 encoder properties with no luck ...
>
> The H264 I receive over the network is VBR and variable frame rate.
>
> Any ideas ?
Are you using a recent version? 1.6 or 1.7?

I'd recommend trying a recent version and checking if it still happens. 
If the same bug can be reproduced in those versions, could you please 
file a bug about it? 
https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

Attaching a sample application to reproduce the issue will make it 
easier for maintainers to fix it.

Thanks!
>
> Thanks a lot !!!
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/splitmuxsink-generates-first-file-with-bad-duration-tp4675798.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


-- 
Thiago Sousa Santos
Senior Multimedia Engineer, Open Source Group
Samsung Research America - Silicon Valley



More information about the gstreamer-devel mailing list