Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd January 2022, 17:33   #1  |  Link
mike23
Registered User
 
Join Date: May 2003
Posts: 107
MPEG-4 AVC H.264 (Intel Quick Sync) not for AVI but only for MP4 videos?

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?

Last edited by mike23; 23rd January 2022 at 17:40.
mike23 is offline   Reply With Quote
Old 23rd January 2022, 21:16   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
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

Code:
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
poisondeathray is offline   Reply With Quote
Old 23rd January 2022, 21:29   #3  |  Link
lvqcl
Registered User
 
Join Date: Aug 2015
Posts: 293
https://en.wikipedia.org/wiki/Audio_...ve#Limitations
Quote:
  • 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
lvqcl is offline   Reply With Quote
Old 24th January 2022, 03:00   #4  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
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?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 24th January 2022, 07:02   #5  |  Link
mike23
Registered User
 
Join Date: May 2003
Posts: 107
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?
mike23 is offline   Reply With Quote
Old 24th January 2022, 15:59   #6  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by mike23 View Post
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
poisondeathray is offline   Reply With Quote
Old 25th January 2022, 02:29   #7  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,750
Quote:
Originally Posted by mike23 View Post
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.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.