H264 problems

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

H264 problems

Martin-294
Hi,

I've created the following pipeline:

gst-launch-0.10 -v dv1394src ! queue ! dvdemux name=d d. ! queue ! dvdec
! "video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720,
height=(int)576, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)59/54, interlaced=(boolean)true" ! queue !
deinterlace ! queue ! ffmpegcolorspace ! "video/x-raw-yuv,
format=(fourcc)I420, width=(int)720, height=(int)576,
framerate=(fraction)50/1, pixel-aspect-ratio=(fraction)59/54" ! queue !
videorate ! queue ! videoscale ! "video/x-raw-yuv, format=(fourcc)I420,
width=(int)720, height=(int)576, framerate=(fraction)25/1,
pixel-aspect-ratio=(fraction)59/54" ! queue ! x264enc bitrate=50 ! queue
! ffdec_h264 ! xvimagesink sync=false

However, it's not working properly because if I increase the
bitrate/resolution/frame rate the video is slower than it shoud. I mean
what a video should take 10 seconds to play it takes 13 seconds.

I don't know why but when I use my capture card instead of the firewire
source everything works nicely.

Any ideas?

Thank you.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: H264 problems

Andoni Morales
2010/3/16 Martin <[hidden email]>:

> Hi,
>
> I've created the following pipeline:
>
> gst-launch-0.10 -v dv1394src ! queue ! dvdemux name=d d. ! queue ! dvdec
> ! "video/x-raw-yuv, format=(fourcc)YUY2, width=(int)720,
> height=(int)576, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)59/54, interlaced=(boolean)true" ! queue !
> deinterlace ! queue ! ffmpegcolorspace ! "video/x-raw-yuv,
> format=(fourcc)I420, width=(int)720, height=(int)576,
> framerate=(fraction)50/1, pixel-aspect-ratio=(fraction)59/54" ! queue !
> videorate ! queue ! videoscale ! "video/x-raw-yuv, format=(fourcc)I420,
> width=(int)720, height=(int)576, framerate=(fraction)25/1,
> pixel-aspect-ratio=(fraction)59/54" ! queue ! x264enc bitrate=50 ! queue
> ! ffdec_h264 ! xvimagesink sync=false
>
> However, it's not working properly because if I increase the
> bitrate/resolution/frame rate the video is slower than it shoud. I mean
> what a video should take 10 seconds to play it takes 13 seconds.
There is a bug in the dv1394src element clock which make it  a 30%
faster than what it should be.
There is an opened bug[1] related to the issue and I already proposed
a patch to fix it. I would be nice if you could test it to double
check that it fixes the bug :)
Cheers,
Andoni

[1]https://bugzilla.gnome.org/show_bug.cgi?id=593910

>
> I don't know why but when I use my capture card instead of the firewire
> source everything works nicely.
>
> Any ideas?
>
> Thank you.
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel