Jitter and pause in video playing using gstreamer ...

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

Jitter and pause in video playing using gstreamer ...

Wierd O

Hi all ,

I am using gstreamer to stream video from a file source in iMX27 freescale app processor. I have used the gst-launch command and i get the video output. But the video has jitter and sometimes pause for some time. I dont understand the problem since there is no error message. Here is the code for the output...

###################################################################################################

mx27# Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
WARNING: from element /pipeline0/demux: pads are not negotiated!
Additional debug info:
audio pads are not negotiated!
/pipeline0/mfwgstvpu_dec0.src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
/pipeline0/mfw_gst_v4lsink_info_t0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

###################################################################################################

Can somebody give me an idea where might be the problem ?

W.


Express yourself instantly with MSN Messenger! MSN Messenger
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Jitter and pause in video playing using gstreamer ...

Sudarshan Bisht
 Hi ,,
        Can you please tell what is the pipeline you are  running ?

On Tue, Dec 16, 2008 at 6:54 PM, Wierd O <[hidden email]> wrote:

Hi all ,

I am using gstreamer to stream video from a file source in iMX27 freescale app processor. I have used the gst-launch command and i get the video output. But the video has jitter and sometimes pause for some time. I dont understand the problem since there is no error message. Here is the code for the output...

###################################################################################################

mx27# Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
WARNING: from element /pipeline0/demux: pads are not negotiated!
Additional debug info:
audio pads are not negotiated!
/pipeline0/mfwgstvpu_dec0.src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
/pipeline0/mfw_gst_v4lsink_info_t0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

###################################################################################################

Can somebody give me an idea where might be the problem ?

W.


Express yourself instantly with MSN Messenger! MSN Messenger

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Jitter and pause in video playing using gstreamer and no full screen ...

Wierd O

Here is the pipeline ...

gst-launch filesrc -v location=/video/test.mp4 ! mfw_mp4demuxer name=demux demux. ! mfw_vpudecoder codec-type=std_mpeg4 ! mfw_v4lsink demux. &

In addition to that, the video that i am playing is 320x240 and I want to play it full screen on 800x600. I used "disp-width=800 disp-height=600". But I couldnt get the full screen output.

Regards,

W.

Date: Wed, 17 Dec 2008 10:26:21 +0530
From: [hidden email]
To: [hidden email]
Subject: Re: [gst-devel] Jitter and pause in video playing using gstreamer ...

 Hi ,,
        Can you please tell what is the pipeline you are  running ?

On Tue, Dec 16, 2008 at 6:54 PM, Wierd O <[hidden email]> wrote:

Hi all ,

I am using gstreamer to stream video from a file source in iMX27 freescale app processor. I have used the gst-launch command and i get the video output. But the video has jitter and sometimes pause for some time. I dont understand the problem since there is no error message. Here is the code for the output...

###################################################################################################

mx27# Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
WARNING: from element /pipeline0/demux: pads are not negotiated!
Additional debug info:
audio pads are not negotiated!
/pipeline0/mfwgstvpu_dec0.src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
/pipeline0/mfw_gst_v4lsink_info_t0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

###################################################################################################

Can somebody give me an idea where might be the problem ?

W.


Express yourself instantly with MSN Messenger! MSN Messenger

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




--
Regards,

Sudarshan Bisht


Express yourself instantly with MSN Messenger! MSN Messenger
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Jitter and pause in video playing using gstreamer ...

Eric Zhang-6
In reply to this post by Wierd O
Hi, gstreamer-devel:
 
    1. Add a probe in front of your sink element and print every buffer's timestamp. If the timestamp is discontinuous, consider all the elements in your pipeline which modified the timestamp.
 
    2. If the timestamp of buffer is OK, watch the CPU load. It is possible that your processor cannot decode quickly.
 
Eric Zhang
2008/12/16 Wierd O <[hidden email]>

Hi all ,

I am using gstreamer to stream video from a file source in iMX27 freescale app processor. I have used the gst-launch command and i get the video output. But the video has jitter and sometimes pause for some time. I dont understand the problem since there is no error message. Here is the code for the output...

###################################################################################################

mx27# Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
/pipeline0/mfwgstvpu_dec0.sink: caps = video/mpeg, mpegversion=(int)4, systemstream=(int)0, height=(int)240, width=(int)320, framerate=(fraction)24999/1000
WARNING: from element /pipeline0/demux: pads are not negotiated!
Additional debug info:
audio pads are not negotiated!
/pipeline0/mfwgstvpu_dec0.src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
/pipeline0/mfw_gst_v4lsink_info_t0.sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, num-buffers-required=(int)3
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

###################################################################################################

Can somebody give me an idea where might be the problem ?

W.


Express yourself instantly with MSN Messenger! MSN Messenger

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel