Jump to content

Is there a way to live transcode video to an MP4 file?


uglyned

Recommended Posts

Just wondering - is there a way of achieving this?

 

Either transcoding live video and storing it in a file, or transcoding a recording file as it's being recorded?

 

Is there any way of achieving this?

 

Thanks in advance.

Link to comment

Well actually this won't work. MP4 containers have the index at the end. Without the index you just have garbage. Live stream never ends, so you won't be able to create an index :)

What might work is mpeg dash, which is similar to HLS, but optional with mp4 chunks.

  • Like 1
Link to comment
4 hours ago, hackbart said:

Well actually this won't work. MP4 containers have the index at the end. Without the index you just have garbage. Live stream never ends, so you won't be able to create an index :)

What might work is mpeg dash, which is similar to HLS, but optional with mp4 chunks.

 

Thanks for this - I'd been playing with ffmpeg through the day and thanks to Google had come to the same conclusion.

 

I was lucky that the only other container the application I was streaming to would accept was WMV and this one did work.

 

I've become something of a fan of virtual reality and the sportsbar game I play will now read video files to the TVs.

 

So now I'm using ffmpeg to connect to an RTSP stream from the recording service, transcoding, deinterlacing and saving to a WMV file.

 

The result - I can do 2 of my favourite things at the same time.

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...