Opened 11 years ago

Closed 11 years ago

#3698 closed defect (fixed)

Output Image flipped(reversed)

Reported by: paryasomayajulu Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: mjpeg regression
Cc: pavan.aryasomayajulu@gmail.com Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Image flipped
How to reproduce:

I am using following command and the output image is flipped(reversed)

ffmpeg -i "D:\TestFolder\Input\v.jpg" -vf scale=200:100 "D:\aa.jpg"

Note: This is occuring only with few images. For some it is working fine

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Attachments (1)

aa.jpg (519.7 KB ) - added by paryasomayajulu 11 years ago.
This is the image i am using as input

Download all attachments as: .zip

Change History (4)

by paryasomayajulu, 11 years ago

Attachment: aa.jpg added

This is the image i am using as input

comment:1 by paryasomayajulu, 11 years ago

C:\Users\Pavan>"D:\Ravi Project\JunoWEb\ImageCompression\VideoToImage\ffmpeg.exe
" -i "D:\TestFolder\Test-Input\aa.jpg" -vf scale=200:100 "D:\aa.jpg"
ffmpeg version N-61504-g8e92ff2 Copyright (c) 2000-2014 the FFmpeg developers

built on Mar 16 2014 22:01:36 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av

isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib

libavutil 52. 66.101 / 52. 66.101
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 34.101 / 55. 34.101
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100

Input #0, image2, from 'D:\TestFolder\Test-Input\aa.jpg':

Duration: 00:00:00.04, start: 0.000000, bitrate: N/A

Stream #0:0: Video: mjpeg, yuvj420p(pc), 2440x1080 [SAR 1:1 DAR 61:27], 25 t

br, 25 tbn, 25 tbc
File 'D:\aa.jpg' already exists. Overwrite ? [y/N] y
[swscaler @ 026c92c0] deprecated pixel format used, make sure you did set range
correctly
Output #0, image2, to 'D:\aa.jpg':

Metadata:

encoder : Lavf55.34.101
Stream #0:0: Video: mjpeg, yuvj420p, 200x100 [SAR 61:54 DAR 61:27], q=2-31,

200 kb/s, 90k tbn, 25 tbc
Stream mapping:

Stream #0:0 -> #0:0 (mjpeg -> mjpeg)

Press [q] to stop, ? for help
frame= 1 fps=0.0 q=2.7 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:5kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead -100.41
1064%

comment:3 by Michael Niedermayer, 11 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.