gstreamer 1.4 vaapi 0.7 and playbin

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

gstreamer 1.4 vaapi 0.7 and playbin

Matwey V. Kornilov
Hello,

I am using vaapi 0.7 plugin with gstreamer 1.4.3

The following command plays the video successfully:

gst-launch-1.0 -v filesrc location=h264_sintel_trailer-1080p.mp4 !
qtdemux ! vaapidecode ! vaapisink

At the same time, playbin doesn't play video:

gst-launch-1.0 -v playbin
uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4

The output is available here: http://susepaste.org/85294069

How could I fix that?

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Victor Jaquez
On 03/03/16 at 02:47pm, Matwey V. Kornilov wrote:

> Hello,
>
> I am using vaapi 0.7 plugin with gstreamer 1.4.3
>
> The following command plays the video successfully:
>
> gst-launch-1.0 -v filesrc location=h264_sintel_trailer-1080p.mp4 !
> qtdemux ! vaapidecode ! vaapisink
>
> At the same time, playbin doesn't play video:
>
> gst-launch-1.0 -v playbin
> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
>
> The output is available here: http://susepaste.org/85294069

Could you post a log with GST_DEBUG="*:3,vaap*:5"???

>
> How could I fix that?
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Matwey V. Kornilov
03.03.2016 15:20, Víctor M. Jáquez L. пишет:

> On 03/03/16 at 02:47pm, Matwey V. Kornilov wrote:
>> Hello,
>>
>> I am using vaapi 0.7 plugin with gstreamer 1.4.3
>>
>> The following command plays the video successfully:
>>
>> gst-launch-1.0 -v filesrc location=h264_sintel_trailer-1080p.mp4 !
>> qtdemux ! vaapidecode ! vaapisink
>>
>> At the same time, playbin doesn't play video:
>>
>> gst-launch-1.0 -v playbin
>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
>>
>> The output is available here: http://susepaste.org/85294069
>
> Could you post a log with GST_DEBUG="*:3,vaap*:5"???

Hello,

Output of the command
(echo "GST_DEBUG=$GST_DEBUG"; gst-launch-1.0 -v playbin
uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4)

can be found here: http://paste.opensuse.org/54930061

>
>>
>> How could I fix that?
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Victor Jaquez
On 03/03/16 at 05:01pm, Matwey V. Kornilov wrote:

> 03.03.2016 15:20, Víctor M. Jáquez L. пишет:
> > On 03/03/16 at 02:47pm, Matwey V. Kornilov wrote:
> >> Hello,
> >>
> >> I am using vaapi 0.7 plugin with gstreamer 1.4.3
> >>
> >> The following command plays the video successfully:
> >>
> >> gst-launch-1.0 -v filesrc location=h264_sintel_trailer-1080p.mp4 !
> >> qtdemux ! vaapidecode ! vaapisink
> >>
> >> At the same time, playbin doesn't play video:
> >>
> >> gst-launch-1.0 -v playbin
> >> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
> >>
> >> The output is available here: http://susepaste.org/85294069
> >
> > Could you post a log with GST_DEBUG="*:3,vaap*:5"???
>
> Hello,
>
> Output of the command
> (echo "GST_DEBUG=$GST_DEBUG"; gst-launch-1.0 -v playbin
> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4)
>
> can be found here: http://paste.opensuse.org/54930061

Now I kind of remember this bug. The decoder wants to push buffers but it is
not linked.

0:00:00.318893815  6833 0x7f78a800e320 INFO             vaapidecode gstvaapidecode.c:374:gst_vaapidecode_push_decoded_frame:<vaapidecode> downstream element rejected the frame (not-linked [-1])

You should upgrade to gstreamer 1.4.5 or better, the current stable 1.6.3

A workaround should be to set manually the videosink

gst-launch-1.0 -v playbin
uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 video-sink=vaapisink

> >
> >>
> >> How could I fix that?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Matwey V. Kornilov
03.03.2016 17:38, Víctor M. Jáquez L. пишет:

> On 03/03/16 at 05:01pm, Matwey V. Kornilov wrote:
>> 03.03.2016 15:20, Víctor M. Jáquez L. пишет:
>>> On 03/03/16 at 02:47pm, Matwey V. Kornilov wrote:
>>>> Hello,
>>>>
>>>> I am using vaapi 0.7 plugin with gstreamer 1.4.3
>>>>
>>>> The following command plays the video successfully:
>>>>
>>>> gst-launch-1.0 -v filesrc location=h264_sintel_trailer-1080p.mp4 !
>>>> qtdemux ! vaapidecode ! vaapisink
>>>>
>>>> At the same time, playbin doesn't play video:
>>>>
>>>> gst-launch-1.0 -v playbin
>>>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
>>>>
>>>> The output is available here: http://susepaste.org/85294069
>>>
>>> Could you post a log with GST_DEBUG="*:3,vaap*:5"???
>>
>> Hello,
>>
>> Output of the command
>> (echo "GST_DEBUG=$GST_DEBUG"; gst-launch-1.0 -v playbin
>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4)
>>
>> can be found here: http://paste.opensuse.org/54930061
>
> Now I kind of remember this bug. The decoder wants to push buffers but it is
> not linked.

