Kodi Community Forum

Full Version: How do you prevent Kodi detecting 3d anaglyph metadata?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've re-encoded a 3d HSBS file as anaglyph but it won't show the video in SPMC/Kodi 18alpha on a Nvidia Shield. Only audio plays
I know Android can't show anaglyph due to the hardware version of OpenGL but I just want it to play the video as a normal 2d file.

I've tried setting the stereo_mode to mono and stripping out all metadata but something is still detecting the file as 3d.
Code:
ffmpeg  -i input.mp4  -vf stereo3d=sbs2l:arcd -metadata:s:v:0 stereo_mode="mono" -aspect 16:9 anaglyph.mp4
ffmpeg -i anaglyph.mp4 -map_metadata -1 -c:v copy -c:a copy output.mp4
I've got the video to show now.
By default the output format was yuv444p which Android doesn't seem to like.
This addition to the ffmpeg command fixes it.
-pix_fmt yuv420p

The problem now is that any kind of zoom does nothing.
The output format is a strange 960x1080 though.
The solution was that Kodi uses the filename as part of the 3D detection process.
I had to remove 3D and HSBS from the file name to stop it.