Skip to content
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

encapp: add text feedback in the "--dry-run" case #224

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

JohanBlome
Copy link
Owner

Dry run does not require a connected device. All media will be transcoded as needed to be run and protobuf files generated.

The generated file can be run in a second run, e.g:

python3 encapp.py run . -c c2.exynos.hevc.encoder -r 250k,500k -i corpus
--local-workdir PRE_RUN --dry-run
-e common.output_filename "[configure.bitrate]kbps"
python3 encapp.py run PRE_RUN/expanded_corpus.pbtxt -w ACTUAL
ok: test id: ".250000bps" run_id: 250000kbps result: ok ok: test id: ".250000bps" run_id: 250000kbps result: ok ok: test id: ".500000bps" run_id: 500000kbps result: ok ok: test id: ".500000bps" run_id: 500000kbps result: ok

Dry run does not require a connected device. All media will be transcoded
as needed to be run and protobuf files generated.

The generated file can be run in a second run, e.g:
>python3 encapp.py run .  -c c2.exynos.hevc.encoder -r 250k,500k -i corpus \
       --local-workdir PRE_RUN --dry-run  \
       -e common.output_filename "[configure.bitrate]kbps"
>python3 encapp.py run PRE_RUN/expanded_corpus.pbtxt -w ACTUAL
ok: test id: ".250000bps" run_id: 250000kbps result: ok
ok: test id: ".250000bps" run_id: 250000kbps result: ok
ok: test id: ".500000bps" run_id: 500000kbps result: ok
ok: test id: ".500000bps" run_id: 500000kbps result: ok

Signed-off-by: JohanBlome <[email protected]>
@JohanBlome JohanBlome merged commit 9dab757 into master Nov 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant