-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg conversion runs even with video=false and fails on heights not divisible by two #565
Comments
Hi @BevanR thanks for reporting. It isn't 100% clear in the docs but it works like this: By default when you run in Docker both keeping the video and collecting visual metrics is turned on by default (and to collect the visual metrics you need the video) so to fully turn off using the video you need to turn them off both. In latest stable add The pixel thing, yep, a PR to fix that would be great :) Best |
The h264 codec, thus the x264 encoder doesn't support video width or hight that isn't divisible by 2.
|
@fholzer what do you prefer? I think we should avoid 1, else it doesn't matter so much for me. |
I'd go for padding the video. |
Running Browsertime on Travis with command:
docker run --shm-size=1g --rm --volume "$(pwd)":/browsertime sitespeedio/browsertime --viewPort=1280x953 --skipHar --video=false --iterations=1 --resultDir=browsertime-results --pageCompleteCheck=\'return window.sv && sv.developer.measure === "done"\' http://172.17.0.1:5373/examples/alignments/50-sequences/?measure=static
Yields the following error.
Indeed the height in the Browsertime
--viewPort
parameter has a height of 953 that is not divisible by two.However, the
--video
parameter isfalse
, so it shouldn't even care.These are probably two separate bugs, but I figured I'd report them together to confirm before splitting out.
The text was updated successfully, but these errors were encountered: