[FFmpeg-user] Create an AAC stream matching the Core Media Audio packet format / priming etc?

Christian Ebert blacktrash at gmx.net
Sat Apr 15 12:26:42 EEST 2017


* Marton Balint on Saturday, April 15, 2017 at 07:55:22 +0200
> Last time I checked (a year ago or so), ffmpeg created a correct .mov
> edit list to signal the audio priming.
> 
> https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html
> 
> Here is patch which writes Sample Group Description Atom and the
> Sample-To-Group Atom as well, in addition to the already existing edit
> list.
> 
> You can check if it makes a difference or not.

Unfortunately the patch doesn't apply.

> Regards,
> Marton

> From 64d9db76038b7b248bffe459b58b138c6b8fcc03 Mon Sep 17 00:00:00 2001
> From: Marton Balint <cus at passwd.hu>
> Date: Sat, 20 Feb 2016 19:32:18 +0100
> Subject: [PATCH] avformat/movenc: add support for writing AAC Audio Priming
> metadata
> 
> https://developer.apple.com/library/mac/documentation/QuickTime/QTFF/QTFFAppenG/QTFFAppenG.html
> 
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavformat/movenc.c                | 21 ++++++++++++++-------
> tests/ref/fate/adtstoasc_ticket3715 |  4 ++--
> tests/ref/fate/copy-psp             |  4 ++--
> tests/ref/fate/movenc               | 12 ++++++------
> 4 files changed, 24 insertions(+), 17 deletions(-)
> 
> diff --git a/libavformat/movenc.c b/libavformat/movenc.c
> index e6a70bf..5779e3c 100644

I could not find commit e6a70bf either.

-- 
theatre - books - texts - movies
Black Trash Productions at home: https://blacktrash.org
Black Trash Productions on Facebook:
https://www.facebook.com/blacktrashproductions


More information about the ffmpeg-user mailing list