tvlabs / edge264

Simple H.264 decoder
BSD 3-Clause "New" or "Revised" License
45 stars 1 forks source link

Wow! MVC support! #10

Open 46cv8 opened 2 months ago

46cv8 commented 2 months ago

I've been scouring the web for any software decoder with H264 MVC support and yours is one of the only two I could find. The only other one is in the reference implementation from Fraunhofer. https://github.com/petrkalos/JM/tree/master/ldecod/src Intel is dropping support for H264 MVC support on all there new chips https://www.intel.com/content/www/us/en/support/articles/000093215/graphics.html Nvidia never supported it, leaving the only hardware that I can find that I could buy new that supports MVC decoding is the raspberrypi 4 with OMXplayer (but the raspberrypi 5 dropped support for that too). It would be really great if when there is ample compute power available in the coming years, this could be used as a gstreamer filter to decode MVC h264 streams. I know this isn't an issue but I will definitely keep my eye on your progress! :) Thanks for being one of the only software h264 decoder implementations to actually add MVC support!

46cv8 commented 2 months ago

Also I'de really love to put a vote in for a gstreamer plugin. I don't know how much would be involved in making one but I use it for all my projects :)

traffaillac commented 2 months ago

Hi! Thanks for your kind message :) To be fair, there is also https://github.com/ittiam-systems/libavc/ which seems very much geared towards Android. In edge264 so far, MVC works with the reference bitstreams (only 2 views though) but I have not managed to test it with Bluray samples since ffmpeg's h264_mp4toannexb filter messes with MVC packets ordering. So it'll come with ffmpeg/gstreamer support.

Cheers, Thibault

46cv8 commented 2 months ago

Just a heads up if you try to get gstreamer working matroskademux seems to throw a warning when trying to read frame packed mkv's, so I expect getting MVC packed mkv's working may be a bit involved as obviously no one has ever had it working before. https://github.com/GStreamer/gst-plugins-good/blame/20bbeb5e37666c53c254c7b08470ad8a00d97630/gst/matroska/matroska-demux.c#L1120 Not sure if that's a similar to the h264_mp4toannexb filter issue you are running into or not :)