don't know how to handle video/x-gst-fourcc-dvhp
Tim-Philipp Müller
t.i.m at zen.co.uk
Fri May 13 15:14:09 PDT 2011
On Fri, 2011-05-13 at 17:24 -0400, jin wrote:
Hi,
as you suspect it's a mapping issue, either just in qtdemux (and other
demuxers possibly) or also in gst-ffmpeg.
It would be good if you could file a bug in bugzilla
( http://gstreamer.freedesktop.org/bugs/ ) and make sample file
available somewhere (even the first 1MB of the file might be useful
already: head --bytes=990k foo.mov > start.mov)
If you can come up with a patch, that'd be even better of course (add it
to the bug in bugzilla then please).
Thanks!
Cheers
-Tim
> I have an update to this issue. It seems that qtdemux bin doesn't know to
> forward the dvhp codec to an appropriate caps, and defaults to the following
> line in qtdemux.c:
>
> (line 9071 to 9080)
> case GST_MAKE_FOURCC ('k', 'p', 'c', 'd'):
> default:
> {
> char *s;
>
> s = g_strdup_printf ("video/x-gst-fourcc-%" GST_FOURCC_FORMAT,
> GST_FOURCC_ARGS (fourcc));
> caps = gst_caps_new_simple (s, NULL);
> break;
> }
>
> I'm going to try to add to this method to properly assign a caps so that
> ffmpeg plugin can pick up on the media with dvhp codec..
>
>
> As always, any input will be greatly appreciated.
>
> Thanks!
> --
> Jin
>
>
> On Thursday 12 May 2011 6:48:07 pm jin wrote:
> > Hello,
> >
> > I have been successful in using gstreamer and its plugins to play majority
> > of the video file formats within Qt Phonon with gstreamer backend. I'd
> > like to thank all contributors of the gstreamer for creating this
> > fantastic media framework!
> >
> > I am able to play most of the Quicktime videos with gst-ffmpeg plugin with
> > an exception to one particular HD Quicktime video. I am able to play the
> > file with ffmpeg just fine, but gstreamer compains that it cannot handle
> > the file.
> >
> > Here is my command line pipeline that duplicates the problem:
> > ./gst-launch playbin uri=file:///0002DC.mov
> >
> > And the message I receive:
> > Setting pipeline to PAUSED ...
> > Pipeline is PREROLLING ...
> > ** Message: don't know how to handle video/x-gst-fourcc-dvhp,
> > width=(int)960, height=(int)720, framerate=(fraction)2997/50,
> > pixel-aspect-ratio=(fraction)1/1 Pipeline is PREROLLED ...
> > Setting pipeline to PLAYING ...
> > New clock: GstAudioSinkClock
> > Got EOS from element "playbin0".
> > Execution ended after 14914789298 ns.
> > Setting pipeline to PAUSED ...
> > Setting pipeline to READY ...
> > Setting pipeline to NULL ...
> > Freeing pipeline ...
> >
> > Seeing that ffmpeg already knows how to handle the dvhp codec, I am
> > thinking that ffmpeg plugin is not including the 'video/x-gst-fourcc-dvhp'
> > caps although it can handle it.
> >
> > What are your thoughts?
> > Any insight would be appreciated.
> >
> > Thank you very much!
> >
>
More information about the gstreamer-devel
mailing list