Opened 9 years ago

Closed 9 years ago

#4174 closed defect (fixed)

uspp - format and size not set

Reported by: mike Owned by:
Priority: minor Component: avfilter
Version: git-master Keywords: uspp regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

When running filter uspp i see many warnings for snow: AVFrame.format is not set and AVFrame.width or height is not set. I was wondering if this is reason for overconsumption of memory

C:\inne>ffmpeg.exe -loglevel verbose -i test.bmp -vf mp=uspp=7:6 out.bmp
ffmpeg version N-68330-g720dffb Copyright (c) 2000-2014 the FFmpeg developers

built on Dec 8 2014 23:44:09 with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab

le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis

--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib

libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 14.100 / 56. 14.100
libavformat 56. 15.103 / 56. 15.103
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100

Input #0, bmp_pipe, from 'test.bmp':

Duration: N/A, bitrate: N/A

Stream #0:0: Video: bmp, bgr24, 100x100 (0x0), 25 tbr, 25 tbn, 25 tbc

File 'out.bmp' already exists. Overwrite ? [y/N] y
[Parsed_mp_0 @ 0000000000377dc0] 'uspp' is a wrapped MPlayer filter (libmpcodecs). This filter may be removed
once it has been ported to a native libavfilter.
[graph 0 input from stream 0:0 @ 000000000037fbc0] w:100 h:100 pixfmt:bgr24 tb:1/25 fr:25/1 sar:0/1 sws_param:flags=2
[auto-inserted scaler 0 @ 0000000002bcb520] w:iw h:ih flags:'0x4' interl:0
[Parsed_mp_0 @ 0000000000377dc0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_mp_0'
[auto-inserted scaler 1 @ 0000000002bcb940] w:iw h:ih flags:'0x4' interl:0
[format @ 0000000002bc89c0] auto-inserting filter 'auto-inserted scaler 1' between the filter 'Parsed_mp_0' and the filter 'format'
[auto-inserted scaler 0 @ 0000000002bcb520] w:100 h:100 fmt:bgr24 sar:0/1 -> w:100 h:100 fmt:yuv420p sar:0/1 flags:0x4
[auto-inserted scaler 1 @ 0000000002bcb940] w:100 h:100 fmt:yuv420p sar:0/1 -> w:100 h:100 fmt:bgr24 sar:0/1 flags:0x4
Output #0, image2, to 'out.bmp':

Metadata:

encoder : Lavf56.15.103
Stream #0:0: Video: bmp, bgr24, 100x100, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:

encoder : Lavc56.14.100 bmp

Stream mapping:

Stream #0:0 -> #0:0 (bmp (native) -> bmp (native))

Press [q] to stop, ? for help
[snow @ 0000000002bd4560] AVFrame.format is not set
[snow @ 0000000002bd4560] AVFrame.width or height is not set
[snow @ 0000000002c48b00] AVFrame.format is not set
[snow @ 0000000002c48b00] AVFrame.width or height is not set
[snow @ 00000000069262c0] AVFrame.format is not set
[snow @ 00000000069262c0] AVFrame.width or height is not set
[snow @ 000000000694ea40] AVFrame.format is not set
[snow @ 000000000694ea40] AVFrame.width or height is not set
[snow @ 000000000697c480] AVFrame.format is not set
[snow @ 000000000697c480] AVFrame.width or height is not set
[snow @ 00000000069a8ea0] AVFrame.format is not set
[snow @ 00000000069a8ea0] AVFrame.width or height is not set
[snow @ 00000000069d28e0] AVFrame.format is not set
[snow @ 00000000069d28e0] AVFrame.width or height is not set
[snow @ 00000000069ff300] AVFrame.format is not set
[snow @ 00000000069ff300] AVFrame.width or height is not set
[snow @ 0000000006a27d40] AVFrame.format is not set
[snow @ 0000000006a27d40] AVFrame.width or height is not set
[snow @ 0000000006a73900] AVFrame.format is not set
[snow @ 0000000006a73900] AVFrame.width or height is not set
[snow @ 0000000006a98680] AVFrame.format is not set
[snow @ 0000000006a98680] AVFrame.width or height is not set
[snow @ 0000000006ac13e0] AVFrame.format is not set
[snow @ 0000000006ac13e0] AVFrame.width or height is not set
[snow @ 0000000006aeb560] AVFrame.format is not set
[snow @ 0000000006aeb560] AVFrame.width or height is not set
[snow @ 00000000081c7920] AVFrame.format is not set
[snow @ 00000000081c7920] AVFrame.width or height is not set
[snow @ 00000000081c7dc0] AVFrame.format is not set
[snow @ 00000000081c7dc0] AVFrame.width or height is not set
[snow @ 00000000081c8240] AVFrame.format is not set
[snow @ 00000000081c8240] AVFrame.width or height is not set
[snow @ 00000000081c86e0] AVFrame.format is not set
[snow @ 00000000081c86e0] AVFrame.width or height is not set
[snow @ 00000000081c8b60] AVFrame.format is not set
[snow @ 00000000081c8b60] AVFrame.width or height is not set
[snow @ 00000000081c9000] AVFrame.format is not set
[snow @ 00000000081c9000] AVFrame.width or height is not set
[snow @ 00000000081c9480] AVFrame.format is not set
[snow @ 00000000081c9480] AVFrame.width or height is not set
[snow @ 00000000081c9920] AVFrame.format is not set
[snow @ 00000000081c9920] AVFrame.width or height is not set
[snow @ 00000000081c9da0] AVFrame.format is not set
[snow @ 00000000081c9da0] AVFrame.width or height is not set
[snow @ 00000000081ca240] AVFrame.format is not set
[snow @ 00000000081ca240] AVFrame.width or height is not set
[snow @ 00000000081ca6c0] AVFrame.format is not set
[snow @ 00000000081ca6c0] AVFrame.width or height is not set
[snow @ 00000000081cab60] AVFrame.format is not set
[snow @ 00000000081cab60] AVFrame.width or height is not set
[snow @ 00000000081cafe0] AVFrame.format is not set
[snow @ 00000000081cafe0] AVFrame.width or height is not set
[snow @ 00000000081cb480] AVFrame.format is not set
[snow @ 00000000081cb480] AVFrame.width or height is not set
[snow @ 00000000081cb900] AVFrame.format is not set
[snow @ 00000000081cb900] AVFrame.width or height is not set
[snow @ 00000000081cbda0] AVFrame.format is not set
[snow @ 00000000081cbda0] AVFrame.width or height is not set
[snow @ 00000000081cc220] AVFrame.format is not set
[snow @ 00000000081cc220] AVFrame.width or height is not set
[snow @ 00000000081cc6c0] AVFrame.format is not set
[snow @ 00000000081cc6c0] AVFrame.width or height is not set
[snow @ 00000000081ccb40] AVFrame.format is not set
[snow @ 00000000081ccb40] AVFrame.width or height is not set
[snow @ 00000000081ccfe0] AVFrame.format is not set
[snow @ 00000000081ccfe0] AVFrame.width or height is not set
[snow @ 00000000081cd460] AVFrame.format is not set
[snow @ 00000000081cd460] AVFrame.width or height is not set
[snow @ 00000000081cd900] AVFrame.format is not set
[snow @ 00000000081cd900] AVFrame.width or height is not set
[snow @ 00000000081cdd80] AVFrame.format is not set
[snow @ 00000000081cdd80] AVFrame.width or height is not set
[snow @ 00000000081ce220] AVFrame.format is not set
[snow @ 00000000081ce220] AVFrame.width or height is not set
[snow @ 00000000081ce6a0] AVFrame.format is not set
[snow @ 00000000081ce6a0] AVFrame.width or height is not set
[snow @ 00000000081ceb40] AVFrame.format is not set
[snow @ 00000000081ceb40] AVFrame.width or height is not set
[snow @ 00000000081cefc0] AVFrame.format is not set
[snow @ 00000000081cefc0] AVFrame.width or height is not set
[snow @ 00000000081cf460] AVFrame.format is not set
[snow @ 00000000081cf460] AVFrame.width or height is not set
[snow @ 000000000b6b6040] AVFrame.format is not set
[snow @ 000000000b6b6040] AVFrame.width or height is not set
[snow @ 000000000b6b64c0] AVFrame.format is not set
[snow @ 000000000b6b64c0] AVFrame.width or height is not set
[snow @ 000000000b6b6960] AVFrame.format is not set
[snow @ 000000000b6b6960] AVFrame.width or height is not set
[snow @ 000000000b6b6de0] AVFrame.format is not set
[snow @ 000000000b6b6de0] AVFrame.width or height is not set
[snow @ 000000000b6b7280] AVFrame.format is not set
[snow @ 000000000b6b7280] AVFrame.width or height is not set
[snow @ 000000000b6b7700] AVFrame.format is not set
[snow @ 000000000b6b7700] AVFrame.width or height is not set
[snow @ 000000000b6b7ba0] AVFrame.format is not set
[snow @ 000000000b6b7ba0] AVFrame.width or height is not set
[snow @ 000000000b6b8020] AVFrame.format is not set
[snow @ 000000000b6b8020] AVFrame.width or height is not set
[snow @ 000000000b6b84c0] AVFrame.format is not set
[snow @ 000000000b6b84c0] AVFrame.width or height is not set
[snow @ 000000000b6b8940] AVFrame.format is not set
[snow @ 000000000b6b8940] AVFrame.width or height is not set
[snow @ 000000000b6b8de0] AVFrame.format is not set
[snow @ 000000000b6b8de0] AVFrame.width or height is not set
[snow @ 000000000b6b9260] AVFrame.format is not set
[snow @ 000000000b6b9260] AVFrame.width or height is not set
[snow @ 000000000b6b9700] AVFrame.format is not set
[snow @ 000000000b6b9700] AVFrame.width or height is not set
[snow @ 000000000b6b9b80] AVFrame.format is not set
[snow @ 000000000b6b9b80] AVFrame.width or height is not set
[snow @ 000000000b6ba020] AVFrame.format is not set
[snow @ 000000000b6ba020] AVFrame.width or height is not set
[snow @ 000000000b6ba4a0] AVFrame.format is not set
[snow @ 000000000b6ba4a0] AVFrame.width or height is not set
[snow @ 000000000b6ba940] AVFrame.format is not set
[snow @ 000000000b6ba940] AVFrame.width or height is not set
[snow @ 000000000b6badc0] AVFrame.format is not set
[snow @ 000000000b6badc0] AVFrame.width or height is not set
[snow @ 000000000b6bb260] AVFrame.format is not set
[snow @ 000000000b6bb260] AVFrame.width or height is not set
[snow @ 000000000b6bb6e0] AVFrame.format is not set
[snow @ 000000000b6bb6e0] AVFrame.width or height is not set
[snow @ 000000000b6bbb80] AVFrame.format is not set
[snow @ 000000000b6bbb80] AVFrame.width or height is not set
[snow @ 000000000b6bc000] AVFrame.format is not set
[snow @ 000000000b6bc000] AVFrame.width or height is not set
[snow @ 000000000b6bc4a0] AVFrame.format is not set
[snow @ 000000000b6bc4a0] AVFrame.width or height is not set
[snow @ 000000000b6bc920] AVFrame.format is not set
[snow @ 000000000b6bc920] AVFrame.width or height is not set
[snow @ 000000000b6bcdc0] AVFrame.format is not set
[snow @ 000000000b6bcdc0] AVFrame.width or height is not set
[snow @ 000000000b6bd240] AVFrame.format is not set
[snow @ 000000000b6bd240] AVFrame.width or height is not set
[snow @ 000000000b6bd6e0] AVFrame.format is not set
[snow @ 000000000b6bd6e0] AVFrame.width or height is not set
[snow @ 000000000b6bdb60] AVFrame.format is not set
[snow @ 000000000b6bdb60] AVFrame.width or height is not set
[snow @ 000000000bb2a3c0] AVFrame.format is not set
[snow @ 000000000bb2a3c0] AVFrame.width or height is not set
[snow @ 000000000bb2a840] AVFrame.format is not set
[snow @ 000000000bb2a840] AVFrame.width or height is not set
[snow @ 000000000bb2ace0] AVFrame.format is not set
[snow @ 000000000bb2ace0] AVFrame.width or height is not set
[snow @ 000000000bb2b160] AVFrame.format is not set
[snow @ 000000000bb2b160] AVFrame.width or height is not set
[snow @ 000000000bb2b600] AVFrame.format is not set
[snow @ 000000000bb2b600] AVFrame.width or height is not set
[snow @ 000000000bb2ba80] AVFrame.format is not set
[snow @ 000000000bb2ba80] AVFrame.width or height is not set
[snow @ 000000000bb2bf20] AVFrame.format is not set
[snow @ 000000000bb2bf20] AVFrame.width or height is not set
[snow @ 000000000bb2c3a0] AVFrame.format is not set
[snow @ 000000000bb2c3a0] AVFrame.width or height is not set
[snow @ 000000000bb2c840] AVFrame.format is not set
[snow @ 000000000bb2c840] AVFrame.width or height is not set
[snow @ 000000000bb2ccc0] AVFrame.format is not set
[snow @ 000000000bb2ccc0] AVFrame.width or height is not set
[snow @ 000000000bb2d160] AVFrame.format is not set
[snow @ 000000000bb2d160] AVFrame.width or height is not set
[snow @ 000000000bb2d5e0] AVFrame.format is not set
[snow @ 000000000bb2d5e0] AVFrame.width or height is not set
[snow @ 000000000bb2da80] AVFrame.format is not set
[snow @ 000000000bb2da80] AVFrame.width or height is not set
[snow @ 000000000bb2df00] AVFrame.format is not set
[snow @ 000000000bb2df00] AVFrame.width or height is not set
[snow @ 000000000bb2e3a0] AVFrame.format is not set
[snow @ 000000000bb2e3a0] AVFrame.width or height is not set
[snow @ 000000000bb2e820] AVFrame.format is not set
[snow @ 000000000bb2e820] AVFrame.width or height is not set
[snow @ 000000000bb2ecc0] AVFrame.format is not set
[snow @ 000000000bb2ecc0] AVFrame.width or height is not set
[snow @ 000000000bb2f140] AVFrame.format is not set
[snow @ 000000000bb2f140] AVFrame.width or height is not set
[snow @ 000000000bb2f5e0] AVFrame.format is not set
[snow @ 000000000bb2f5e0] AVFrame.width or height is not set
[snow @ 000000000bb2fa60] AVFrame.format is not set
[snow @ 000000000bb2fa60] AVFrame.width or height is not set
[snow @ 000000000bb2ff00] AVFrame.format is not set
[snow @ 000000000bb2ff00] AVFrame.width or height is not set
[snow @ 000000000bb30380] AVFrame.format is not set
[snow @ 000000000bb30380] AVFrame.width or height is not set
[snow @ 000000000bb30820] AVFrame.format is not set
[snow @ 000000000bb30820] AVFrame.width or height is not set
[snow @ 000000000bb30ca0] AVFrame.format is not set
[snow @ 000000000bb30ca0] AVFrame.width or height is not set
[snow @ 000000000bb31140] AVFrame.format is not set
[snow @ 000000000bb31140] AVFrame.width or height is not set
[snow @ 000000000bb315c0] AVFrame.format is not set
[snow @ 000000000bb315c0] AVFrame.width or height is not set
[snow @ 000000000bb31a60] AVFrame.format is not set
[snow @ 000000000bb31a60] AVFrame.width or height is not set
[snow @ 000000000bb31ee0] AVFrame.format is not set
[snow @ 000000000bb31ee0] AVFrame.width or height is not set
[snow @ 0000000011cd26e0] AVFrame.format is not set
[snow @ 0000000011cd26e0] AVFrame.width or height is not set
[snow @ 0000000011cd2b80] AVFrame.format is not set
[snow @ 0000000011cd2b80] AVFrame.width or height is not set
[snow @ 0000000011cd3000] AVFrame.format is not set
[snow @ 0000000011cd3000] AVFrame.width or height is not set
[snow @ 0000000011cd34a0] AVFrame.format is not set
[snow @ 0000000011cd34a0] AVFrame.width or height is not set
[snow @ 0000000011cd3920] AVFrame.format is not set
[snow @ 0000000011cd3920] AVFrame.width or height is not set
[snow @ 0000000011cd3dc0] AVFrame.format is not set
[snow @ 0000000011cd3dc0] AVFrame.width or height is not set
[snow @ 0000000011cd4240] AVFrame.format is not set
[snow @ 0000000011cd4240] AVFrame.width or height is not set
[snow @ 0000000011cd46e0] AVFrame.format is not set
[snow @ 0000000011cd46e0] AVFrame.width or height is not set
[snow @ 0000000011cd4b60] AVFrame.format is not set
[snow @ 0000000011cd4b60] AVFrame.width or height is not set
[snow @ 0000000011cd5000] AVFrame.format is not set
[snow @ 0000000011cd5000] AVFrame.width or height is not set
[snow @ 0000000011cd5480] AVFrame.format is not set
[snow @ 0000000011cd5480] AVFrame.width or height is not set
[snow @ 0000000011cd5920] AVFrame.format is not set
[snow @ 0000000011cd5920] AVFrame.width or height is not set
[snow @ 0000000011cd5da0] AVFrame.format is not set
[snow @ 0000000011cd5da0] AVFrame.width or height is not set
[snow @ 0000000011cd6240] AVFrame.format is not set
[snow @ 0000000011cd6240] AVFrame.width or height is not set
[snow @ 0000000011cd66c0] AVFrame.format is not set
[snow @ 0000000011cd66c0] AVFrame.width or height is not set
[snow @ 0000000011cd6b60] AVFrame.format is not set
[snow @ 0000000011cd6b60] AVFrame.width or height is not set
[snow @ 0000000011cd6fe0] AVFrame.format is not set
[snow @ 0000000011cd6fe0] AVFrame.width or height is not set
[snow @ 0000000011cd7480] AVFrame.format is not set
[snow @ 0000000011cd7480] AVFrame.width or height is not set
[snow @ 0000000011cd7900] AVFrame.format is not set
[snow @ 0000000011cd7900] AVFrame.width or height is not set
[snow @ 0000000011cd7da0] AVFrame.format is not set
[snow @ 0000000011cd7da0] AVFrame.width or height is not set
[snow @ 0000000011cd8220] AVFrame.format is not set
[snow @ 0000000011cd8220] AVFrame.width or height is not set
[snow @ 0000000011cd86c0] AVFrame.format is not set
[snow @ 0000000011cd86c0] AVFrame.width or height is not set
[snow @ 0000000011cd8b40] AVFrame.format is not set
[snow @ 0000000011cd8b40] AVFrame.width or height is not set
[snow @ 0000000011cd8fe0] AVFrame.format is not set
[snow @ 0000000011cd8fe0] AVFrame.width or height is not set
[snow @ 0000000011cd9460] AVFrame.format is not set
[snow @ 0000000011cd9460] AVFrame.width or height is not set
[snow @ 0000000011cd9900] AVFrame.format is not set
[snow @ 0000000011cd9900] AVFrame.width or height is not set
[snow @ 0000000011cd9d80] AVFrame.format is not set
[snow @ 0000000011cd9d80] AVFrame.width or height is not set
[snow @ 0000000011cda220] AVFrame.format is not set
[snow @ 0000000011cda220] AVFrame.width or height is not set
[snow @ 000000001219da60] AVFrame.format is not set
[snow @ 000000001219da60] AVFrame.width or height is not set
[snow @ 000000001219df00] AVFrame.format is not set
[snow @ 000000001219df00] AVFrame.width or height is not set
[snow @ 000000001219e380] AVFrame.format is not set
[snow @ 000000001219e380] AVFrame.width or height is not set
No more output streams to write to, finishing.
frame= 1 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:29kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (test.bmp):

Input stream #0:0 (video): 1 packets read (30054 bytes); 1 frames decoded;
Total: 1 packets (30054 bytes) demuxed

Output file #0 (out.bmp):

Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (30054 bytes);
Total: 1 packets (30054 bytes) muxed

Attachments (1)

test.bmp (29.3 KB ) - added by mike 9 years ago.

Download all attachments as: .zip

Change History (4)

by mike, 9 years ago

Attachment: test.bmp added

comment:1 by Carl Eugen Hoyos, 9 years ago

Keywords: snow mpfilter removed
Resolution: invalid
Status: newclosed

I am not convinced that this is a valid ticket (increased verbosity at a loglevel higher than default is expected imo) but the filter is currently being ported, so feel free to test again in the future.

comment:2 by Carl Eugen Hoyos, 9 years ago

Keywords: regression added
Priority: normalminor
Resolution: invalid
Status: closedreopened

Sorry, I tested badly.

This is a regression but as said this will be fixed while porting.

comment:3 by Carl Eugen Hoyos, 9 years ago

Resolution: fixed
Status: reopenedclosed

The filter was ported to a native filter by Arwa Arif in 100fc395 - the native filter does not contain this issue.

Note: See TracTickets for help on using tickets.