Skip to content

Commit 78acf3c

Browse files
committed
Vp9 decode supporting clip url modified and removed ivf conversion dependencies
Signed-off-by: Nitin Nakka <nitinn@qti.qualcomm.com>
1 parent 087d2d7 commit 78acf3c

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

  • Runner/suites/Multimedia/GSTreamer/Video/Video_Encode_Decode

Runner/suites/Multimedia/GSTreamer/Video/Video_Encode_Decode/run.sh

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -520,31 +520,30 @@ if [ "$need_vp9_clip" -eq 1 ] && [ "$testMode" != "encode" ]; then
520520
log_info "=========================================="
521521

522522
vp9_clip_webm="$OUTDIR/VP9_640x480_10s.webm"
523-
vp9_decode_ready=0
524523

525524
# Check if WebM file already exists
526525
if [ -f "$vp9_clip_webm" ]; then
527526
log_info "VP9 WebM clip already exists: $vp9_clip_webm"
528-
vp9_decode_ready=1
529527
else
530528
# Try to get WebM file from provided path or URL
531529
if [ -n "$clipPath" ]; then
532530
log_info "Attempting to get VP9 WebM clip from local path: $clipPath"
533531
if [ -f "$clipPath/VP9_640x480_10s.webm" ]; then
534-
cp "$clipPath/VP9_640x480_10s.webm" "$vp9_clip_webm" && vp9_decode_ready=1
532+
cp "$clipPath/VP9_640x480_10s.webm" "$vp9_clip_webm"
535533
log_info "VP9 WebM clip copied from local path"
536534
else
537535
log_warn "VP9 WebM clip not found in local path: $clipPath"
538536
fi
539537
fi
540538

541539
# If not found locally, try URL download
542-
if [ "$vp9_decode_ready" -eq 0 ]; then
540+
if [ ! -f "$vp9_clip_webm" ]; then
543541
log_info "VP9 WebM clip not found locally; attempting download from URL..."
544542
if extract_tar_from_url "$clipUrl" "$OUTDIR"; then
545-
if [ -f "$vp9_clip_webm" ]; then
546-
log_pass "VP9 WebM clip downloaded successfully"
547-
vp9_decode_ready=1
543+
# Move the extracted file from current directory to OUTDIR
544+
if [ -f "VP9_640x480_10s.webm" ]; then
545+
mv "VP9_640x480_10s.webm" "$vp9_clip_webm"
546+
log_pass "VP9 WebM clip downloaded and moved successfully"
548547
else
549548
log_warn "VP9 WebM clip not found in downloaded content"
550549
fi
@@ -564,7 +563,7 @@ if [ "$testMode" = "all" ] || [ "$testMode" = "encode" ]; then
564563
for codec in $codecs; do
565564
# Skip VP9 for encode tests (no v4l2vp9enc support in this test)
566565
if [ "$codec" = "vp9" ]; then
567-
log_info "Skipping VP9 encode (not supported in this test suite)"
566+
log_info "Skipping VP9 encode (not supported)"
568567
continue
569568
fi
570569

0 commit comments

Comments
 (0)