[FFmpeg-trac] #1347(undetermined:new): image2pipe is broken with gif
FFmpeg
trac at avcodec.org
Wed May 23 16:15:21 CEST 2012
#1347: image2pipe is broken with gif
-------------------------------------+-------------------------------------
Reporter: pisto | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: gif image2 | Blocked By:
image2pipe | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
with the test image attached image2 works:
{{{
ffmpeg -f image2 -vcodec gif -i test.gif -f null -
}}}
whereas image2pipe doesn't:
{{{
[pisto at pcpcpcpc Desktop]$ ffmpeg -f image2 -vcodec gif -i test.gif -f null
-
ffmpeg version N-33891-g0e82d31 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 19 2012 15:17:38 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
configuration: --enable-gpl --enable-pic --arch=amd64 --cpu=native
--enable-libvpx --enable-libx264 --enable-libv4l2 --enable-libtheora
--enable-libspeex --enable-libschroedinger --enable-libpulse --enable-
libmp3lame --enable-libfaac --enable-nonfree
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 74.102 / 2. 74.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 12.100 / 0. 12.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, image2, from 'test.gif':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: gif, pal8, 640x480, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x2a05d80] w:640 h:480 pixfmt:pal8 tb:1/1000000 sar:0/1
sws_param:flags=2
[buffersink @ 0x2a06260] No opaque field provided
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf54.5.100
Stream #0:0: Video: rawvideo, pal8, 640x480, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (gif -> rawvideo)
Press [q] to stop, [?] for help
[null @ 0x2a04e40] Encoder did not produce proper pts, making some up.
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
[pisto at pcpcpcpc Desktop]$ cat test.gif | ffmpeg -f image2pipe -vcodec gif
-i - -f null -
ffmpeg version N-33891-g0e82d31 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 19 2012 15:17:38 with gcc 4.6.3 20120306 (Red Hat 4.6.3-2)
configuration: --enable-gpl --enable-pic --arch=amd64 --cpu=native
--enable-libvpx --enable-libx264 --enable-libv4l2 --enable-libtheora
--enable-libspeex --enable-libschroedinger --enable-libpulse --enable-
libmp3lame --enable-libfaac --enable-nonfree
libavutil 51. 53.100 / 51. 53.100
libavcodec 54. 21.101 / 54. 21.101
libavformat 54. 5.100 / 54. 5.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 74.102 / 2. 74.102
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 12.100 / 0. 12.100
libpostproc 52. 0.100 / 52. 0.100
lzw overread
Last message repeated 352 times
[image2pipe @ 0x2ef0240] Estimating duration from bitrate, this may be
inaccurate
Input #0, image2pipe, from 'pipe:':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: gif, pal8, 640x480, 25 fps, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x2f06020] w:640 h:480 pixfmt:pal8 tb:1/1000000 sar:0/1
sws_param:flags=2
[buffersink @ 0x2f064e0] No opaque field provided
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf54.5.100
Stream #0:0: Video: rawvideo, pal8, 640x480, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (gif -> rawvideo)
lzw overread
Last message repeated 352 times
[null @ 0x2f04f60] Encoder did not produce proper pts, making some up.
Error while decoding stream #0:0
Last message repeated 3 times
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
0.0kbits/s
video:0kB audio:0kB global headers:0kB muxing overhead -nan%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1347>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list