vMix Forums
»
General
»
General Discussion
»
avi or mp4 for best performance?
Rank: Advanced Member
Groups: Registered
Joined: 3/21/2016(UTC) Posts: 77 Location: Belfast
Thanks: 9 times Was thanked: 3 time(s) in 3 post(s)
|
Hi I've read I think that AVI files are supposed to be easier on the cpu in vmix( though larger file size ) than mp4 . Every time though that i use avi files they always stutter and mp4 runs smoother. I am using a n i7 with an nvidia gtx 1060 . Have I got that wrong regarding the most optimum file formats? I was hoping to use avi files for animated matte transitions.
Regards Cormac
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2012(UTC) Posts: 2,636 Location: Canada Thanks: 33 times Was thanked: 506 time(s) in 475 post(s)
|
@ Cormac
Have you considered or tried converting your avi files to Image sequences for that functionality? (use the "vMix Video Tools" in the Windows Start Menu vMix folder) I find avi files are hard drive intensive and can often be choppy depending on what else you have going on.
Ice
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2013(UTC) Posts: 405 Location: Gold Coast, Australia
Thanks: 27 times Was thanked: 76 time(s) in 58 post(s)
|
I like MPEG-2 .ts files. They seem to be easy on the editing software, easy on Vmix and not prone to corruption. Maybe not ideal on the disk space, but a good solid format particularly for long events. I often do 8-9 hour streams. Just keep increasing that bit rate until you are satisfied. 20mbit is usually nice.
Depends on your needs, but MPEG-2 .ts has been the optimum format for me, they all seem to have pros and cons.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/20/2014(UTC) Posts: 388
Thanks: 29 times Was thanked: 80 time(s) in 51 post(s)
|
Some will disagree- Tom at ESB should chime in here -
But i get lower render times (which is the key) when recording in Mpeg-2 vs Mpeg 4.
This is on an i7 with a 1GB Nvidia.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 1/29/2017(UTC) Posts: 140 Location: Squamish Thanks: 54 times Was thanked: 4 time(s) in 3 post(s)
|
Maybe this is slightly off-topic, but is Mpeg-2.ts OK for putting on the web like MP4 is?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/3/2013(UTC) Posts: 405 Location: Gold Coast, Australia
Thanks: 27 times Was thanked: 76 time(s) in 58 post(s)
|
Youtube seems to accept MPEG2, but no it's not ideal for direct upload to the web. The main reason is it's not as highly compressed. Which is why it is fast in editing and recording. It's an older format, but a quite a reliable format. For me the best feature is it seems to be good at file splitting, so you have have a new file every 30 minutes without upsetting anything. The joins are seamless between files. Often on MP4 if a few bytes get corrupted you can lose a substantial part of the video or in some cases all of the video. MPEG-2 .ts you generally just lose just the area of the corruption.
For the web your goal is the max compression with best visual quality. The best protocol for the web might be H.265 also called HEVC, except it's quite intensive to encode and decode. So your user has to have a fast computer and with so much Mobile everything, you can't assume every viewer is going to have a Core i3 or equivalent decoding capability or a video chip dedicated to decoding the video. (it will happen soon).
So H.264 is really the most popular choice, because most smartphones/tablets play it just fine (not just the new ones).
I've concluded in my workflow MPEG2 .ts is great for recording.
H.265 (HEVC) is great for Archiving footage where disk space is at a premium.
H.264 is the best choice right now for streaming due to wide compatibility.
.AVI or .MP4 or .TS are really containers and have their own pros/cons and subsets of features. You can even change the "container" without re-encoding the video if the codec is the same. Personally I don't care too much about the container except that my video editor plays nice with it.
That's my $0.02, you might have different requirements and a different workflow. If you can't accept any quality loss archiving, you may not want to re-encode at H.265 lower bitrates as I do all footage more than a year old. You might just want to use H.264 all the way. I used to, but found it wasn't for me and rather do the work to use all 3 of the above codecs for their specific roles in my workflow. It was better, even though a little more time consuming. (I let those big encoding jobs run when I sleep).
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/7/2012(UTC) Posts: 503 Location: The Netherlands Thanks: 9 times Was thanked: 45 time(s) in 39 post(s)
|
what about quality differences?
mpeg is great for fail safe recording, but bigger files. then if you want to store master quality recordings, what setting do you use. at hq settings 25mbps these files are big but compared to mp4 quality is less.
I would prefer recording in prores for backup purposes, but file size vs quality is an issue. the resulting files are too big.
mpeg i can not use in post since fcpx does not use this type of file. So I record mp4. a compromize.
Settings are high profile - 25mbps - 1080p25. but i find the resulting image grainy, compared to the original recording on disk from one of the cameras (recorded at a lower bandwith 1080p25).
I will do some more tests to find the optimum between file size, file useability in post and quality.
any ideas?
stefan
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
avi or mp4 for best performance?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close