I would like to transcode my live rtmp stream with resize to rtmp and mp4 smaller size and bitrate. So I do like

ffmpeg -i rtmp://my.input/stream -vcodec libx264 -s 640x480 -acodec copy -f flv rtmp://output/stream

or the same with mp4. To sync my application with the stream I use onFi event in rtmp stream. But after transcode the resulting flv doesn't contain it. mp4 also doesn't have any timecode data. Is it possible to somehow save this data: to data track, subtitle track or any other way? Or at least to leave it as is (as onFI events) inside the output rtmp...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.