Does this bug have a bugzilla entry, or could you point a specific
commit where it fixed?

>
> 0:00:00.318893815  6833 0x7f78a800e320 INFO             vaapidecode gstvaapidecode.c:374:gst_vaapidecode_push_decoded_frame:<vaapidecode> downstream element rejected the frame (not-linked [-1])
>
> You should upgrade to gstreamer 1.4.5 or better, the current stable 1.6.3
>
> A workaround should be to set manually the videosink
>
> gst-launch-1.0 -v playbin
> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 video-sink=vaapisink
>
>>>
>>>>
>>>> How could I fix that?
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Victor Jaquez
On 03/03/16 at 05:43pm, Matwey V. Kornilov wrote:

> >>
> >> Output of the command
> >> (echo "GST_DEBUG=$GST_DEBUG"; gst-launch-1.0 -v playbin
> >> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4)
> >>
> >> can be found here: http://paste.opensuse.org/54930061
> >
> > Now I kind of remember this bug. The decoder wants to push buffers but it is
> > not linked.
>
> Does this bug have a bugzilla entry, or could you point a specific
> commit where it fixed?

Not exactly, but it relates to me when I was working with
https://bugzilla.gnome.org/show_bug.cgi?id=743687

Though it was related with cluttersink, not vaapisink and it was already with
gstreamer 1.4.5

vmjl

>
> >
> > 0:00:00.318893815  6833 0x7f78a800e320 INFO             vaapidecode gstvaapidecode.c:374:gst_vaapidecode_push_decoded_frame:<vaapidecode> downstream element rejected the frame (not-linked [-1])
> >
> > You should upgrade to gstreamer 1.4.5 or better, the current stable 1.6.3
> >
> > A workaround should be to set manually the videosink
> >
> > gst-launch-1.0 -v playbin
> > uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 video-sink=vaapisink
> >
> >>>
> >>>>
> >>>> How could I fix that?
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Matwey V. Kornilov
In reply to this post by Matwey V. Kornilov
03.03.2016 17:43, Matwey V. Kornilov пишет:

> 03.03.2016 17:38, Víctor M. Jáquez L. пишет:
>> On 03/03/16 at 05:01pm, Matwey V. Kornilov wrote:
>>> 03.03.2016 15:20, Víctor M. Jáquez L. пишет:
>>>> On 03/03/16 at 02:47pm, Matwey V. Kornilov wrote:
>>>>> Hello,
>>>>>
>>>>> I am using vaapi 0.7 plugin with gstreamer 1.4.3
>>>>>
>>>>> The following command plays the video successfully:
>>>>>
>>>>> gst-launch-1.0 -v filesrc location=h264_sintel_trailer-1080p.mp4 !
>>>>> qtdemux ! vaapidecode ! vaapisink
>>>>>
>>>>> At the same time, playbin doesn't play video:
>>>>>
>>>>> gst-launch-1.0 -v playbin
>>>>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
>>>>>
>>>>> The output is available here: http://susepaste.org/85294069
>>>>
>>>> Could you post a log with GST_DEBUG="*:3,vaap*:5"???
>>>
>>> Hello,
>>>
>>> Output of the command
>>> (echo "GST_DEBUG=$GST_DEBUG"; gst-launch-1.0 -v playbin
>>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4)
>>>
>>> can be found here: http://paste.opensuse.org/54930061
>>
>> Now I kind of remember this bug. The decoder wants to push buffers but it is
>> not linked.
>
> Does this bug have a bugzilla entry, or could you point a specific
> commit where it fixed?
>
>>
>> 0:00:00.318893815  6833 0x7f78a800e320 INFO             vaapidecode gstvaapidecode.c:374:gst_vaapidecode_push_decoded_frame:<vaapidecode> downstream element rejected the frame (not-linked [-1])
>>
>> You should upgrade to gstreamer 1.4.5 or better, the current stable 1.6.3
>>
>> A workaround should be to set manually the videosink
>>
>> gst-launch-1.0 -v playbin
>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 video-sink=vaapisink
>>

Workaround

gst-launch-1.0 -v playbin
uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
video-sink=vaapisink

