Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#4355 closed defect (invalid)

ffmpeg: option '-n' does not work in combination with "file:" protocol

Reported by: taeuber Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
The option '-n' does not work in combination with the 'file:' protocol. But this prevents using special characters in output file name like ',' or ':' and the check for this file to exist.

How to reproduce:

% ffmpeg -i input.webm -c:v libx264 -n 'file:output,.mkv'
ffmpeg version N-45530-g35782bf
built on Oct 15 2012 07:17:09 with gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)

This:

% ffmpeg -i input.webm -c:v libx264 -n 'file:output:.mkv'

doesn't exit when the file 'output:.mkv' already exists.

And this:

% ffmpeg -i input.webm -c:v libx264 -n 'output:.mkv'

exits with the error that the protocol is not found.

The same problem also occurs when the output file contains a comma ('output,.mkv').

Change History (2)

comment:1 by taeuber, 9 years ago

Resolution: fixed
Status: newclosed

Sorry! I used the version provided by the distribution. This bug is already gone.
The most recent git version works as expected.

comment:2 by Carl Eugen Hoyos, 8 years ago

Keywords: file protocol removed
Resolution: fixedinvalid
Note: See TracTickets for help on using tickets.