vpxenc crashes with VP8

Bug report and feature request
aseguralasa
Amateur
Amateur
Posts: 15
Joined: Wed Apr 30, 2008 7:39 am

vpxenc crashes with VP8

Post by aseguralasa » Sat Dec 21, 2013 9:48 am

The latest Mediacoder 0.8.28.5580 added VP9 support and now encoding to VP8 crashes vpxenc.

VP9 works, on the other hand, but it is ultra-slow and unusable (Google's fault I guess), around 1 fps for SD and not producing better quality than H.264.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: vpxenc crashes with VP8

Post by stanley » Sat Dec 21, 2013 6:09 pm

I've tested VP9 encoding and vpxenc didn't crash on my end.
To improve the VP9 encoding speed, you can enable MediaCoder's SVE (Segmental Video Encoding).
When things work together, things work.

aseguralasa
Amateur
Amateur
Posts: 15
Joined: Wed Apr 30, 2008 7:39 am

Re: vpxenc crashes with VP8

Post by aseguralasa » Sat Dec 21, 2013 10:14 pm

Sorry for mentioning both VP8 and VP9 in the post which may be confusing.

The one now that crashes is VP8 encoding, the old one. After the vpxenc crash, MediaCoder is like frozen, it does not detect the crash, and has to be restarted.

I assume both use vpxenc.exe, with VP9 working (though slooooowly) and VP8 crashing.

Thank you anyway for including these codecs!

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: vpxenc crashes with VP8

Post by stanley » Sun Dec 22, 2013 9:58 pm

I rebuilt the vpxenc.exe. Please try updating to 5582 (with full installer).
When things work together, things work.

jeffolmstead
Beginner
Beginner
Posts: 1
Joined: Tue Apr 01, 2014 10:52 am

Re: vpxenc crashes with VP8

Post by jeffolmstead » Tue Apr 01, 2014 10:59 am

Hi stanley, I am on MediaCoder build 5602 and am having the same issue with VP8. I have tried on x86 and x64 versions and both throw the same error when trying to use VP8. In addition, my VP9 is not generating a webm format (files are empty). That is a side note though and may just be my inexperience with VP9.

For settings, here is my exported preset I am using to try and generate a webm video:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<MediaCoderPrefs><node key="overall.task.destdir">C:\Users\Jeffrey\Videos\MediaCoder\</node><node key="overall.video.maxrate">64</node><node key="overall.video.bufSize">512</node><node key="overall.video.autoBitrate">By File Size</node><node key="overall.video.targetSize">1000</node><node key="overall.video.ar">Keep PAR</node><node key="overall.video.format">VP8</node><node key="overall.video.encoder">VPX Encoder</node><node key="overall.container.format">WebM</node><node key="overall.container.muxer">MKVMerge</node><node key="overall.preview.mode">Off</node><node key="audiosrc.winamp.dir">plugins64/</node><node key="audioenc.lame.path">.\codecs64\lame.exe</node><node key="audioenc.vorbis.path">.\codecs64\oggenc2.exe</node><node key="audioenc.aacplus.mode">Stereo</node><node key="audioenc.aacplus.type">LC-AAC</node><node key="audioenc.nero.mode">Target Bitrate</node><node key="audioenc.nero.bitrate">48</node><node key="audioenc.fraunhofer.path">.\codecs64\mp3sEncoder.exe</node><node key="audioenc.musepack.path">.\codecs64\mpcenc.exe</node><node key="audioenc.aac3gpp.path">.\codecs64\enhAacPlusEnc.exe</node><node key="audioenc.wavpack.path">.\codecs64\wavpack.exe</node><node key="audioenc.wavpack.decoderPath">.\codecs64\wvunpack.exe</node><node key="audioenc.flac.path">.\codecs64\flac.exe</node><node key="videoenc.x264.profile">Baseline</node><node key="videoenc.x264.level">20</node><node key="videoenc.x264.frameref">1</node><node key="videoenc.x264.cabac">false</node><node key="videofilter.scale.width">480</node><node key="videofilter.scale.height">320</node><node key="videofilter.frame.enabled">true</node><node key="videofilter.frame.fps">8</node><node key="videofilter.frame.decreaseOnly">true</node></MediaCoderPrefs>
I appreciate any assistance you can provide.

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: vpxenc crashes with VP8

Post by stanley » Tue Jul 15, 2014 8:51 pm

Please use the latest version.
When things work together, things work.

Jess
Amateur
Amateur
Posts: 15
Joined: Mon Jun 07, 2010 4:48 am

Re: vpxenc crashes with VP8

Post by Jess » Mon Aug 11, 2014 12:43 am

I use the latest version, but it's still crashing. I can't convert a H264-video to VP8.

0.8.31.5645 (Windows 8.1 X64)

Code: Select all

Opening video filter: [scale]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.92.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 01f3cce0]using unscaled yuv420p -> yuv420p special converter

# vpxenc - -o "C:\Users\MyUserName\AppData\Local\Temp\mctemp1cc429f5d95bbbbd.webm" --
codec=vp8 --i420 -w 480 -h 360 --fps=25/1 -p 1 --end-usage=1 --target-bitrate=15
8 --good --cpu-used=1 --max-q=63  --lag-in-frames=16 --threads=4

YUV4MPEG2 W480 H360 F25:1 Ip A1:1

Adaptive cache for segment #0: 432 MB (1750 frames)

Adaptive cache for segment #1: 432 MB (1750 frames)
Pass 1/1 frame    1/0          0B       0 us 0.00 fpm [ETA  unknown] ←[K
# vpxenc - -o "C:\Users\MyUserName\AppData\Local\Temp\mctemp1cc429f5d95bbbbd_1.webm"
--codec=vp8 --i420 -w 480 -h 360 --fps=25/1 -p 1 --end-usage=1 --target-bitrate=
158 --good --cpu-used=1 --max-q=63  --lag-in-frames=16 --threads=4

YUV4MPEG2 W480 H360 F25:1 Ip A1:1
Pass 1/1 frame    1/0          0B       0 us 0.00 fpm [ETA  unknown] ←[K

Jess
Amateur
Amateur
Posts: 15
Joined: Mon Jun 07, 2010 4:48 am

Re: vpxenc crashes with VP8

Post by Jess » Thu Aug 21, 2014 8:15 pm

Hello there,

can we please get some support? It's still crashing.

Jess
Amateur
Amateur
Posts: 15
Joined: Mon Jun 07, 2010 4:48 am

Re: vpxenc crashes with VP8

Post by Jess » Sat Aug 23, 2014 11:29 pm

Bump

stanley
Site Admin
Site Admin
Posts: 4135
Joined: Mon May 15, 2006 7:43 pm
Location: Sydney

Re: vpxenc crashes with VP8

Post by stanley » Sun Aug 24, 2014 1:05 pm

I tested with 5645 and VP8 encoding does not crash on my end. Please understand I am not able to fix issue that is not re-producable on my end.
I suggest you performing a un-installation (to make sure older encoder is removed) and perform a clean install.
When things work together, things work.

Post Reply