[FFmpeg-trac] #1603(undetermined:new): fix remuxing of ima_adpcm_qt in mov
FFmpeg
trac at avcodec.org
Sat Aug 4 14:12:35 CEST 2012
#1603: fix remuxing of ima_adpcm_qt in mov
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: | undetermined
unspecified | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
it looks like ffmpeg does not set correctly compression ID and
stts_entries[i].duration
while remuxing ima_adpcm_qt in mov, so the output file is unplayable by qt
(and ffmpeg)
attached hack fixes for me remuxing of ima_ffmpeg.mov
{{{
C:\>ffmpeg -i ima_ffmpeg.mov -acodec copy out.mov
ffmpeg version N-43160-g752344d Copyright (c) 2000-2012 the FFmpeg
developers
built on Aug 3 2012 02:38:06 with gcc 4.5.0 (GCC) 20100414 (Fedora
MinGW 4.5.
0-1.fc14)
configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
--arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-
libs='-lws2_32 -
lwinmm -lpthread' --extra-cflags='--static
-I/var/www/users/research/ffmpeg/snap
shots/build/include' --extra-ldflags='-static
-L/var/www/users/research/ffmpeg/s
napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-
version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
--enable-
libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb
--enable-
libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-
decoder=libvpx
libavutil 51. 66.100 / 51. 66.100
libavcodec 54. 48.100 / 54. 48.100
libavformat 54. 22.100 / 54. 22.100
libavdevice 54. 2.100 / 54. 2.100
libavfilter 3. 5.101 / 3. 5.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ima_ffmpeg.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.22.100
Duration: 00:00:12.62, start: 0.000000, bitrate: 34 kb/s
Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 8000 Hz,
mono, s1
6, 32 kb/s
Metadata:
handler_name : DataHandler
Output #0, mov, to 'out.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf54.22.100
Stream #0:0(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 8000 Hz,
mono, 32
kb/s
Metadata:
handler_name : DataHandler
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size= 53kB time=00:00:12.62 bitrate= 34.4kbits/s
video:0kB audio:52kB subtitle:0 global headers:0kB muxing overhead
1.278610%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1603>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list