Opened 10 years ago
Closed 10 years ago
#5464 closed defect (fixed)
Muxing AAC Creates Empty mov_text Stream
| Reported by: | Ryan Lucia | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | mov |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
FFmpeg version: N-79585-g268b5ae
Summary of the bug:
When remuxing the audio file, it creates an empty mov_text stream that wasn't present in the original file. The issue persists when muxed into an mp4 file, and I've tried nothing else.
How to reproduce:
Mux the audio file (https://www.datafilehost.com/d/f857df5c) back into a new m4a file or mp4 file. Below is my sample, remuxing to m4a. Not sure if it's useful, but that audio file was generated by re-encoding a flac file I had handy using foobar2000's free encoder pack.
ffmpeg -i .\testaudio.m4a -map 0:a -codec copy testout.m4a
ffmpeg version N-79585-g268b5ae Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3l
ame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl
e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 22.101 / 55. 22.101
libavcodec 57. 38.100 / 57. 38.100
libavformat 57. 34.103 / 57. 34.103
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 44.100 / 6. 44.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\testaudio.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
creation_time : 2016-04-22 19:58:30
track : 1/3
genre : Vocal
album : 闖ッ蜚
album_artist : ABSOLUTE CASTAWAY
artist : 荳ュ諱オ蜈牙沁
CATALOG_NUMBER : ACCD-0010
DISCID : 22046303
Encoding Params : vers
iTunSMPB : 00000000 00000840 00000348 0000000000CF1878 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
title : 繧ォ繧ャ繝、
encoder : qaac 2.55, CoreAudioToolbox 7.10.5.0, AAC-LC Encoder, CBR 192kbps, Quality 96
date : 2009.08.15
Duration: 00:05:07.83, start: 0.047891, bitrate: 193 kb/s
Chapter #0:0: start 0.047891, end 307.874830
Metadata:
title : 繧ォ繧ャ繝、
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
creation_time : 2016-04-22 19:58:30
File 'testout.m4a' already exists. Overwrite ? [y/N] y
[ipod @ 04e1e840] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, ipod, to 'testout.m4a':
Metadata:
major_brand : M4A
minor_version : 0
compatible_brands: M4A mp42isom
date : 2009.08.15
track : 1/3
genre : Vocal
album : 闖ッ蜚
album_artist : ABSOLUTE CASTAWAY
artist : 荳ュ諱オ蜈牙沁
CATALOG_NUMBER : ACCD-0010
DISCID : 22046303
Encoding Params : vers
iTunSMPB : 00000000 00000840 00000348 0000000000CF1878 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
title : 繧ォ繧ャ繝、
encoder : Lavf57.34.103
Chapter #0:0: start 0.000000, end 307.826939
Metadata:
title : 繧ォ繧ャ繝、
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, 192 kb/s (default)
Metadata:
creation_time : 2016-04-22 19:58:30
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 7268kB time=00:05:07.77 bitrate= 193.5kbits/s speed=1.97e+003x
video:0kB audio:7215kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.739564%
ffmpeg -i testout.m4a
ffmpeg version N-79585-g268b5ae Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3l
ame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl
e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 22.101 / 55. 22.101
libavcodec 57. 38.100 / 57. 38.100
libavformat 57. 34.103 / 57. 34.103
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 44.100 / 6. 44.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testout.m4a':
Metadata:
major_brand : M4A
minor_version : 512
compatible_brands: isomiso2
title : 繧ォ繧ャ繝、
artist : 荳ュ諱オ蜈牙沁
album_artist : ABSOLUTE CASTAWAY
album : 闖ッ蜚
date : 2009.08.15
encoder : Lavf57.34.103
genre : Vocal
track : 1/3
Duration: 00:05:07.83, start: 0.000000, bitrate: 193 kb/s
Chapter #0:0: start 0.000000, end 307.827000
Metadata:
title : 繧ォ繧ャ繝、
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:1(eng): Subtitle: mov_text (text / 0x74786574)
Metadata:
handler_name : SubtitleHandler
At least one output file must be specified
Change History (2)
comment:1 by , 10 years ago
| Component: | undetermined → avformat |
|---|---|
| Keywords: | mov added |
comment:2 by , 10 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Mostly fixed by Roger Combs in 697400ea



Looks like a duplicate of ticket #3668.