VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Using https://github.com/jb-alvarado/media-autobuild_suite I end up with vpxenc versions which only create broken output.
    (attached files for those who want to test)
    -> does anyone compile up-to-date vpxenc versions statically and can share his builds?

    Cu Selur
    Quote Quote  
  2. Why don't you build http://git.chromium.org/gitweb/?p=webm/libvpx.git directly ?
    • I also need some of the other tools the script builds
    • I don't have a global MinGW build environment (and I do not plan do install one)
    • I probably wouldn't do it any other way than the script already does


    Cu Selur
    Quote Quote  
  3. For info your x86 vpxenc is ok for me with 2 test files.
    What is broken ?
    Quote Quote  
  4. Output image looks broken, like the color space got mixed up. (see attachment)
    (tried both the 32bit and the 64bit version)

    What call did you use?

    I used:
    Code:
    mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -demuxer lavf -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "H:\TESTCL~1\test.avi" | vpxenc --codec=vp9 --passes=1 --pass=1 --target-bitrate=1500 --end-usage=vbr --profile=0 --good --cpu-used=3 --undershoot-pct=0 --buf-sz=6 --buf-initial-sz=4 --buf-optimal-sz=5 --drop-frame=0 --resize-allowed=0 --kf-min-dist=0 --kf-max-dist=250 --auto-alt-ref=0 --noise-sensitivity=0 --sharpness=0 --static-thresh=0 --tile-columns=2 --tile-rows=1 --threads=16 --width=640 --height=352 -o "H:\Output\test_18_38_02_1310_01.vp9" -
    I also attached a vp9 file created with the build, does is look okay for you? May be it's just my decoding (used MPC-HC, Chrome, ffplay).

    Must be something with vp9, since the decoder call works fine with x264:
    Code:
    mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -demuxer lavf -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "H:\TESTCL~1\test.avi"  | x264 --crf 18 --non-deterministic --fps 25000/1000 --input-res 640x352 --output "H:\Output\test.264" -
    Image Attached Thumbnails Click image for larger version

