[FFmpeg-user] 答复: stream pre-encoded local files as a live source

He Lei helei0908 at hotmail.com
Sun Dec 25 16:53:50 EET 2016


The protocol of rtmp, must be flv, that is h264 and aac, if your media format is the other, it will fail;

so, you must recode when publish, or before do that;



发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用



发件人: Egor Egorblch<mailto:temp_for_x-at-mail.ru at ffmpeg.org>
发送时间: 2016年12月25日 20:51
收件人: ffmpeg-user at ffmpeg.org<mailto:ffmpeg-user at ffmpeg.org>
主题: [FFmpeg-user] stream pre-encoded local files as a live source



Hello to everyone,

Need some help with streaming different local files in a bunch of different containers and codecs.

I have a huge video collection that I recorded through the years on different camcorders so there
is a mass .avi/.ts/.mp4/.mkv/etc. files in different folders on my local drive.

I'd like to stream them to my home DLNA server as a live stream so that I could watch them on my
smart TV. Also, I don't want to re encode them so that they all have the same container and codec.

How can I achieve that goal with ffmpeg? Can't find how to stream a folder not a file in the FFmpeg documentation.

I'd like to run a few copies of FFmpeg with something like this:
ffmpeg -re -i "path/folder1" -vcodec copy -acodec copy rtmp://server/live/streamName
ffmpeg -re -i "path/folder2" -vcodec copy -acodec copy rtmp://server/live/streamName
ffmpeg -re -i "path/folder3" -vcodec copy -acodec copy rtmp://server/live/streamName

After that I'd like to make a .m3u play list with those links and apply it on my DLNA server as a
IPTV links.

Is it possible to do with FFmpeg?

Brgds,
Egor

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list