./vpxenc --target-bitrate=1000 --codec=vp8 --profile=0
--kf-max-dist=90000 --static-thresh=0 --cpu-used=-5 --min-q=2
--max-q=56 --undershoot-pct=50 --overshoot-pct=50 --buf-sz=1000
--buf-initial-sz=500 --buf-optimal-sz=600 --max-intra-rate=300
--resize-allowed=0 --passes=1 --rt --lag-in-frames=0
--noise-sensitivity=0 --error-resilient=1 -o darkvp8_1000.webm
dark720.y4m
For testing VP9, use --codec=vp9
On Wed, Oct 15, 2014 at 1:42 PM, Anil <
asunil....@gmail.com> wrote:
> Hi,
>
> I am trying to encode a stream on my Nexus 5 using the vpxenc binary
>
> I compiled the binary using the configuration below.
> Is this a good configuration for real time?
>
> ../libvpx/configure --target=armv7-android-gcc
> --sdk-path=/local/mnt/workspace/android/android-ndk-r9 --disable-webm-io
> --disable-vp8-decoder --disable-vp9-decoder --disable-runtime-cpu-detect
> --extra-cflags="-mfloat-abi=softfp -mfpu=neon"
>
> I am running with the command line. Are there any special settings I need to
> use for real time?
> adb shell /data/vp9/vpxenc /data/yuv/test_832x480_30.yuv --ivf -o
> /data/vp9/out.ivf --codec=vp9 --i420 -w 832 -h 480 --limit=150 -p 1
> --end-usage=cq --cq-level=32
>
For real time encoding, you can try add the following parameters to
your vpxenc command line:
--rt --cpu-used=-6
Here is what I have been using for testing real time encoding for
other platform:
vpxenc --codec=vp9 --profile=0 --kf-max-dist=90000 --static-thresh=0
--rt --cpu-used=-6 --min-q=2 --max-q=56 --undershoot-pct=50
--overshoot-pct=50 --buf-sz=1000 --buf-initial-sz=500
--buf-optimal-sz=600 --max-intra-rate=300 --resize-allowed=0
--passes=1 --lag-in-frames=0 --noise-sensitivity=0 --error-resilient=1
> Currently I am getting 1 Frame in ~15minutes!!!
> Also does the encoder using multi-thread encoding?
>
libvpx does not use multithread for VP9 encoding yet, but it is being worked on.
> Thanks
> Anil
>
> --
> You received this message because you are subscribed to the Google Groups
> "Codec Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
codec-devel...@webmproject.org.
> To post to this group, send email to
codec...@webmproject.org.
> Visit this group at
>
http://groups.google.com/a/webmproject.org/group/codec-devel/.
> For more options, visit
>
https://groups.google.com/a/webmproject.org/d/optout.