CLI-Encoder vpxenc für On2/Google VP9 ist verfügbar

  • Da die CommandLines fast 1:1 die von VP8 sind hab ich mir zur besseren Handhabung gerade Hybrid gepatched damit ich VP9 encoden kann. :)
    Der 2nd pass beim 2pass encoding ist momentan noch extrem langsam, was vermutlich daran liegt, dass aktuell nur ein CPU-Core genutzt zu sein scheint.
    -> Wollte mal fragen ob sich schon jemand genauer mit VP9 beschäftigt hat und mehr zu VP9 sagen kann?

    Cu Selur

    Ps.: Generelle Infos und ab und zu neue vpxenc Versionen findet man im englischen Doom9 Beitrag zum Thema.

  • Code
    Usage: vpxenc <options> -o dst_filename src_filename Options:  -D,       --debug                        Debug mode (makes output deterministic)  -o <arg>, --output=<arg>                 Output filename            --codec=<arg>                  Codec to use  -p <arg>, --passes=<arg>                 Number of passes (1/2)            --pass=<arg>                   Pass to execute (1/2)            --fpf=<arg>                    First pass statistics file name            --limit=<arg>                  Stop encoding after n input frames            --skip=<arg>                   Skip the first n input frames  -d <arg>, --deadline=<arg>               Deadline per frame (usec)            --best                         Use Best Quality Deadline            --good                         Use Good Quality Deadline            --rt                           Use Realtime Quality Deadline  -q,       --quiet                        Do not print encode progress  -v,       --verbose                      Show encoder parameters            --psnr                         Show PSNR in status line            --ivf                          Output IVF (default is WebM)  -P,       --output-partitions            Makes encoder output partitions. Requires IVF output!            --q-hist=<arg>                 Show quantizer histogram (n-buckets)            --rate-hist=<arg>              Show rate histogram (n-buckets)Encoder Global Options:                    --yv12                         Input file is YV12             --i420                         Input file is I420 (default)  -u <arg>, --usage=<arg>                  Usage profile number to use  -t <arg>, --threads=<arg>                Max number of threads to use            --profile=<arg>                Bitstream profile number to use  -w <arg>, --width=<arg>                  Frame width  -h <arg>, --height=<arg>                 Frame height            --stereo-mode=<arg>            Stereo 3D video format                                             mono, left-right, bottom-top, top-bottom, right-left            --timebase=<arg>               Output timestamp precision (fractional seconds)            --fps=<arg>                    Stream frame rate (rate/scale)            --error-resilient=<arg>        Enable error resiliency features            --lag-in-frames=<arg>          Max number of frames to lagRate Control Options:            --drop-frame=<arg>             Temporal resampling threshold (buf %)            --resize-allowed=<arg>         Spatial resampling enabled (bool)            --resize-up=<arg>              Upscale threshold (buf %)            --resize-down=<arg>            Downscale threshold (buf %)            --end-usage=<arg>              Rate control mode                                             vbr, cbr, cq            --target-bitrate=<arg>         Bitrate (kbps)            --min-q=<arg>                  Minimum (best) quantizer            --max-q=<arg>                  Maximum (worst) quantizer            --undershoot-pct=<arg>         Datarate undershoot (min) target (%)            --overshoot-pct=<arg>          Datarate overshoot (max) target (%)            --buf-sz=<arg>                 Client buffer size (ms)            --buf-initial-sz=<arg>         Client initial buffer size (ms)            --buf-optimal-sz=<arg>         Client optimal buffer size (ms)Twopass Rate Control Options:            --bias-pct=<arg>               CBR/VBR bias (0=CBR, 100=VBR)            --minsection-pct=<arg>         GOP min bitrate (% of target)            --maxsection-pct=<arg>         GOP max bitrate (% of target)Keyframe Placement Options:            --kf-min-dist=<arg>            Minimum keyframe interval (frames)            --kf-max-dist=<arg>            Maximum keyframe interval (frames)            --disable-kf                   Disable keyframe placementVP8 Specific Options:            --cpu-used=<arg>               CPU Used (-16..16)            --auto-alt-ref=<arg>           Enable automatic alt reference frames            --noise-sensitivity=<arg>      Noise sensitivity (frames to blur)            --sharpness=<arg>              Filter sharpness (0-7)            --static-thresh=<arg>          Motion detection threshold            --token-parts=<arg>            Number of token partitions to use, log2            --arnr-maxframes=<arg>         AltRef Max Frames            --arnr-strength=<arg>          AltRef Strength            --arnr-type=<arg>              AltRef Type            --tune=<arg>                   Material to favor                                             psnr, ssim            --cq-level=<arg>               Constrained Quality Level            --max-intra-rate=<arg>         Max I-frame bitrate (pct)VP9 Specific Options:            --cpu-used=<arg>               CPU Used (-16..16)            --auto-alt-ref=<arg>           Enable automatic alt reference frames            --noise-sensitivity=<arg>      Noise sensitivity (frames to blur)            --sharpness=<arg>              Filter sharpness (0-7)            --static-thresh=<arg>          Motion detection threshold            --tile-columns=<arg>           Number of tile columns to use, log2            --tile-rows=<arg>              Number of tile rows to use, log2            --arnr-maxframes=<arg>         AltRef Max Frames            --arnr-strength=<arg>          AltRef Strength            --arnr-type=<arg>              AltRef Type            --tune=<arg>                   Material to favor                                             psnr, ssim            --cq-level=<arg>               Constrained Quality Level            --max-intra-rate=<arg>         Max I-frame bitrate (pct)            --lossless=<arg>               Lossless mode            --frame-parallel=<arg>         Enable frame parallel decodability featuresStream timebase (--timebase):  The desired precision of timestamps in the output, expressed  in fractional seconds. Default is 1/1000.Included encoders:    vp8    - WebM Project VP8 Encoder v1.2.0-3101-g141ab2d    vp9    - WebM Project VP9 Encoder v1.2.0-3101-g141ab2d

    source: vpxenc

    Weiß einer was die neuen Optionen:

    Code
    --lossless=<arg>               Lossless mode
                --frame-parallel=<arg>         Enable frame parallel decodability features
                --tile-columns=<arg>           Number of tile columns to use, log2
                --tile-rows=<arg>              Number of tile rows to use, log2


    machen und mit was für Argumenten sie verwendet werden müssen/können?

    Cu Selur

  • Da vpxenc mittlerweile auch 10bit und 12bit encoding unterstützt, wollte ich mal fragen ob damit schon jemand herumgetestet hat und womit man so encodetes Material wiedergeben kann.

    Code
    ffmpeg -y -loglevel fatal -threads 8 -i "F:\TestClips&Co\test.avi" -map 0:0 -an -sn -vsync 0 -r 25000/1000 -pix_fmt yuv420p10le -strict -1 -f yuv4mpegpipe - | vpxenc --codec=vp9 --passes=1 --pass=1 --end-usage=cq --cq-level=18 --threads=16 --width=640 --height=352 --yv12 --input-bit-depth=10 --bit-depth=10 --webm -o "H:\Output\10bit.webm" -


    kann der letzte nightly build (vom 16ten) von MPC-HC nicht wiedergeben,... (Chrome zeigt die ersten paar frames an, dass Encoding scheint also an sich geklappt zu haben)

  • Beide werden weder im mpc-BE,[1.44 Build 265] noch in Edius 7.50 geöffnet werden.
    Mainconcept TotalCode Studio 3.20 mags auch nicht.
    Bringt also keiner der Genannten was benötigt wird mit.
    ------------------

    In Sorenson Squeeze 10 kann ich beide Streams einfügen,habe aber kein Bild im Vorschaufenster.
    Mein Moni wird über einen KVM nur mit DVI-D Dual gespiesen.Für 10 Bit müsste es aber schon per DP sein,wenn ichs mal recht verstanden hatte.

    Die Einstellung "10 Bit" finde ich in den Settings aber nicht,naja.....

    Sorenson-Squeeze.jpg

    Datenrettungen Normwandlungen Restaurierungen Digitalisierungen

    2 Mal editiert, zuletzt von Goldwingfahrer (19. April 2015 um 18:50)

  • Da vpxenc mittlerweile auch 10bit und 12bit encoding unterstützt, wollte ich mal fragen ob damit schon jemand herumgetestet hat und womit man so encodetes Material wiedergeben kann.


    Spielt bei mir momentan nur mit Googles eigenen Decoder libvpx. Der vp9 aus ffmpeg bricht mit Fehler ab.
    Sonst sehe ich aber die ganzen 17sek keine Bildfehler.

  • Zitat

    Spielt bei mir momentan nur mit Googles eigenen Decoder

    Ja,lese ich jetzt auch erst jetzt,dass es ab dem 3.April 2015 klappt

    On April 3, 2015, Google released libvpx 1.4.0 which adds support for 10-bit and 12-bit bit depth, 4:2:2 and 4:4:4 chroma subsampling and VP9 multithreaded decoding/encoding.
    http://en.wikipedia.org/wiki/VP9

    Sollte man nicht erst dies in ein paar Player einbinden und dann veröffentlichen.

    Datenrettungen Normwandlungen Restaurierungen Digitalisierungen

  • @march99: Danke, dass hilft schon mal, dann weiß ich schon mal, dass das Encoding an sich okay ist. :)
    @Goldwing: Ja, im offiziellen Release ist es erst seit kurzem.
    -> Da libvpx-vp9 es abspielen kann wird es hoffentlich nicht mehr lange dauern bis auch mplayer damit klar kommt. :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!