Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Jan 20, 2025
1 parent 3f80512 commit e4b637a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Scripts/public/test-streams.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ function generate_sources {
mkdir -p "$dest_dir"

# Video
ffmpeg -f lavfi -i testsrc=duration=4:size=640x360:rate=30 -pix_fmt yuv420p -g 30 "$dest_dir/source_640x360.mp4" > /dev/null 2>&1
ffmpeg -f lavfi -i testsrc=duration=4:size=360x360:rate=30 -pix_fmt yuv420p -g 30 "$dest_dir/source_360x360.mp4" > /dev/null 2>&1
pkgx ffmpeg -f lavfi -i testsrc=duration=4:size=640x360:rate=30 -pix_fmt yuv420p -g 30 "$dest_dir/source_640x360.mp4" > /dev/null 2>&1
pkgx ffmpeg -f lavfi -i testsrc=duration=4:size=360x360:rate=30 -pix_fmt yuv420p -g 30 "$dest_dir/source_360x360.mp4" > /dev/null 2>&1

# Audio
ffmpeg -f lavfi -i anullsrc=duration=4:channel_layout=stereo:sample_rate=44100 -metadata:s:a:0 language=eng "$dest_dir/source_audio_eng.mp4" > /dev/null 2>&1
ffmpeg -f lavfi -i anullsrc=duration=4:channel_layout=stereo:sample_rate=44100 -metadata:s:a:0 language=fre "$dest_dir/source_audio_fre.mp4" > /dev/null 2>&1
pkgx ffmpeg -f lavfi -i anullsrc=duration=4:channel_layout=stereo:sample_rate=44100 -metadata:s:a:0 language=eng "$dest_dir/source_audio_eng.mp4" > /dev/null 2>&1
pkgx ffmpeg -f lavfi -i anullsrc=duration=4:channel_layout=stereo:sample_rate=44100 -metadata:s:a:0 language=fre "$dest_dir/source_audio_fre.mp4" > /dev/null 2>&1
}

function generate_simple_streams {
Expand Down

0 comments on commit e4b637a

Please sign in to comment.