Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

Overkill
Hi Thomas,

ffdec_h264 is working fine. Maybe you just miss a queue element in
your pipeline.


Regards,
Ivan

> "gst-launch-0.10 filesrc location=testfile.ts ! mpegtsdemux ! ffdec_h264 !
> xvimagesink"
>
[...]
>
> Setting sync=false for xvimagesink shows a smooth playback.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

Thomas Loewe
Hi Ivan,

> ffdec_h264 is working fine.

I don't know if the problem really comes from ffdec_h264, but other non h264 streams are working fine in my app (streaming client for satellite receivers). At the moment mpeg2 sd-streams are working fine, h264 hd-streams are unusable and the only element changed in the pipeline is mpeg2dec -> ffdec_h264.

> Maybe you just miss a queue element in your pipeline.

Before posting here i have tested queues at several positions in the pipeline - this doesn't change anything. The posted example was only the minimal pipeline for testing.

There are also lots of "GST_EVENT gstevent.c:847:gst_event_new_qos: creating qos proportion 2,305689, diff 784089392, timestamp 0:00:02.019711111" messages. I don't know if this is important to analyse the problem.

I can upload a testfile (recorded transportstream of hd-channel from astra) if this helps...

Thomas
Reply | Threaded
Open this post in threaded view
|

Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

Overkill
In reply to this post by Overkill
Hi Thomas,

anyway if the pipeline works with sync=false the problem is
the synchronization between audio and video.

Have you already tried videorate?

Ivan

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

Marc Leeman
In reply to this post by Overkill
> ffdec_h264 is working fine. Maybe you just miss a queue element in
> your pipeline.

Hm, don't be so sure.

> > Setting sync=false for xvimagesink shows a smooth playback.

I believe there was a check in in gst-ffmpeg that corrects h264
timestamping very recently.

I see that you are using a TS, there might be something off there too.


--
  greetz, marc
Radioactive cats have 18 half-lives.
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

Marc Leeman
In reply to this post by Overkill
> anyway if the pipeline works with sync=false the problem is
> the synchronization between audio and video.

That's not correct. We bump into problems like this on a fairly regular
basis. Most of our sources only do video.

In a lot of cases, there is something off with timestamping; there have
been a couple of commits recently on that in the respective components.

--
  greetz, marc
One has to look out for engineers -- they begin with sewing machines
and end up with the atomic bomb.
                -- Marcel Pagnol
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (204 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [ffdec_h264] problem with timestamps? (Thomas Loewe)

Thomas Loewe
In reply to this post by Overkill
> anyway if the pipeline works with sync=false the problem is the synchronization between audio and video.

How can this be the problem when the pipeline is video only?

> I believe there was a check in in gst-ffmpeg that corrects h264 timestamping very recently.

I'm using ffmpeg from 27.10.2010, the latest one available.