AW: RTP H264 encoding problem - bad files duration

Julio jeloguin at gmail.com
Mon Sep 21 03:24:42 PDT 2015


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] <
ml-node+s966125n4673746h2 at n4.nabble.com>:

> Not h264_parse, try h264parse !
> video/x-h264,stream-format=”avc”,alignment=”au” ! mp4mux
>
>
>
>
>
>
>
>
>
> *Von:* gstreamer-devel [mailto:[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=4673746&i=0>] *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]
> <http:///user/SendEmail.jtp?type=node&node=4673746&i=1>>:
>
> 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]
> <http:///user/SendEmail.jtp?type=node&node=4673746&i=2>] Im Auftrag von
> Julio
> Gesendet: Montag, 21. September 2015 09:09
> An: [hidden email] <http:///user/SendEmail.jtp?type=node&node=4673746&i=3>
> 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.nabble.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:///user/SendEmail.jtp?type=node&node=4673746&i=4>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4673746&i=5>
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4673746&i=6>
> 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-problem-bad-files-duration-tp4673714p4673746.html
> To unsubscribe from RTP H264 encoding problem - bad files duration, click
> here
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4673714&code=amVsb2d1aW5AZ21haWwuY29tfDQ2NzM3MTR8LTE4MDE5OTg1MzQ=>
> .
> NAML
> <http://gstreamer-devel.966125.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673749.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150921/6e8f0c93/attachment.html>


More information about the gstreamer-devel mailing list