[FFmpeg-trac] #1018(undetermined:new): ffmpeg cannot decode quicktime with combined gif and blur streams
FFmpeg
trac at avcodec.org
Thu Mar 22 20:39:58 CET 2012
#1018: ffmpeg cannot decode quicktime with combined gif and blur streams
-------------------------------------+-------------------------------------
Reporter: | Owner:
alain.dazzi@… | Status: new
Type: defect | Component:
Priority: normal | undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by alain.dazzi@…):
I have attached the source movie.
~/Desktop/robert$ ffmpeg -i 633.mov
ffmpeg version N-37137-g749e5dc Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 16 2012 16:45:08 with clang 3.0 (tags/Apple/clang-211.10.1)
configuration: --disable-decoder=amrnb --extra-
cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-
nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale
--enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-
libtheora --enable-libfaac --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libxvid --enable-libx264 --enable-libvpx
--enable-hardcoded-tables --enable-shared --enable-pthreads --disable-
indevs --cc=clang
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 59.100 / 53. 59.100
libavformat 53. 30.100 / 53. 30.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7feb5183d800] multiple edit list entries, a/v
desync might occur, patch welcome
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7feb5183d800] Could not find codec parameters
(Video: none (blur / 0x72756C62), 160x120, 0 kb/s)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '633.mov':
Metadata:
creation_time : 2003-12-16 16:25:56
Duration: 00:00:02.06, start: 0.000000, bitrate: 34 kb/s
Stream #0:0(eng): Video: gif (gif / 0x20666967), pal8, 160x120, 152
kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Video: none (blur / 0x72756C62), 160x120, 0 kb/s,
0.50 fps, 0.50 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
Stream #0:2(eng): Video: gif (gif / 0x20666967), pal8, 160x120, 152
kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
At least one output file must be specified
~/Desktop/robert$
I am trying to convert it to .mp4, .3gp and .flv to post to our web site
(those are the formats we support).
Here the command I use to convert it to a flv .. It is part of a
transcoder (so I cut out this part and put it in a script) ...
~/Desktop/robert$ cat g
ffmpeg -y -i 633.mov -vcodec flv \
-pix_fmt yuv420p \
-b:v 900k \
-an -r 15 -vf scale="426:320" test.flv
~/Desktop/robert$
~/Desktop/robert$ ./g
ffmpeg version N-37137-g749e5dc Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 16 2012 16:45:08 with clang 3.0 (tags/Apple/clang-211.10.1)
configuration: --disable-decoder=amrnb --extra-
cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-
nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale
--enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-
libtheora --enable-libfaac --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libxvid --enable-libx264 --enable-libvpx
--enable-hardcoded-tables --enable-shared --enable-pthreads --disable-
indevs --cc=clang
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 59.100 / 53. 59.100
libavformat 53. 30.100 / 53. 30.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe4f403d800] multiple edit list entries, a/v
desync might occur, patch welcome
Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe4f403d800] Could not find codec parameters
(Video: none (blur / 0x72756C62), 160x120, 0 kb/s)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '633.mov':
Metadata:
creation_time : 2003-12-16 16:25:56
Duration: 00:00:02.06, start: 0.000000, bitrate: 34 kb/s
Stream #0:0(eng): Video: gif (gif / 0x20666967), pal8, 160x120, 152
kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Video: none (blur / 0x72756C62), 160x120, 0 kb/s,
0.50 fps, 0.50 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
Stream #0:2(eng): Video: gif (gif / 0x20666967), pal8, 160x120, 152
kb/s, 15 fps, 15 tbr, 600 tbn, 600 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
[buffer @ 0x7fe4f3c19580] w:160 h:120 pixfmt:pal8 tb:1/1000000 sar:0/1
sws_param:
[scale @ 0x7fe4f3c1a580] w:160 h:120 fmt:pal8 -> w:426 h:320 fmt:yuv420p
flags:0x4
Output #0, flv, to 'test.flv':
Metadata:
creation_time : 2003-12-16 16:25:56
encoder : Lavf53.30.100
Stream #0:0(eng): Video: flv1 ([2][0][0][0] / 0x0002), yuv420p,
426x320, q=2-31, 900 kb/s, 1k tbn, 15 tbc
Metadata:
creation_time : 2003-12-16 16:25:56
handler_name : ?Apple Alias Data Handler
Stream mapping:
Stream #0:0 -> #0:0 (gif -> flv)
Press [q] to stop, [?] for help
frame= 1 fps= 0 q=4.4 Lsize= 10kB time=00:00:00.13 bitrate=
600.8kbits/s
video:10kB audio:0kB global headers:0kB muxing overhead 2.704358%
~/Desktop/robert$
This creates an flv but the duration is not right. It shows a still image
not an animated gif. What would be the procedure to convert this file to
an flv or mp4 an preserve the animation?
Here is what was created ...
~/Desktop/robert$ ffmpeg -i test.flv
ffmpeg version N-37137-g749e5dc Copyright (c) 2000-2012 the FFmpeg
developers
built on Mar 16 2012 16:45:08 with clang 3.0 (tags/Apple/clang-211.10.1)
configuration: --disable-decoder=amrnb --extra-
cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --enable-
nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale
--enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-
libtheora --enable-libfaac --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libxvid --enable-libx264 --enable-libvpx
--enable-hardcoded-tables --enable-shared --enable-pthreads --disable-
indevs --cc=clang
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 59.100 / 53. 59.100
libavformat 53. 30.100 / 53. 30.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, flv, from 'test.flv':
Metadata:
creation_time : 2003-12-16 16:25:56
encoder : Lavf53.30.100
Duration: 00:00:00.06, start: 0.000000, bitrate: 1201 kb/s
Stream #0:0: Video: flv1, yuv420p, 426x320, 900 kb/s, 1k tbr, 1k tbn,
1k tbc
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1018#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list