Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video filters are forcing SW decoding on RPi #3604

Closed
Maigre opened this issue Sep 29, 2016 · 1 comment
Closed

Video filters are forcing SW decoding on RPi #3604

Maigre opened this issue Sep 29, 2016 · 1 comment

Comments

@Maigre
Copy link

Maigre commented Sep 29, 2016

Hi,
i may have missed something but i can't use some particular video filters on RPi.
The HW decoding is working fine with MMAL:

Using hardware decoding (rpi).
VO: [opengl] 1920x1080 mmal
[vo/opengl] Using HW-overlay mode. No GL filtering is performed on the video!

but when i apply --vf=flip or --vf=mirror
i obtain:

Using hardware decoding (rpi).
Using conversion filter.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1080 mmal bt.709/limited CL=mpeg2/4/h264
  [scale] ??? [a]   <---
  [flip] "flip.00" ???
  [out] ???
Falling back to software decoding.
[ffmpeg/video] h264: co located POCs unavailable

The video is played but is of course slow since it falled back to software decoding.

Any idea ? Tell me if you need more info ..
Thanks !

ghost pushed a commit that referenced this issue Sep 30, 2016
This means it can be used with normal video filters.

Might help out with #3604.
@ghost
Copy link

ghost commented Sep 30, 2016

That always happens with hardware decoders. Unfortunately you can't apply those transformations with hardware decoding (the hardware probably would, but we provide no access to that). --video-rotate should work at least.

I've added a --hwdec=rpi-copy mode, which allows easily using hardware decoding with software-readback for filtering. Will be slower, though.

@ghost ghost closed this as completed Sep 30, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant