[FFmpeg-user] Multiple instances of ffmpeg segmenter
andre8525
andre8525 at hotmail.com
Tue Jun 25 12:57:26 CEST 2013
Hi to all,
I have created few profiles for a movie by using the following:
ffmpeg -y -i iceage.avi -threads 0 -f mpegts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline \
-x264opts "fps=12:keyint=36:bitrate=200" -s 416x234
iceage_416_234_200.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline \
-x264opts "fps=12:keyint=36:bitrate=400" -s 480x270
iceage_480_270_400.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline \
-x264opts "fps=24:keyint=72:bitrate=600" -s 640x360
iceage_640_360_600.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile baseline \
-x264opts "fps=24:keyint=72:bitrate=1200" -s 640x360
iceage_640_360_1200.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile main \
-x264opts "fps=24:keyint=72:bitrate=1800" -s 960x540
iceage_960_540_1800.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile main \
-x264opts "fps=24:keyint=72:bitrate=2500" -s 960x540
iceage_960_540_2500.ts \
-acodec libfaac -ab 64k -ar 44100 -vcodec libx264 -vprofile main \
-x264opts "fps=24:keyint=72:bitrate=4500" -s 1280x720
iceage_1280_720_4500.ts
and i want to use the segmenter to chunk each of the profiles. I was
thinking to use the following:
ffmpeg -re -i iceage_416_234_200.ts -i iceage_480_270_400.ts -i
iceage_640_360_600.ts -i iceage_640_360_1200.ts -i iceage_960_540_1800.ts -i
iceage_960_540_2500.ts -i iceage_1280_720_4500.ts \
-codec copy -map 0 -f segment -segment_list iceage_416_234_200.m3u8
-segment_list_flags +live -segment_time 7 iceage_416_234_200%07d.ts \
-codec copy -map 0 -f segment -segment_list iceage_480_270_400.m3u8
-segment_list_flags +live -segment_time 7 iceage_480_270_400%07d.ts \
-codec copy -map 0 -f segment -segment_list iceage_640_360_600.m3u8
-segment_list_flags +live -segment_time 7 iceage_640_360_600%07d.ts \
-codec copy -map 0 -f segment -segment_list iceage_640_360_1200.m3u8
-segment_list_flags +live -segment_time 7 iceage_640_360_1200%07d.ts \
-codec copy -map 0 -f segment -segment_list iceage_960_540_1800.m3u8
-segment_list_flags +live -segment_time 7 iceage_960_540_1800%07d.ts \
-codec copy -map 0 -f segment -segment_list iceage_960_540_2500.m3u8
-segment_list_flags +live -segment_time 7 iceage_960_540_2500%07d.ts \
-codec copy -map 0 -f segment -segment_list iceage_1280_720_4500.m3u8
-segment_list_flags +live -segment_time 7 iceage_1280_720_4500%07d.ts \
Does someone have done something simiral before?
Thank you
Andrew
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Multiple-instances-of-ffmpeg-segmenter-tp4659704.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list