View Full Version : MPEG-4 AVC H.264 (Intel Quick Sync) not for AVI but only for MP4 videos?
mike23
23rd January 2022, 17:33
As I found out the
MPEG-4 AVC H.264 (Intel Quick Sync) video codec is only offered for MP4 as target container but not for AVI (at keast not in XMedia Recode).
Is this correct?
I though that video and audio codecs should be independent from video file container
What exactly does Intel Quick Sync mean?
Is this for usage of CPU/GPU built-in firmware feature?
Since which Intel CPU generation is this offered?
poisondeathray
23rd January 2022, 21:16
Intel Quick Sync is hardware accelerated decoding and/or encoding since Sandy Bridge generation
Maybe you are using audio incompatible in AVI container ? or Maybe it's a limitation of XMedia Recode
quicksync video encoding works ok with ffmpeg
eg
ffmpeg -f lavfi -i testsrc2=rate=24000/1001:duration=10:s=640x480 -c:v h264_qsv -an -b:v 1000k test.avi
But why would you want to use AVI container ? There can sometimes be issues with AVC in AVI for some software especially with b-frames; it's less compatible than say MP4 container
lvqcl
23rd January 2022, 21:29
https://en.wikipedia.org/wiki/Audio_Video_Interleave#Limitations
AVI was not intended to contain video using any compression technique that requires access to future video frame data beyond the current frame (B-frame). Approaches exist to support modern video compression techniques (such as MPEG-4) that rely on this function, although this is beyond the intent of the original specification and may cause problems with playback software which does not anticipate this use.
AVI cannot contain some specific types of variable bitrate (VBR) data reliably
benwaggoner
24th January 2022, 03:00
Yeah, H.264-in-AVI has never been recommended or well supported. Heck, MPEG-4 pt 2 (divx/xvid) wasn't recommended or well supported for .avi either.
AVI is an ancient format that Microsoft has been trying to deprecate for >20 years now, and hasn't been updated since 1996. As lvqcl points out, it predates b-frames.
Why do you want to use it?
mike23
24th January 2022, 07:02
Ok, thank you.
That means encoding a video into MP4 with the same encoding parameters will result in exactly the same video file no matter whether I use
AVC / H.264
or
AVC / H.264 (Quick Sync)
The only difference is the time required for encoding.
correct?
poisondeathray
24th January 2022, 15:59
Ok, thank you.
That means encoding a video into MP4 with the same encoding parameters will result in exactly the same video file no matter whether I use
AVC / H.264
or
AVC / H.264 (Quick Sync)
The only difference is the time required for encoding.
correct?
Not if the 1st option indicates "CPU" or libx264
You can try it out on a short test
benwaggoner
25th January 2022, 02:29
Ok, thank you.
That means encoding a video into MP4 with the same encoding parameters will result in exactly the same video file no matter whether I use
AVC / H.264
or
AVC / H.264 (Quick Sync)
The only difference is the time required for encoding.
correct?
Probably not. If the first option is x264, it'll probably yield better quality at a given bitrate but take longer to encode. Whether or not that matters depends a ton on what you are trying to do.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.