Opened 13 years ago

Closed 13 years ago

#1116 closed defect (fixed)

msrle: empty output with -vf hflip,unsharp

Reported by: ami_stuff Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: hflip
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

"-vf unsharp,hflip" works ok

C:\>ffmpeg -i AVI-RLE_MP3.avi -an -vf hflip,unsharp out.avi

ffmpeg version N-38938-ge01f478 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 20 2012 02:36:44 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  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' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 12.100 / 54. 12.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 65.101 /  2. 65.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, avi, from 'AVI-RLE_MP3.avi':
  Duration: 00:00:05.95, start: 0.000000, bitrate: 2274 kb/s
    Stream #0:0: Video: msrle ([1][0][0][0] / 0x0001), pal8, 192x128, 24 fps, 24
 tbr, 24 tbn, 24 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 11025 Hz, mono, s16, 16 kb/s
Incompatible pixel format 'pal8' for codec 'mpeg4', auto-selecting format 'yuv42
0p'
[buffer @ 0x1db2560] w:192 h:128 pixfmt:pal8 tb:1/1000000 sar:0/1 sws_param:
[unsharp @ 0x1db2e20] auto-inserting filter 'auto-inserted scale 0' between the
filter 'Parsed_hflip_0' and the filter 'Parsed_unsharp_1'
[scale @ 0x1db3820] w:192 h:128 fmt:pal8 sar:0/1 -> w:192 h:128 fmt:yuv420p sar:
0/1 flags:0x4
[unsharp @ 0x1db2e20] effect:sharpen type:luma msize_x:5 msize_y:5 amount:1.00
[unsharp @ 0x1db2e20] effect:none type:chroma msize_x:5 msize_y:5 amount:0.00
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf54.2.100
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 192x128, q=2-31, 200
 kb/s, 24 tbn, 24 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (msrle -> mpeg4)
Press [q] to stop, [?] for help
frame=  143 fps=0.0 q=2.0 Lsize=      15kB time=00:00:05.95 bitrate=  21.0kbits/
s
video:6kB audio:0kB global headers:0kB muxing overhead 144.889654%

Attachments (2)

AVI-RLE_MP3.avi (1.6 MB ) - added by ami_stuff 13 years ago.
1023.bmp (95.9 KB ) - added by ami_stuff 13 years ago.

Download all attachments as: .zip

Change History (6)

by ami_stuff, 13 years ago

Attachment: AVI-RLE_MP3.avi added

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: undeterminedavfilter
Keywords: hflip added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

by ami_stuff, 13 years ago

Attachment: 1023.bmp added

comment:2 by ami_stuff, 13 years ago

The same problem with attached bmp image.

in reply to:  3 comment:4 by Stefano Sabatini, 13 years ago

Analyzed by developer: set
Resolution: fixed
Status: openclosed

Replying to ami_stuff:

patch:

http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2012-April/123014.html

Should be fixed in:

commit ad12e9e8c054b904d564e1a183b73104bca2e3d5
Author: Stefano Sabatini <stefasab@gmail.com>
Date:   Sat Apr 7 09:57:07 2012 +0200

    lavfi/hflip: copy palette data in start_frame()
    
    Fix trac ticket #1116.
Note: See TracTickets for help on using tickets.