mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Add -vn flag to FFMPEG scripts (#1020)
This commit is contained in:
parent
9d7a465d0d
commit
eb64376c3a
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@ Set-Location -Path $temp
|
||||||
|
|
||||||
Move-Item $filename $audioFile
|
Move-Item $filename $audioFile
|
||||||
ffmpeg -i $audioFile -f dash -encryption_scheme cenc-aes-ctr -encryption_key $key `
|
ffmpeg -i $audioFile -f dash -encryption_scheme cenc-aes-ctr -encryption_key $key `
|
||||||
-encryption_kid $keyID -map 0:a -c:a aac -ar 44100 -seg_duration $seg `
|
-encryption_kid $keyID -map 0:a -vn -c:a aac -ar 44100 -seg_duration $seg `
|
||||||
-use_timeline 1 -use_template 1 -init_seg_name ($fileHash + '_fragments/0_0.$ext$') `
|
-use_timeline 1 -use_template 1 -init_seg_name ($fileHash + '_fragments/0_0.$ext$') `
|
||||||
-media_seg_name ($fileHash + '_fragments/chunk$Number%06d$_$RepresentationID$.$ext$') -adaptation_sets 'id=0,streams=a' `
|
-media_seg_name ($fileHash + '_fragments/chunk$Number%06d$_$RepresentationID$.$ext$') -adaptation_sets 'id=0,streams=a' `
|
||||||
"$fileHash.mpd"
|
"$fileHash.mpd"
|
||||||
|
|
|
@ -19,7 +19,7 @@ cd "$temp"
|
||||||
|
|
||||||
mv "$filename" "$audioFile"
|
mv "$filename" "$audioFile"
|
||||||
ffmpeg -i "$audioFile" -f dash -encryption_scheme cenc-aes-ctr -encryption_key "$key" \
|
ffmpeg -i "$audioFile" -f dash -encryption_scheme cenc-aes-ctr -encryption_key "$key" \
|
||||||
-encryption_kid "$keyID" -map 0 -c:a aac -ar 44100 -seg_duration "$seg" \
|
-encryption_kid "$keyID" -map 0 -vn -c:a aac -ar 44100 -seg_duration "$seg" \
|
||||||
-use_timeline 1 -use_template 1 -init_seg_name "$fileHash"_fragments/0_0."\$ext\$" \
|
-use_timeline 1 -use_template 1 -init_seg_name "$fileHash"_fragments/0_0."\$ext\$" \
|
||||||
-media_seg_name "$fileHash"_fragments/chunk"\$Number"%06d\$_"\$RepresentationID\$"."\$ext\$" -adaptation_sets 'id=0,streams=a' \
|
-media_seg_name "$fileHash"_fragments/chunk"\$Number"%06d\$_"\$RepresentationID\$"."\$ext\$" -adaptation_sets 'id=0,streams=a' \
|
||||||
"$fileHash.mpd"
|
"$fileHash.mpd"
|
||||||
|
|
Loading…
Reference in a new issue