1

I'm writing a server and I have to play commercials on demand, so I'm trying to avoid re encoding video.

I assume that video containers have headers and meta data, so it would not be possible.

Is there a format (preferably compressed) that is proper to stream one video after the other without re encode or stopping the streaming? Concatenable in a binary sense, and still playable.

  • 2
    Welcome! If you haven't already, look at HLS and MPEG DASH for widely adopted methods of solving your problem. – Michael Liebman Feb 20 at 2:04
  • I really don't know much about video formats, but this seems exactlty what I'm looking for, allied with fragmentation might do the trick, tyvm. – Edney Feb 20 at 2:44
  • For server applications and automated, scripted concatenation and encoding, I recommend you take a look at ffmpeg. – Florian Claaßen Feb 20 at 9:47
  • I did it! Can I post my solution here as an anwswer? (It has some c# code) – Edney Feb 21 at 18:57

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.