AW: AW: RTP H264 encoding problem - bad files duration

Thornton, Keith keith.thornton at zeiss.com
Mon Sep 21 04:54:16 PDT 2015


Jan Schmidt has been doing a lot of work on Multifilesink recently. If possible try it with the newly released 1.5.90/1.5.91

Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Julio
Gesendet: Montag, 21. September 2015 12:25
An: gstreamer-devel at lists.freedesktop.org
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]</user/SendEmail.jtp?type=node&node=4673749&i=0>>:
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.
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: Re: AW: RTP H264 encoding problem - bad files duration<http://gstreamer-devel.966125.n4.nabble.com/RTP-H264-encoding-problem-bad-files-duration-tp4673714p4673749.html>
Sent from the GStreamer-devel mailing list archive<http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150921/3e3abf43/attachment-0001.html>


More information about the gstreamer-devel mailing list