Menu

#31 Missing VP9 decoder and encoder

1.0
closed
nobody
None
2015-11-26
2015-10-13
ValdikSS
No

Please add vp9dec and vp9enc libvpx decoder/encoder or add vp9 support from libav.

Discussion

  • tumagonx

    tumagonx - 2015-10-13

    Thanks you're right the libgstvpx.dll was botched when I try disabling some sse optimization

    could you try my attached file, extract and overwite to [python 2.7 32bit site-packages]\gnome\lib\gstreamer-1.0
    It contain opus and vpx planned for 3.18

     
  • ValdikSS

    ValdikSS - 2015-10-13

    May I ask you to compile it for python 3.4 x86?

     
  • tumagonx

    tumagonx - 2015-10-13

    oops sorry, I just barely start the building process and haven't build for python3. I think using the files should still work with your python3 32bit, as it's just loadable modules dll. but you need msvcr90 runtime if don't have already

     
  • ValdikSS

    ValdikSS - 2015-10-14

    Doesn't work with Python 3.4 x86. Entry point of gst_audio_decoder_set_use_default_pad_acceptcaps not found.
    Interesting that opus audio works even without libopus, probably with libavcodec.

     
  • tumagonx

    tumagonx - 2015-11-08

    Sorry for the late respond, gstreamer 1.6 introduce new API thats not backward compatible. Please try 3.18.2 rev1

     
  • ValdikSS

    ValdikSS - 2015-11-13

    This build works really bad. It instantly crashes almost all the time right after decoding the first frame. It crashes somewhere in gstlibvpx. Crashes on both vp8 and vp9 videos.

     
  • tumagonx

    tumagonx - 2015-11-13

    Could you provide your webm file and the output of gst-play with environment variable set GST_DEBUG=4

    is there any other video playable in your test (e.g flv/mpeg/avi using libav)?

    Edit:
    Also provide your complete computer specs, python version, gpu driver version, and don't forget to install gst-plugins-extra too

     

    Last edit: tumagonx 2015-11-13
  • ValdikSS

    ValdikSS - 2015-11-13

    Literally every webm file doesn't work if it's started with gst-launch. It works sometimes if gstreamer is used from the python script, but once in 10 times. I've tried on a VM (VirtualBox, Windows 7, with 3D drivers installed, worked fine with previous gstreamer versions) and on a laptop (Windows 10) with Intel HD 5500 video. I'm using Python 3.4.3 x86. gst-plugins-extra are installed.

    Here's the screenshot: https://i.imgur.com/WJ4nNGn.png

    Here is a test file encoded with vp8 and vorbis: http://b.1339.cf/kdugphs.webm

    I launch it with gst-launch filesrc location=file.webm ! decodebin ! glimagesink (or autovideosink)

    Other videos (h.264 with aac in mp4) work fine.

     

    Last edit: ValdikSS 2015-11-13
  • tumagonx

    tumagonx - 2015-11-14

    Thanks a lot, this remind me of ticket #16 https://sourceforge.net/p/pygobjectwin32/tickets/16/
    turned out the problem still there. When I use newer gcc I thought it was fixed as I could played
    http://video.webmfiles.org/big-buck-bunny_trailer.webm with gst-play, but once under gdb it segfaulted, so I have to detune it again without SSE optimization (only MMX).

    Try the attached file, it doesn't segfaulted in my test.

     
  • ValdikSS

    ValdikSS - 2015-11-14

    That work, rather slow but works, thanks!

     
  • tumagonx

    tumagonx - 2015-11-26
    • status: open --> closed
     

Log in to post a comment.