Hi,
encoder itself produces different video output files.
for ex: bitstream_1.out, bitstream_2.out, bitstream_3.out
ffmpeg -i input -filter_complex \
"[0:v]split=2[s0][s1]; \
[s0]scale=1280:-2[v0]; \
[s1]scale=640:-2[v1]" \
-map "[v0]" -map "[v1]" -map 0:a -c:v libx264 -c:a aac -f tee \
"[select=\'v:0,a\']local0.mkv| \
[select=\'v:0,a\':f=flv]rtmp://server0/app/instance/playpath| \
[select=\'v:1,a\']local1.mkv| \
[select=\'v:1,a\':f=flv]rtmp://server1/app/instance/playpath"
but In above ffmpeg example two x264 encoder instances will run in parallel
right? If one libx264 encoder produces different video output files how
ffmpeg will handle?
Post by Steven LiuPost by mahesh pActually encoder producing multiple output files but where as tee muxer
can be used to write the same data to several files So I'm looking for
solution where ffmpeg generates all output files which are produced by an
encoder.
if you want to use tee, the tee format is a AVFormatContext, you can use
it like write mp4, mov, flv, and so on.
tee can split multiple output file use '|'
Post by mahesh pPost by Steven LiuPost by mahesh pHello,
I am looking for a solution by which one encoder can
generate multiple output files. Can we do this with ffmpeg today?
Do you mean muxers: tee, tee proto
if you mean codec, you can refer to Carl's response.
Post by mahesh pThanks,
Mahesh
_______________________________________________
Libav-user mailing list
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
http://ffmpeg.org/mailman/listinfo/libav-user