Stuttering when trying to decode stream encoded with omx
https://bugs.freedesktop.org/show_bug.cgi?id=106919
Bug ID: 106919
Summary: Stuttering when trying to decode stream encoded with
omx
Product: Mesa
Version: 18.0
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
We have the following configuration:
With this configuration:
Mesa 18.1.1 AMD Radeon R7 Graphics (CARRIZO, DRM 3.25.0, 4.17.0, LLVM 6.0.1)
When we decode with OMX a video that was previously encoded with OMX, the video seems to roll back a second once in a while (Please take a look to the videos, it is hard to explain what is happening).
We are accessing libmesa-omx with libomx-bellagio 0.9.3 and gstreamer 1.12.4
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #1 from Ricardo Ribalda <[email protected]> --- Created attachment 140154
--> https://bugs.freedesktop.org/attachment.cgi?id=140154&action=edit
Original file encoded with omx (one keyframe per second)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #2 from Ricardo Ribalda <[email protected]> --- Created attachment 140156
--> https://bugs.freedesktop.org/attachment.cgi?id=140156&action=edit
Sluttering (how do I see the video with omx decode)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
Julien Isorce <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected], | |[email protected]
--- Comment #3 from Julien Isorce <[email protected]> --- Is it a regression ? Was it working for you before on the same or other config ?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #4 from Ricardo Ribalda <[email protected]> --- I do not know. It is the first time that I use this configuration: omx for encoding and decoding.
The only thing that I know for sure is that the effect gets worse and worse if I increase the frequency of key frames.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #5 from Julien Isorce <[email protected]> --- Can you try gstreamer-vaapi ? to compare with another hw decoder. And with sw decoders in gstreamer it works ? And other players ?
I am trying to determine if the issue is only in the omx decoder.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #6 from Ricardo Ribalda <[email protected]> --- I tried this combinations with gstreamer:
sw encoding + sw decoding (libva): works
sw encoding + omx decoding: works
omx encoding + sw decoding (libva): works
omx encoding + omx decoding : fails
I havent tried vaapi yet. I can try to give it a try tomorrow and report results
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #7 from Ricardo Ribalda <[email protected]> ---
BTW: Are you aware of anyway that I can validate that a video is properly encoded, besides playing it?
Thanks!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
--- Comment #8 from Ricardo Ribalda <[email protected]> --- We are trying with vappi and we cannot reproduce the bug. This is the pipeline that we are using:
gst-launch-1.0 videotestsrc ! video/x-raw,width=800,height=600,framerate=60/1 ! timeoverlay ! videoconvert ! vaapih264enc ! video/x-h264,profile=main ! h264parse ! vaapih264dec ! vaapisink sync=0 --gst-debug=*:3
To sumarise
ENC -> DEC : Result
sw -> sw : OK sw -> omx : OK sw -> vappi : OK omx -> sw : OK omx -> omx : FAIL omx -> vappi : OK
vappi -> sw : OK
vappi -> omx : OK
vaapi -> vappi : OK
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106919
GitLab Migration User <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #9 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1315.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel