[FFmpeg-trac] #867(avformat:open): support in24 audio in mov muxer
FFmpeg
trac at avcodec.org
Wed Dec 19 06:01:15 CET 2012
#867: support in24 audio in mov muxer
------------------------------------+------------------------------------
Reporter: dericed | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: atag mov | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by dericed):
Not exactly sure when this was fixed, but when I now try to replicate the
commands I originally posted the output is as expected.
{{{
ffmpeg -i fcp_capture2.mov -vn -acodec pcm_s24be -atag in24 in24.mov
ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 18 2012 23:49:10 with Apple clang version 4.1
(tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
--enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
--cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-libxvid --enable-ffplay
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 80.100 / 54. 80.100
libavformat 54. 49.102 / 54. 49.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 28.102 / 3. 28.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8b5080f200] Stream #1: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8b5080f200] Stream #2: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8b5080f200] Stream #3: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8b5080f200] Stream #4: not enough frames to
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8b5080f200] Stream #5: not enough frames to
estimate rate; consider increasing probesize
Guessed Channel Layout for Input Stream #0.2 : stereo
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fcp_capture2.mov':
Metadata:
creation_time : 2012-11-29 21:23:35
timecode : 01:26:27;06
Duration: 00:00:00.40, start: 0.098771, bitrate: 216637 kb/s
Stream #0:0(eng): Video: rawvideo (2vuy / 0x79757632), uyvy422,
720x486, 136674 kb/s, 24.41 fps, 29.97 tbr, 2997 tbn, 2997 tbc
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
Stream #0:1(eng): Subtitle: eia_608 (c608 / 0x38303663)
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32, 2304 kb/s
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32, 1152 kb/s
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
mono, s32, 1152 kb/s
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
Stream #0:5(eng): Data: none (tmcd / 0x64636D74)
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
timecode : 01:26:27;06
Output #0, mov, to 'in24.mov':
Metadata:
timecode : 01:26:27;06
encoder : Lavf54.49.102
Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz,
stereo, s32, 2304 kb/s
Metadata:
creation_time : 2012-11-29 21:23:36
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:2 -> #0:0 (pcm_s24le -> pcm_s24be)
Press [q] to stop, [?] for help
size= 134kB time=00:00:00.57 bitrate=1916.9kbits/s
video:0kB audio:133kB subtitle:0 global headers:0kB muxing overhead
0.551449%
}}}
Then read back the output
{{{
ffmpeg -i in24.mov
ffmpeg version 1.0.git Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 18 2012 23:49:10 with Apple clang version 4.1
(tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
--enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables
--cc=cc --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-libxvid --enable-ffplay
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 80.100 / 54. 80.100
libavformat 54. 49.102 / 54. 49.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 28.102 / 3. 28.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in24.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.49.102
Duration: 00:00:00.47, start: 0.098000, bitrate: 2314 kb/s
Stream #0:0(eng): Audio: pcm_s24be (in24 / 0x34326E69), 48000 Hz,
stereo, s32, 2304 kb/s
Metadata:
handler_name : DataHandler
At least one output file must be specified
}}}
The result is the same if I omit the -atag in24, the output defaults to
the in24 fourcc. It appears that in24 is now supported in the mov muxer.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/867#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list