Page 1 of 1

Streaming WebM

Posted: 15 Jul 2014 22:04
by Teload
I'm attempting to stream VP8 and Opus muxed into WebM using http. I'd like to be able to also use VBR for VP8 and Opus, but wasn't able to find how to do this in the Wiki. Thanks in advance!

Code: Select all

vlc $1 -I dummy --sout-keep \ vlc://quit --sout='#transcode{width=480,fps=15,vcodec=VP80,acodec=opus,channels=1}:std{access=http,mux=ffmpeg{mux=webm},dst=127.0.0.1:8000}'

Code: Select all

VLC media player 2.1.4 Rincewind (revision 2.1.4-0-g2a072be) Warning: option --sout-ffmpeg-strict no longer exists. [0x100502cd0] main interface error: no suitable interface module [0x10023cf00] dummy interface: using the dummy interface module... [0x10040b390] access_output_http access out: Consider passing --http-host=IP on the command line instead. [0x10040c2d0] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:opus). Take a look few lines earlier to see possible reason. [0x10040c2d0] stream_out_transcode stream out error: cannot create audio chain [0x1020034b0] main decoder error: cannot create packetizer output (mp4a) [libvpx @ 0x10201bc00] v1.1.0 [libvpx @ 0x10201bc00] Neither bitrate nor constrained quality specified, using default bitrate of 256kbit/sec [0x100415630] vda generic error: Failed to create decoder: -12473 [0x1028048b0] avcodec generic error: acceleration setup failure [0x1028048b0] avcodec generic error: acceleration not available [0x10036de80] vda generic error: Failed to create decoder: -12473 [0x1028048b0] avcodec generic error: acceleration setup failure [0x1028048b0] avcodec generic error: acceleration not available [libvpx @ 0x101014c00] v1.1.0 [libvpx @ 0x101014c00] Neither bitrate nor constrained quality specified, using default bitrate of 256kbit/sec [webm @ 0x102006000] Codec for stream 0 does not use global headers but container format requires global headers
FFMPEG with compiled with libvpx and I think opus

Code: Select all

ffmpeg -formats | grep opus ffmpeg version 2.2.4 Copyright (c) 2000-2014 the FFmpeg developers built on Jul 15 2014 12:22:11 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) configuration: --prefix=/usr/local/Cellar/ffmpeg/2.2.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-libspeex --enable-libfdk-aac --enable-openssl --enable-libopus --enable-libcaca --enable-libx265 libavutil 52. 66.100 / 52. 66.100 libavcodec 55. 52.102 / 55. 52.102 libavformat 55. 33.100 / 55. 33.100 libavdevice 55. 10.100 / 55. 10.100 libavfilter 4. 2.100 / 4. 2.100 libavresample 1. 2. 0 / 1. 2. 0 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 E opus Opus

Re: Streaming WebM

Posted: 09 Nov 2014 11:50
by drij
Try a newer build. The 2.1 branch does not support Opus in WebM(MKV)