[FFmpeg-trac] #2127(FFmpeg:new): -- does not separate options and arguments before
FFmpeg
trac at avcodec.org
Wed Jan 9 23:36:16 CET 2013
#2127: -- does not separate options and arguments before
------------------------------------+----------------------------------
Reporter: phihag | Owner:
Type: defect | Status: new
Priority: normal | Component: FFmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by cehoyos):
I don't think this is a regression since it did not work correctly before:
{{{
$ ffmpeg -i tests/lena.pnm -s 128x128 -- -out.png -s 512x512 out.jpg
ffmpeg version N-48018-g52b8664 Copyright (c) 2000-2012 the FFmpeg
developers
built on Jan 9 2013 23:22:29 with gcc 4.7 (SUSE Linux)
configuration:
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 80.100 / 54. 80.100
libavformat 54. 49.102 / 54. 49.102
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 28.102 / 3. 28.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
Input #0, image2, from 'tests/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
[NULL @ 0x27f27c0] Unable to find a suitable output format for '-s'
-s: Invalid argument
}}}
The following works as expected with current git head:
{{{
ffmpeg -i tests/lena.pnm -s 128x128 ./-out.png -s 512x512 ./-out.jpg
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2127#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list