H.264 Alternative

0 views
Skip to first unread message

Mireille Duhon

unread,
Aug 3, 2024, 4:38:28 PM8/3/24
to dornplicecag

I'm developing a commercial software that is not open source. It will use FFmpeg to export videos. The libx264 codec doesn't appear to be an option for me since I can only use LGPL for legal reasons. What is the best LGPL alternative to libx264? I'd like a codec that makes a good compromise between quality and file size as well as being supported by the majority of video players and video sharing sites such as YouTube. If I have to choose between lower quality and larger file size then I'd go with larger file size since videos can always be transcoded using other software if needed, but lossless formats such as Lagarith are still too large.

What is the new replacement codec for h.264 since adobe officially removed it. When you go to export -> quicktime -> codec h.264 is removed. Does anyone have a replacement codec to use. (STILL UNDER QUICK TIME) i do not want a quality loss going over to mp4.

Editing video for social media & live streaming, I am looking for the highest possible quality video file with the lowest possible file size, compatible with the maximum number of devices.

I agree with your assessment alex_gold77. Very frustrated here in Detroit. Steve Hoeg can you expound on the Output Module Settings popup screen and under "Format Options." The Video Codec H264 has been removed. What should be used for Custom:QuickTime?

People keep recommending MP4 but I don't see that option anywhere, on a brand new install. Not in "Format", not in "Format Options". Maybe that's just a Windows luxury? Welcome to capitalism. The consumer is always whatevs.

MP4 won't be lossless. But neither is an MOV file using H.264 codec. It fact at the same bitrate, an MP4 and an MOV would be identical. The only difference is the format, with MP4 being far more common.

If you want lossless for further editing or effects work, you can choose QuickTime as the Format and Animation under Video Codec. You can also choose Uncompressed or None as the Video Codec for both QuickTime and AVI formats.

If you choose h.264 as your format the select any of there presets. My final video export size was 70mb if i chose match source and not chose a preset the file size drops to 50mb. why do i want a file compressed that low? Im not doing this to save on my phone or for youtube. Im doing this for big screens and displays all around my company so we dont want a compressd .mp4 i want my crisp .mov h.264 file

I didnt do that becuse like ive been stating before i want a tru quick time h.264 .mov. i already know about this way to save. but i dont want my video that compressed. even with raising the bit rate. you just creating a better low res file. But its not not as crisp as a tru quick time h.264 was.

Thanks for sugestion but im looking for my tru quality. When you export .mp4, It might look fine on your phone, or even uploaded to youtube since they compress the video aswell. I need to send my video to professionals detailed eyes, huge monitiors that are seen by thousands of people a day! I am lookinng for the best possble quality.

if its the same wouldnt the final file size similar as well. I dont understand how you keep saying they they are virtualy the same. yet mp4 give me a file size a tenth of what the .mov quick time file would give me.

What it seems that i have learned is that there is no tru replacement for the codec adobe just removed. I will install a old version on another machine and export on it when needed. and for everyhting else ill just use .mp4 with the biterate cranked up to the max!

Your filesizes being different is very likely due to different compression settings. If you want your H264 (MP4) to look much like the quality you have on your timeline, then choose CBR (constant bitrate) with a bitrate setting of between 25-35 MBps. For a more forgiving pair of eyes, 15MBps is a good target.

Thanks to codecs, Netflix manages to stream more than 450,000 hours of content every minute. And in order to get those streams to the various devices that end-users are tuning in from, Netflix must use both new and tried-and-true codecs.

In order to compress the raw video into a more manageable size, encoders use video and audio codecs, which apply algorithms to shrink the bulky video for delivery. To put it more simply: encoding describes the process of compression, whereas codecs describe the means for doing so.

Streaming requires the use of both audio and video codecs. H.264, also known as AVC (Advanced Video Coding), is the most common video codec; AAC (Advanced Audio Coding) is the most common audio codec.

When it comes to streaming, lossy compression is the name of the game. Video codecs employ it to shrink down content for storage and transmission, and later decompressed the video for viewing. While the final video should appear the same, it will be missing any data that was deemed undetectable by the human eye.

Once compressed, the components of a stream are packaged into a wrapper or file format. These files contain the audio codec, video codec, closed captioning, and any associated metadata. Common containers include .mp4, .mov, .ts, and .wmv.

A codec acts upon the video, both at the source to compress it and before playback to decompress it. This is done through lossy compression, during which any unnecessary data is discarded.

Each of the codecs described below is more accurately thought of as an umbrella for closely related encoding profiles. Newer technologies, like Essential Video Coding (EVC), only have two profiles. Whereas older technologies, like H.264, have enough profiles to fill this entire table.

Data and video compression go back decades, but the International Telecommunication Union (ITU) developed the first commercially successful video codec, H.261, in 1988. The organization designed it for use in video conferencing and the codec provided a resolution of 352288 pixels at a frame rate of 30 frames per second. The ITU also developed the first audio codec, G.711, in the 1970s, designed for use in telephony networks and had a bit rate of 64 kbps.

In the 1990s, the Motion Picture Experts Group (MPEG) developed a series of video coding standards that became the most widely used codecs in the world. The first MPEG standard, MPEG-1, was developed in 1993 and was created for use in CD (VCD) players. It had a resolution of 352240 pixels at a frame rate of 30 frames per second. Later, the organization developed MPEG-2 for use in DVD players with a similar frame rate but higher resolution of 720480 pixels. The most widely used video codec since 2016 is H.264/MPEG-4 AVC, which is used in a variety of applications that record or transmit video.

Delivering video over the internet to a variety of devices starts with encoding across a variety of codecs. Next-generation codecs improve encoding efficiency and quality, while legacy codecs enable playback on outdated machines.

Our video codec list below includes both the old and the new. While industry leaders continue to refine and develop the latest compression tools, they also employ older codecs like H.264/AVC for delivery to legacy devices. To put it another way, we live in a multi-codec world, with the landscape trending toward fragmentation rather than consolidation.

H.264 also has significant penetration into markets outside of streaming, such as Blu-ray disks and cable broadcasting. It is often incorporated with the AAC audio codec and can be packaged into .mp4, .mov, .F4v, .3GP, and .ts containers.

The ISO/IEV Moving Picture Experts Group developed H.265 as the successor to H.264. Also called HEVC (High Efficiency Video Coding), this codec aims to improve compression efficiency and support 8K resolution. It generates smaller files than H.264, thus decreasing the bandwidth required to view these streams. This makes it an ideal codec for high-resolution streaming.

And then all of the sudden, Google added H.265 support in Chrome, making it a viable option for browser-based video consumption. Because the codec is also universally supported on Smart TVs, we expect a major uptick in use.

Frustrated about the royalties associated with H.265, Amazon, Netflix, Google, Microsoft, Cisco, and Mozilla formed the Alliance for Open Media. The goal? Create an open-source, royalty-free alternative called AV1.

VP9 is a more advanced and higher-quality compression technology than H.264/AVC that enjoys greater compatibility than many of its alternatives and works well for 4K streaming. That said, the prioritization of AV1 support has bumped VP9 down in 2022.

As the newest kid on the video compression block, the H.266/VVC (Versatile Video Coding) specification was only just finalized in 2020. While intended to usurp H.265 and H.264, it has the same royalty issues as its predecessors.

Luckily, a live stream can always be transcoded into another format once it reaches the server. This can be done using streaming software and your own servers, or in the cloud for professionally managed delivery.

So what exactly is transcoding? Transcoding involves taking an encoded file and decoding it to alter it in some way. This can take the form of re-encoding the data into a more common codec, transizing the video into a lower resolution, transrating the file into a different bitrate, or transmuxing it into a more scalable protocol.

Luckily, we offer the Wowza Video platform for multi-codec video delivery across the globe. That way, you can convert streams as needed by transcoding the data into new codecs or transmuxing into different video encoding formats.

Traci Ruether is a Colorado-based B2B tech writer with a background in streaming and network infrastructure. Aside from writing, Traci enjoys cooking, gardening, and spending quality time with her kith and kin. Follow her on LinkedIn at -ruether/ or learn more at -writes.com/.

How to convert h.264 to Theora using FFmpeg.I generally use all the -qscale commands etc, but the quality is hopeless anyway. The point is that the movie freezes after a few seconds and only keyframes are shown.I know there is another converter but I need a solution in FFmpeg.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages