Tmpname_init= " $output_fmp4_dir/tmp. I'm able to create the chunks and m3u8 using the command below: ffmpeg -i input.mp4 -g 60 -hlstime 10 out. Unfortunately instead of creating an MPEG-TS file with 4 programs, each with an audio and a video stream, it has created an MPEG-TS with 1 program, each with 4. ffmpeg -i video1.ts -i video2.ts -i video3.ts -i video4.ts -c copy -map 0 -map 1 -map 2 -map 3 video.ts. And also I need the chunks in different formats (260p, 480p, 720p, 1080p). I have converted 4 video files to MPEG-TS format. ts from the input dirĭstname_fmp4= " $output_fmp4_dir/ $filename.mp4 "įragname_fmp4= " $output_fmp4_dir/ $filename.m4s "ĭstname_init= " $output_fmp4_dir/init.mp4 " ts) of fixed duration (say 5 or 10 seconds) from a mp4 video. ' >&2Įcho "./tsmp4.sh INPUT_TS_DIR OUTPUT_FMP4_DIR "Įcho "Example. ' >&2Įcho 'Error: mp4extract (BENTO) is not installed. If ! thenĮcho 'Error: ffmpeg is not installed. # Check ffmpeg and BENTO mp4extract are installed and in the PATH
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |