* [FFmpeg-devel] [PATCH v3 0/5] add PCM in mp4 support
@ 2023-03-06 12:02 Zhao Zhili
2023-03-14 16:24 ` Zhao Zhili
0 siblings, 1 reply; 2+ messages in thread
From: Zhao Zhili @ 2023-03-06 12:02 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Zhao Zhili
From: Zhao Zhili <zhilizhao@tencent.com>
This patchset adds support of demux/mux PCM in mp4, and related channel
layout information. PCM in mp4 is defined by ISO/IEC 23003-5. The channel
layout tag 'chn' is defined by ISO/IEC 14496-12 with reference to ISO/IEC
23001-8.
v3:
1. Rebase on master
2. Reorder the patchset to add demux support first, then mux
3. Add pcmC and chnl support in a single patch to movenc
v2:
1/8: simplied with switch-case
2-3/8: cherry-picked from jeeb's work
4/8: use switch-case and add log message
5/8:
6/8:
a. check version and flags
b. support number of channels >= 64 with custom layout
c. fix some channel layout operations like assignment directly
d. return error for unsupported channel configurations
e. warning when skiping bytes
7/8: support number of channels >= 64
8/8: fix fate-mov-mp4-pcm-float dependency
Zhao Zhili (5):
avformat/mov: fix ISO/IEC 23003-5 support
avformat/isom_tags: remove ipcm from movaudio_tags
avformat/mov: parse ISO-14496-12 ChannelLayout
avformat/movenc: add PCM in mp4 support
fate/mov: add PCM in mp4 test
libavformat/isom.h | 2 +
libavformat/isom_tags.c | 2 -
libavformat/mov.c | 134 +++++++++++++-
libavformat/mov_chan.c | 296 +++++++++++++++++++++++++++++++
libavformat/mov_chan.h | 26 +++
libavformat/movenc.c | 84 ++++++++-
tests/fate/mov.mak | 12 ++
tests/filtergraphs/mov-mp4-pcm | 5 +
tests/ref/fate/mov-mp4-pcm | 27 +++
tests/ref/fate/mov-mp4-pcm-float | 7 +
10 files changed, 591 insertions(+), 4 deletions(-)
create mode 100644 tests/filtergraphs/mov-mp4-pcm
create mode 100644 tests/ref/fate/mov-mp4-pcm
create mode 100644 tests/ref/fate/mov-mp4-pcm-float
--
2.25.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH v3 0/5] add PCM in mp4 support
2023-03-06 12:02 [FFmpeg-devel] [PATCH v3 0/5] add PCM in mp4 support Zhao Zhili
@ 2023-03-14 16:24 ` Zhao Zhili
0 siblings, 0 replies; 2+ messages in thread
From: Zhao Zhili @ 2023-03-14 16:24 UTC (permalink / raw)
To: ffmpeg-devel
On Mon, 2023-03-06 at 20:02 +0800, Zhao Zhili wrote:
> From: Zhao Zhili <zhilizhao@tencent.com>
>
> This patchset adds support of demux/mux PCM in mp4, and related channel
> layout information. PCM in mp4 is defined by ISO/IEC 23003-5. The channel
> layout tag 'chn' is defined by ISO/IEC 14496-12 with reference to ISO/IEC
> 23001-8.
>
> v3:
> 1. Rebase on master
> 2. Reorder the patchset to add demux support first, then mux
> 3. Add pcmC and chnl support in a single patch to movenc
Will apply soon if no objection.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-14 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 12:02 [FFmpeg-devel] [PATCH v3 0/5] add PCM in mp4 support Zhao Zhili
2023-03-14 16:24 ` Zhao Zhili
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git