Name:	broken.jpg
Views:	744
Size:	15.8 KB
ID:	21863  

    Last edited by Selur; 10th Dec 2013 at 11:46.
    Quote Quote  
  5. I try with :
    vpxenc --codec=vp9 --good --cpu-used=1 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=260 E:\_video\video_source\foreman.y4m -o E:\_video\video_encode\foreman.vp9.webm

    and :

    avs2yuv E:\_video\video_source\bloodlad.avs - | vpxenc --codec=vp9 --good --cpu-used=2 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --pass=1 --fpf=file.fpf --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --aq-mode=2 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=275 - -o E:\_video\video_encode\bloodlad.vp9.webm

    avs2yuv E:\_video\video_source\bloodlad.avs - | vpxenc --codec=vp9 --good --cpu-used=2 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --pass=2 --fpf=file.fpf --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --aq-mode=2 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=275 - -o E:\_video\video_encode\bloodlad.vp9.webm


    I don't know if 1 pass encoding is still stable and I don't use mencoder
    Quote Quote  
  6. tried:
    Code:
    mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -demuxer lavf -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "H:\TESTCL~1\test.avi" | vpxenc --codec=vp9 --good --cpu-used=2 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --pass=1 --fpf=file.fpf --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --aq-mode=2 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=275  --width=640 --height=352 - -o "h:\Output\try1.webm"
    
    mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -demuxer lavf -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "H:\TESTCL~1\test.avi" | vpxenc --codec=vp9 --good --cpu-used=2 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --pass=2 --fpf=file.fpf --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --aq-mode=2 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=275  --width=640 --height=352 - -o "h:\Output\try1.webm"
    and got the attached file, which shows the same problems for me.

    I don't know if 1 pass encoding is still stable and I don't use mencoder
    Same happens for me with ffmpeg as decoder.
    Will try avs2yuv later,...
    Quote Quote  
  7. Here my build of the latest http://git.chromium.org/gitweb/?p=webm/libvpx.git
    Image Attached Files
    Quote Quote  
  8. Same problem. -> will try avs2yuv
    Quote Quote  
  9. Code:
    LoadCPlugin("G:\avsiynth\avisynthPlugins\ffms2.dll")
    # loading source
    FFVideoSource("H:\TESTCL~1\test.avi",cachefile="H:\Output\21437943319_16_52_0110.ffindex",fpsnum=25000,fpsden=1000)
    Code:
    avs2yuv "H:\Output\encodingTempAvisynthSkript_19_16_52_0110.avs" - | vpxenc --codec=vp9 --passes=2 --pass=1 --target-bitrate=1500 --end-usage=vbr --fpf="H:\Output\test_19_16_52_0110_03.stats" --profile=0 --good --cpu-used=3 --bias-pct=70 --minsection-pct=15 --maxsection-pct=10000 --min-q=0 --max-q=63 --lag-in-frames=25 --undershoot-pct=0 --buf-sz=6 --buf-initial-sz=4 --buf-optimal-sz=5 --drop-frame=0 --resize-allowed=0 --kf-min-dist=0 --kf-max-dist=250 --auto-alt-ref=0 --noise-sensitivity=0 --sharpness=0 --static-thresh=0 --tile-columns=2 --tile-rows=1 --threads=16 --width=640 --height=352 -o NUL -
    
    avs2yuv "H:\Output\encodingTempAvisynthSkript_19_16_52_0110.avs" -  | vpxenc --codec=vp9 --good --cpu-used=2 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --pass=2 --fpf=file.fpf --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --aq-mode=2 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=275  --width=640 --height=352 - -o "h:\Output\try1.webm"
    WORKS!!
    Code:
    avs2yuv -raw "H:\Output\encodingTempAvisynthSkript_19_16_52_0110.avs" - | vpxenc --codec=vp9 --passes=2 --pass=1 --target-bitrate=1500 --end-usage=vbr --fpf="H:\Output\test_19_16_52_0110_03.stats" --profile=0 --good --cpu-used=3 --bias-pct=70 --minsection-pct=15 --maxsection-pct=10000 --min-q=0 --max-q=63 --lag-in-frames=25 --undershoot-pct=0 --buf-sz=6 --buf-initial-sz=4 --buf-optimal-sz=5 --drop-frame=0 --resize-allowed=0 --kf-min-dist=0 --kf-max-dist=250 --auto-alt-ref=0 --noise-sensitivity=0 --sharpness=0 --static-thresh=0 --tile-columns=2 --tile-rows=1 --threads=16 --width=640 --height=352 -o NUL -
    
    avs2yuv -raw "H:\Output\encodingTempAvisynthSkript_19_16_52_0110.avs" -  | vpxenc --codec=vp9 --good --cpu-used=2 --psnr --threads=0 --profile=0 --lag-in-frames=25 --min-q=0 --max-q=63 --cq-level=20 --end-usage=0 --auto-alt-ref=1 --passes=2 --pass=2 --fpf=file.fpf --kf-max-dist=9999 --kf-min-dist=0 --drop-frame=0 --static-thresh=0 --bias-pct=50 --aq-mode=2 --minsection-pct=0 --maxsection-pct=2000 --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3 --sharpness=0 --undershoot-pct=100 --psnr --target-bitrate=275  --width=640 --height=352 - -o "h:\Output\try1.webm"
    doesn't.

    -> seems like vpxenc now only supports y4m input, despite the fact that the help only states:

    Code:
                --yv12                      Input file is YV12
                --i420                      Input file is I420 (default)
    -> WTF?!?

    Thanks a lot for testing and sharing your build.
    (didn't consider testing y4m since the help doesn't mention it)

    btw. ffmpeg as decoder works fine too as long as yuv4mpegpipe is used. (using raw i420 or yv12 produces the above problems.)
    -> filed a bug report: http://code.google.com/p/webm/issues/detail?id=678
    Last edited by Selur; 10th Dec 2013 at 13:38.
    Quote Quote  
  10. And another problem,
    using:
    vp8 - WebM Project VP8 Encoder v1.3.0-290-ge18eb77
    vp9 - WebM Project VP9 Encoder v1.3.0-290-ge18eb77
    and
    Code:
    ffmpeg -v -10 -i "H:\TestClips&Co\test.avi" -an -sn -threads 8 -vsync 0 -r 25 -pix_fmt yuv420p -f yuv4mpegpipe - | vpxenc --codec=vp9 --lossless=1 --end-usage=q --min-q=0 --max-q=0 --width=640 --height=352 -o "H:\Output\test.webm" -
    lossless encoding doesn't work.
    (only creates a 1kByte file)

    -> any idea what the problem is now?
    Quote Quote  
  11. found the problem '--passes=1 --pass=1' is needed in the vpxenc call for lossless encoding.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!