Jump to content

How does Emby render video in mkv format to play on web browser


Recommended Posts

Posted

I’m using FFmpeg to convert a video from MKV to MP4, but the process is quite slow. I’m wondering if there might be a more efficient method, such as chunked transfer encoding, to speed things up. Could you please explain how I might use chunked transfer for this purpose or anthoder technique?

Thank you! :)

Posted

use -c:a copy -c:v copy - you are probably asking ffmpeg to transcode the video which is why it's slow...

 

Happy2Play
Posted
16 minutes ago, noocat said:

I’m using FFmpeg to convert a video from MKV to MP4, but the process is quite slow

Yes you may need to elaborate as it sounds like you may be reencoding instead of just changing containers.

  • Agree 1
Posted
9 hours ago, Happy2Play said:

Yes you may need to elaborate as it sounds like you may be reencoding instead of just changing containers.
是的,您可能需要详细说明,因为听起来您可能正在重新编码,而不仅仅是更改容器。

I'm a junior programmer, and I'm building a website similar to Emby. I want my website to be able to play videos, but it can only handle .h264 and .mp4 formats. Most of my videos are in .mkv format, so my solution is to use FFmpeg to transcode the .mkv videos into .mp4 while streaming them to the webpage for playback.However, this hasn't been successful.I apologize for not explaining it clearly.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...