doesn't work also, its output is here: http://susepaste.org/10357329

>>>>
>>>>>
>>>>> How could I fix that?
>> _______________________________________________
>> gstreamer-devel mailing list
>> [hidden email]
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Victor Jaquez
On 03/03/16 at 08:41pm, Matwey V. Kornilov wrote:

> >>
> >> You should upgrade to gstreamer 1.4.5 or better, the current stable 1.6.3
> >>
> >> A workaround should be to set manually the videosink
> >>
> >> gst-launch-1.0 -v playbin
> >> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 video-sink=vaapisink
> >>
>
> Workaround
>
> gst-launch-1.0 -v playbin
> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
> video-sink=vaapisink
>
> doesn't work also, its output is here: http://susepaste.org/10357329

My last card would be use flags=0x17 in the pipeline

gst-launch-1.0 -v playbin
uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 flags=0x17

as in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762579

But, as far as i remember, it was fixed in gstreamer's playbin, not in
gstreamer-vaapi, that is why I strongly recommend you to upgrade, at least, to
gstreamer 1.4.5
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Matwey V. Kornilov
04.03.2016 11:55, Víctor M. Jáquez L. пишет:

> On 03/03/16 at 08:41pm, Matwey V. Kornilov wrote:
>>>>
>>>> You should upgrade to gstreamer 1.4.5 or better, the current stable 1.6.3
>>>>
>>>> A workaround should be to set manually the videosink
>>>>
>>>> gst-launch-1.0 -v playbin
>>>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 video-sink=vaapisink
>>>>
>>
>> Workaround
>>
>> gst-launch-1.0 -v playbin
>> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4
>> video-sink=vaapisink
>>
>> doesn't work also, its output is here: http://susepaste.org/10357329
>
> My last card would be use flags=0x17 in the pipeline
>
> gst-launch-1.0 -v playbin
> uri=file:///home/matwey/temp/h264_sintel_trailer-1080p.mp4 flags=0x17
>
> as in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762579
>
> But, as far as i remember, it was fixed in gstreamer's playbin, not in
> gstreamer-vaapi, that is why I strongly recommend you to upgrade, at least, to
> gstreamer 1.4.5

I've installed 1.4.5, but it seems that nothing still works

http://susepaste.org/4998359

> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Victor Jaquez
On 03/05/16 at 12:33pm, Matwey V. Kornilov wrote:

> 04.03.2016 11:55, Víctor M. Jáquez L. пишет:
> > On 03/03/16 at 08:41pm, Matwey V. Kornilov wrote:
> >
> > But, as far as i remember, it was fixed in gstreamer's playbin, not in
> > gstreamer-vaapi, that is why I strongly recommend you to upgrade, at least, to
> > gstreamer 1.4.5
>
> I've installed 1.4.5, but it seems that nothing still works
>
> http://susepaste.org/4998359

I have setup a 1.4.5 environment and playbin with vaapidecode and vaapisink
works fairly OK.

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /opt/gnome/jh/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Got context from element 'vaapidecode': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL;
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstPulseSinkClock

You should figure out why in your setup the autoplugin is not done with a
GST_DEBUG=5

If you upload the log I could look it up again later.

vmjl
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer 1.4 vaapi 0.7 and playbin

Matwey V. Kornilov
07.03.2016 23:39, Víctor M. Jáquez L. пишет:

> On 03/05/16 at 12:33pm, Matwey V. Kornilov wrote:
>> 04.03.2016 11:55, Víctor M. Jáquez L. пишет:
>>> On 03/03/16 at 08:41pm, Matwey V. Kornilov wrote:
>>>
>>> But, as far as i remember, it was fixed in gstreamer's playbin, not in
>>> gstreamer-vaapi, that is why I strongly recommend you to upgrade, at least, to
>>> gstreamer 1.4.5
>>
>> I've installed 1.4.5, but it seems that nothing still works
>>
>> http://susepaste.org/4998359
>
> I have setup a 1.4.5 environment and playbin with vaapidecode and vaapisink
> works fairly OK.
Now I use 1.4 branch from git, with commit
6379b7a07b2212db39d26609635fb5b3b904c7d2
log.xz is attached here.


>
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> libva info: VA-API version 0.39.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /opt/gnome/jh/lib/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_39
> libva info: va_openDriver() returns 0
> Got context from element 'vaapidecode': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)NULL;
> Redistribute latency...
> Redistribute latency...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstPulseSinkClock
>
> You should figure out why in your setup the autoplugin is not done with a
> GST_DEBUG=5
>
> If you upload the log I could look it up again later.
>
> vmjl
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

log.xz (681K) Download Attachment