AW: RTP H264 encoding problem - bad files duration

Tim Müller tim at centricular.com
Mon Sep 21 08:40:06 PDT 2015


On Mon, 2015-09-21 at 07:23 -0700, Julio wrote:

Julio,

multifilesink will not work with mp4mux.

Try the new splitmuxsink (new in 1.5.x).

 Cheers
  -Tim


> Hi Keith.
> 
> I`ve tried withmatroskamux, qtmux, with no luck !!!. 
> 
> I think the problem is about timestamps ... because the source is a
> live source ...
> 
> Is there any way to clrear ( by code ) the pipeline clock, or set the
> timestamp to 0 ?
> 
> 
> 2015-09-21 13:55 GMT+02:00 Thornton, Keith [via GStreamer-devel]
> <[hidden email]>:
> > And you might like to try qtmux instead of mp4mux
> >  
> > Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Julio
> > Gesendet: Montag, 21. September 2015 12:25
> > An: [hidden email]
> > Betreff: Re: AW: RTP H264 encoding problem - bad files duration
> >  
> > Hi Keith.
> >  
> > First of all, thanks for the support !!!
> >  
> > I've tried with this pipeline:
> >  
> > gst-launch-1.0 udpsrc port=9000 caps="application/x-rtp,
> > media=video, clock-rate=(int)90000, encoding-name=H264" !
> > rtph264depay ! h264parse ! video/x-h264, stream
> > -format="avc",alignment="au" ! mp4mux fragment-duration=10 !
> > multifilesin
> > k next-file=4 max-file-size=10147483
> > location=C:\\Users\\x51085fr\\Videos\\video-%03d.mp4
> >  
> > And it works, but only with the first file, the second file is not
> > playable 
> >  
> > Mediainfo tells me this about first file:
> >  
> >  General
> >  Complete name :	 C:\Users\x51085fr\Videos\video-000.mp4
> >  Format :	 MPEG-4
> >  Format profile :	 Base Media / Version 2
> >  Codec ID :	 mp42
> >  File size :	 9.68 MiB
> >  Duration :	 9mn 31s
> >  Overall bit rate :	 142 Kbps
> >  Encoded date :	 UTC 2015-09-21 09:20:09
> >  Tagged date :	 UTC 2015-09-21 09:20:09
> > 
> >  
> >  
> > But I get this info about the second and others ones ...
> >  
> >  General
> >  Complete name :	 C:\Users\x51085fr\Videos\video-001.mp4
> >  Format :	 QuickTime
> >  Format/Info :	 Original Apple specifications
> >  File size :	 9.44 MiB
> >  Encoded date :	 UTC 2015-09-21 09:20:09
> >  Tagged date :	 UTC 2015-09-21 09:20:09
> >  
> >  
> > Thanks a lot !!!!
> >  
> >  
> >  
> >  
> >  
> >  
> > 2015-09-21 10:25 GMT+02:00 Thornton, Keith [via GStreamer-devel]
> > <[hidden email]>:
> > Not h264_parse, try h264parse ! video/x-h264,stream
> > -format=”avc”,alignment=”au” ! mp4mux
> >  
> >  
> >  
> >  
> > Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Julio
> > Franco
> > Gesendet: Montag, 21. September 2015 09:52
> > An: Discussion of the development of and with GStreamer
> > Betreff: Re: AW: RTP H264 encoding problem - bad files duration
> >  
> > Tried with this pipeline :
> >  
> >  gst-launch-1.0 udpsrc port=9000 caps="application/x-rtp,
> > media=video, clock-rate=(int)90000, encoding-name=H264" !
> > rtph264depay ! h264_parse ! mp4mux ! fakesink dump=true
> >  
> > And receive the error: " Downstream is not seekable - will not be
> > able to create a playable file  "
> >  
> > I can not set caps properties to h264_parse ...
> >  
> >  
> >  
> > 2015-09-21 9:42 GMT+02:00 Thornton, Keith <[hidden email]>:
> > Have you tried putting h264parse and perhaps a caps filter for
> > stream-format=avc,alignment=au between rtph264depay and mp4mux
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Julio
> > Gesendet: Montag, 21. September 2015 09:09
> > An: [hidden email]
> > Betreff: Re: AW: RTP H264 encoding problem - bad files duration
> > 
> > Hi Keith.
> > 
> > I've tried with miltifilesink, but with the same result. I think
> > that the problem is packets are comming to me with the start time
> > udpsrc begin to work, and I´m not able to changue it ....
> > 
> > And I´m decoding -reencoding because I can not connect directly
> > rtph264depay to the mp4mux, I get an error " can connect depay to
> > muxer ".
> > 
> > Any idea about reset timestamps or something like that ??
> > 
> > Thanks a lot !!
> > 
> > 
> > 
> > 
> > --
> > View this message in context: http://gstreamer-devel.966125.n4.nabb
> > le.com/RTP-H264-encoding-problem-bad-files-duration
> > -tp4673714p4673742.html
> > Sent from the GStreamer-devel mailing list archive at Nabble.com.
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >  
> > 
> > _______________________________________________ 
> > gstreamer-devel mailing list 
> > [hidden email] 
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> > 
> > If you reply to this email, your message will be added to the
> > discussion below:
> > http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-probl
> > em-bad-files-duration-tp4673714p4673746.html
> > To unsubscribe from RTP H264 encoding problem - bad files duration,
> > click here.
> > NAML
> >  
> >  
> > View this message in context: Re: AW: RTP H264 encoding problem -
> > bad files duration
> > Sent from the GStreamer-devel mailing list archive at Nabble.com.
> > 
> > _______________________________________________ 
> > gstreamer-devel mailing list 
> > [hidden email] 
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > 
> > 
> > If you reply to this email, your message will be added to the
> > discussion below:
> > http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-probl
> > em-bad-files-duration-tp4673714p4673752.html
> > To unsubscribe from RTP H264 encoding problem - bad files duration,
> > click here.
> > NAML
> > 
> 
> View this message in context: Re: AW: RTP H264 encoding problem - bad
> files duration
> 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
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference: 8-9 October 2015 in Dublin, Ireland





More information about the gstreamer-devel mailing list