[FFmpeg-trac] #1059(undetermined:new): rasenc: broken output with odd width
FFmpeg
trac at avcodec.org
Tue Mar 13 14:31:28 CET 2012
#1059: rasenc: broken output with odd width
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by ami_stuff):
The strange thing is that sun raster output with odd width have much
bigger size than with even width.
{{{
$ ffmpeg -i 599.png -s 600x420 600_1.ras
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 10 2012 16:15:15 with gcc 4.6.1
configuration: --disable-yasm --disable-ffprobe
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
Input #0, image2, from '599.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 599x412, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'sunrast', auto-selecting
format 'bg
r24'
[buffer @ 017a1c60] w:599 h:412 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[scale @ 017a1220] w:599 h:412 fmt:rgb24 -> w:600 h:420 fmt:bgr24
flags:0x4
Output #0, image2, to '600_1.ras':
Metadata:
encoder : Lavf54.2.100
Stream #0:0: Video: sunrast, bgr24, 600x420, q=2-31, 200 kb/s, 90k
tbn, 25 t
bc
Stream mapping:
Stream #0:0 -> #0:0 (png -> sunrast)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
0.0kbits/
s
video:738kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}
{{{
$ ffmpeg -i 599.png -s 601x420 601_1.ras
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 10 2012 16:15:15 with gcc 4.6.1
configuration: --disable-yasm --disable-ffprobe
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
Input #0, image2, from '599.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 599x412, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'sunrast', auto-selecting
format 'bg
r24'
[buffer @ 017a1c60] w:599 h:412 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[scale @ 017a1220] w:599 h:412 fmt:rgb24 -> w:601 h:420 fmt:bgr24
flags:0x4
Output #0, image2, to '601_1.ras':
Metadata:
encoder : Lavf54.2.100
Stream #0:0: Video: sunrast, bgr24, 601x420, q=2-31, 200 kb/s, 90k
tbn, 25 t
bc
Stream mapping:
Stream #0:0 -> #0:0 (png -> sunrast)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
0.0kbits/
s
video:986kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}
{{{
$ ffmpeg -i 599.png -s 602x420 602_1.ras
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 10 2012 16:15:15 with gcc 4.6.1
configuration: --disable-yasm --disable-ffprobe
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
Input #0, image2, from '599.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 599x412, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'sunrast', auto-selecting
format 'bg
r24'
[buffer @ 017a1c60] w:599 h:412 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[scale @ 017a1220] w:599 h:412 fmt:rgb24 -> w:602 h:420 fmt:bgr24
flags:0x4
Output #0, image2, to '602_1.ras':
Metadata:
encoder : Lavf54.2.100
Stream #0:0: Video: sunrast, bgr24, 602x420, q=2-31, 200 kb/s, 90k
tbn, 25 t
bc
Stream mapping:
Stream #0:0 -> #0:0 (png -> sunrast)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
0.0kbits/
s
video:741kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}
{{{
$ ffmpeg -i 599.png -s 603x420 603_1.ras
ffmpeg version 0.9.1.git Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 10 2012 16:15:15 with gcc 4.6.1
configuration: --disable-yasm --disable-ffprobe
libavutil 51. 42.100 / 51. 42.100
libavcodec 54. 10.100 / 54. 10.100
libavformat 54. 2.100 / 54. 2.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 63.100 / 2. 63.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 7.100 / 0. 7.100
Input #0, image2, from '599.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24, 599x412, 25 tbr, 25 tbn, 25 tbc
Incompatible pixel format 'rgb24' for codec 'sunrast', auto-selecting
format 'bg
r24'
[buffer @ 017a1c60] w:599 h:412 pixfmt:rgb24 tb:1/1000000 sar:0/1
sws_param:
[scale @ 017a1220] w:599 h:412 fmt:rgb24 -> w:603 h:420 fmt:bgr24
flags:0x4
Output #0, image2, to '603_1.ras':
Metadata:
encoder : Lavf54.2.100
Stream #0:0: Video: sunrast, bgr24, 603x420, q=2-31, 200 kb/s, 90k
tbn, 25 t
bc
Stream mapping:
Stream #0:0 -> #0:0 (png -> sunrast)
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.04 bitrate=
0.0kbits/
s
video:990kB audio:0kB global headers:0kB muxing overhead -100.000000%
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1059#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list