Is it possible to mux VVC bitstream into a container with audio already? #403
-
I'm experimenting with VVC to see how big the compression gains without perceptible quality loss are on some of the h264/VP9 1080p encodes I have and I've tried muxing the results into mp4/mkv, but so far I have trouble playing that back properly on my system. Here's the bitstream and audio: Playing back the muxed mp4 on MPC-HC, it stutters terribly and is virtually unwatchable due to this, while mkv cannot be reliably muxed at all in ffmpeg (timestamp creation anyone?).
That doesn't stutter at all, doesn't eat up unreasonable amounts of RAM and has decent enough visual quality. Ideally, though, you don't have to do all that and can just play a muxed container. Also, YUV conversion does introduce a slight color tint here. Is it really overhead of demuxing that causes so much stutter? I'm amazed with visual quality I get from MPC-HC on playing back standalone VVC bitsream so it would be lovely if I could somehow get it to play back the muxed container stutter-free. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
How do you MUX to mp4? This should be the solution to use. We have been doing it since forever and it works great for us. If using GPAC it is recommended to use -forcesync (or whatever the actualy syntax is) to enable seeking in with open GOP RAPs. AFAIK mkv with VVC is not specified or implemented and generally does not work. |
Beta Was this translation helpful? Give feedback.
-
By using MP4Box from gpac it´s pretty easy to mux audio and video: |
Beta Was this translation helpful? Give feedback.
-
Oh man, MP4Box does work like charm, thanks a lot! mp4 and even mkv play smoothly in MPC-HC. I was muxing with latest ffmpeg and apparently it could never put sensible PTS in the generated file. There's probably a way to get it right even with their current level of support eventually with bitstream filters, but no thanks, I'll take GPAC for this one. |
Beta Was this translation helpful? Give feedback.
By using MP4Box from gpac it´s pretty easy to mux audio and video:
MP4Box -add UtsukushikuIkiro.h266 -add UtsukushikuIkiro.opus -new UtsukushikuIkiro.mp4
or
MP4Box -add UtsukushikuIkiro.h266 -add UtsukushikuIkiro.opus -new UtsukushikuIkiro.mkv