Video and audio speed issue?

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

Video and audio speed issue?

ogara
Hello,
If I try playing just a sound from my video with following pipeline:
gst-launch-0.10 filesrc location=MPEG4_MOVIE ! qtdemux name=t !  queue ! faad ! alsasink
sound plays just fine and song duration is 38 seconds.
If I play video only using following pipeline:
gst-launch-0.10 filesrc location=MPEG4_MOVIE ! qtdemux name=t ! queue  ! mpeg4dec ! mySink
video plays just fine in duration of 38 seconds.
However, if I play both of them like:
gst-launch-0.10 filesrc location=MPEG4_MOVIE ! qtdemux name=t ! queue  ! mpeg4dec ! mySink t. ! queue ! faad !  alsasink
everything is much faster and the whole thing is over in 26 seconds.
Any idea what might be causing this?
Cheers
Ogi

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Video and audio speed issue?

Marco Ballesio
Hi,

On Sat, Dec 25, 2010 at 1:21 AM, Radivoje Jovanovic
<[hidden email]> wrote:

> Hello,
> If I try playing just a sound from my video with following pipeline:
> gst-launch-0.10 filesrc location=MPEG4_MOVIE ! qtdemux name=t !  queue !
> faad ! alsasink
> sound plays just fine and song duration is 38 seconds.
> If I play video only using following pipeline:
> gst-launch-0.10 filesrc location=MPEG4_MOVIE ! qtdemux name=t ! queue  !
> mpeg4dec ! mySink
> video plays just fine in duration of 38 seconds.
> However, if I play both of them like:
> gst-launch-0.10 filesrc location=MPEG4_MOVIE ! qtdemux name=t ! queue  !
> mpeg4dec ! mySink t. ! queue ! faad !  alsasink
> everything is much faster and the whole thing is over in 26 seconds.
> Any idea what might be causing this?

there may be several reasons for such a behavior, ranging from an
incorrect clip to wrongly behaving elements in the pipeline.

Some suggestions:

- replace your sink elements with fakesinks and enable gst-launch
verbosity by using its -v option.
- add some identity elements after the tee and set its check-perfect
proerty to "true".

Maybe you can post something here (use pastebin/txt attachments for
more than 10 lines please) after running those tests.

Regards

> Cheers
> Ogi
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel