added audio support of FFmpeg VVC

This commit is contained in:
Martin Eesmaa 2022-05-21 05:44:06 +00:00 committed by GitHub
parent 5556b8cf7a
commit 6392235e49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@ Windows (Preview of vvc video in ffplay):
![ffmpegplaypreview](https://user-images.githubusercontent.com/88035011/169019033-bcb7fcc7-a196-4436-a396-61db3071280c.png) ![ffmpegplaypreview](https://user-images.githubusercontent.com/88035011/169019033-bcb7fcc7-a196-4436-a396-61db3071280c.png)
# Limitations of FFmpeg VVC decoder: # Limitations of FFmpeg VVC decoder
Mac OS doesn't include FFplay only for reason, only Mac OS users can convert from vvc video to any video format. Mac OS doesn't include FFplay only for reason, only Mac OS users have to convert from vvc video to any encoder video codecs available.
For Windows, Mac OS and Linux for preview without converting, you can do sample this, including audio support: For Windows, Mac OS and Linux for preview without converting, you can do sample this, including audio support:
@ -14,7 +14,24 @@ For Windows, Mac OS and Linux for preview without converting, you can do sample
ffmpeg_g -i example.266 -i example.opus -vcodec libx264 -acodec libopus -af adelay=1000 -f matroska - | ffplay_g - ffmpeg_g -i example.266 -i example.opus -vcodec libx264 -acodec libopus -af adelay=1000 -f matroska - | ffplay_g -
``` ```
***NOTE: libvvdec does not support with audio.*** Or you can play vvc with audio support:
```
ffplay_g -i convertedvvc.mp4
```
### Update 21th May 2022 of FFmpeg vvdec support
Good news, you can play .mp4 file after .h266 and audio format were merged into mp4 playable of VVC.
About [xHE-AAC](https://www.iis.fraunhofer.de/en/ff/amm/broadcast-streaming/xheaac.html), there is no decode support of FFmpeg, the reason is a license fee, but except [Exhale](https://gitlab.com/ecodis/exhale) (encoder) is free to use and open source. However, you can also merge encoded xHE-AAC audio into mp4 too.
To make playable VVC with audio, you need VVC video encoded, audio file and [GPAC Nightly build](https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/). Code for mp4box/gpac:
```
mp4box -no-probe -add video.266 -add audio.opus -new convertedvvc.mp4
```
For Linux and Mac OS users: Replace **mp4box** by **gpac**
More coming soon... More coming soon...