Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- encoding="-c:v libx264 -crf:v 25 -preset:v medium -profile:v main -level 3.1 -vf hflip -s hd480 -aspect 16:9 -c:a libfdk_aac -vbr 3 -ac 2 -ar 44100 -threads 8"
- for file in *.m4v
- do
- echo "file '$(pwd)/$file'"; done > "concatlist.txt"
- ffmpeg -re -f concat -i "concatlist.txt" -map 0:0 -map 0:4 $encoding -f flv "rtmp://url/app/" -f mp4 season1.mp4
- sleep 12
- done
- ### log
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 -> libx264)
- Stream #0:4 -> #0:1 (aac -> libfdk_aac)
- Stream #0:7 -> #1:0 (mjpeg -> libx264)
- Stream #0:1 -> #1:1 (aac -> libfaac)
- Press [q] to stop, [?] for help
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement