Questions tagged [libvpx]

libvpx is a package, from the WebM project, that provides the reference implementations of the VP8 Codec, used in most current html5 video, and of the next-generation VP9 Codec.

89 questions
52
votes
3 answers

ffmpeg unable to find encoder libvpx

when i run ffmpeg -y -i test.mov -threads 8 -f webm -aspect 16:9 -vcodec libvpx -deinterlace -g 120 -level 216 -profile 0 -qmax 42 -qmin 10 -rc_buf_aggressivity 0.95 -vb 2M -acodec libvorbis -aq 90 -ac 2 OUTPUT_FILE.webm it returns an error saying…
Wiz
  • 4,595
  • 9
  • 34
  • 51
16
votes
2 answers

VP9 encoding limited to 4 threads?

I am considering to use VP9 to encode my BluRays in the future, since its an open source codec. But I cannot get Handbrake or ffmpeg use more than 50% (4) of my (8) cores. The encoding time is therefore much worse than x264/5 which uses all…
kellerkindt
  • 332
  • 1
  • 3
  • 10
11
votes
1 answer

FFmpeg - Convert MP4 to Webm very slow

I need convert MP4 to webm with ffmpeg. So, i use : ffmpeg -i input.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis output.webm But it's very long. Is there faster ?
Luzwitz
  • 197
  • 1
  • 3
  • 11
10
votes
0 answers

Creating web-browser playable webm files with vp8 SDK?

I'm using the vp8 SDK (www.webmproject.org) to create a vp8-encoded video file. However, the SDK sample produces an IVF file, which the browser doesn't play. I know the webm format is a matroska container so I guess I should store the video data in…
Florin
  • 2,891
  • 4
  • 19
  • 26
9
votes
1 answer

Error using ffmpeg and libvpx to encode webm from many images

The command I used was : C:\cmd\ffmpeg\bin\ffmpeg.exe -i "C:\Users\user\Dropbox\Workspace - C#\SnowflakeGenerator\out\out%d.png" -c:v libvpx -b:v 1M "C:\Users\user\Dropbox\Workspace - C#\SnowflakeGenerator\video.webm" -y The output was: ffmpeg…
doominabox1
  • 456
  • 6
  • 15
5
votes
1 answer

ffmpeg VP9 - What do the quality settings change?

ffmpeg has a -quality setting when encoding VP9 with options best, good, and realtime. How do these options affect the other available encoding options (ex. -speed, -slices, -frame-parallel, etc...)? I read somewhere that -best and -good -speed 0…
Yay295
  • 1,628
  • 3
  • 17
  • 29
4
votes
0 answers

What function to use to fill a vpx Image from []byte slice in go using libvpx-go

I've search a lot on how to fill the vpx.Image but the only function I saw is vpx_img_read() that is declare in tools_common.h. This function is not available in libvpx-go and also the function takes a FILE* as argument, not a pointer to byte…
Vincent
  • 2,712
  • 5
  • 24
  • 27
4
votes
0 answers

compiling ffmpeg with libvpx, unable to find decoder

I am trying to compile ffmpeg with libvpx support on Windows with Visual Studio compiler. I am using msys2 for building platform and running flowing commands for libvpx cd libvpx ./configure --prefix="$HOME/ffmpeg_build" --target=x86_64-win64-vs16…
mr.Nobody
  • 165
  • 7
4
votes
0 answers

Real-time VP9 encoding using libvpx

I want to encode 3D-Rendered images in real time using VP9 codec in order to send them over a network. I need small latencies (ideally each frame should be encoded separately), so FFMPEG with its separated send & receive functions was not an option.…
be_dos
  • 41
  • 1
4
votes
0 answers

What do I need to use ffmpeg to convert .mov file to webm?

I'm trying to convert .mov files to .webm using ffmpeg from terminal on my Mac. However I don't really get what I should install to complete the conversion: I've installed libvpx brew install libvpx I've installed ffmpeg brew install ffmpeg But…
BStratoG
  • 41
  • 1
4
votes
2 answers

need to create a webm video from RGB frames

I have an app that generates a bunch of jpgs that I need to turn into a webm video. I'm trying to get my rgb data from the jpegs into the vpxenc sample. I can see the basic shapes from the original jpgs in the output video, but everything is tinted…
Mike
  • 1,169
  • 9
  • 26
4
votes
1 answer

Android NDK returns an error "undefined reference to 'rand'"

I'm trying a webm decorder for Android x86 with libvpx. I built the library by following command and got "libvpx.a". ../configure --target=x86-android-gcc --disable-vp8-encoder --disable-vp9-encoder --disable-examples --sdk-path=$ANDROID_NDK_ROOT…
Tank2005
  • 899
  • 1
  • 14
  • 32
4
votes
1 answer

How to build libvpx as static library

In my jni directory, I run the following command: $ ./libvpx/configure --target=armv7-android-gcc --disable-examples --sdk-path=/home/peter/adt/android-ndk-r9/ This results in generating Android.mk in libvpx/build/make directory Next, I create…
Peter
  • 11,260
  • 14
  • 78
  • 155
4
votes
1 answer

VP8 video rendering in Javascript

I'm currently working on a interactive web application in javascript that renders in realtime a video received on a webpage and lets you send keyboard inputs. The fact is that I can only receive VP8 video streams (not webm, just raw VP8 video…
mnogue
  • 71
  • 7
3
votes
3 answers

How strided memcpy(3) works in libvpx

I'm trying to understand the following function in libvpx (vp8/common/reconinter.c): void vp8_copy_mem16x16_c(unsigned char *src, int src_stride, unsigned char *dst, int dst_stride) { int r; for (r = 0; r < 16; ++r) { …
Yuuta Liang
  • 118
  • 2
  • 7
1
2 3 4 5 6