kirintwn / prompeg-decoder

A proxy to recover lost packets from FFmpeg Pro-MPEG video stream
MIT License
30 stars 13 forks source link

Suggestion: server mode #1

Open lars18th opened 5 years ago

lars18th commented 5 years ago

Hi,

This tool is a great improvement, as it's solves the FFmpeg lack of "receive" mode for Pro-MPEG FEC.

However, I suggest to implement too the server tool. At time, the support in FFmpeg for sending any MPEG-TS stream is limited. I only found this patch (not accepted) to circunvent this limitation: https://patchwork.ffmpeg.org/patch/2147/

So using your receive and the new server then we can send and receive any TS stream.

What you think?

kirintwn commented 5 years ago

Hi, sorry for the late reply as I was serving in military last couple month.

So basically you are talking about making a server-end "proxy" to generate FEC from the raw MPEG-TS stream? This would be great for some application that requires some kind of non-RTP protocol. Out of curiosity, may I ask what application are you planing to use it?

Thank you for your consideration.

lars18th commented 5 years ago

Hi @cy91244 ,

No problem for the late reply. :wink:

So basically you are talking about making a server-end "proxy" to generate FEC from the raw MPEG-TS stream?

Just that!

Out of curiosity, may I ask what application are you planing to use it?

Mainly with FFmpeg... but not directly. FFmpeg is a great compressor, but it's not a good generator of DTV streams (DVB or ATSC in a MPEG-TS container). So I like to encode in a remote machine and create a custom TS stream. Then I like to receive this stream from the network with FEC like this:

ENCODER (FFmpeg) --> TS PROCESSOR --> FEC GENERATOR (prompeg-encoder) --> NETWORK NETWORK --> FEC RECEIVER (prompeg-decoder) --> LOCAL PROCESSOR

I hope you like to implement a prompeg-encoder tool too.

lars18th commented 5 years ago

Hi @kirintwn ,

Any news about the "server mode" (aka prompeg-endecoder ?

kirintwn commented 5 years ago

Hello,

I really like the idea you provide. TBH I can't implement in next several months due to my busy work schedule.

Hopefully, If you would like to do it, I will try my best to answer questions & review PR. Cheers.