[FFmpeg-trac] #4355(ffmpeg:new): ffmpeg: option '-n' does not work in combination with "file:" protocol

FFmpeg trac at avcodec.org
Thu Mar 5 20:35:32 CET 2015


#4355: ffmpeg: option '-n' does not work in combination with "file:" protocol
-------------------------------------+-------------------------------------
             Reporter:  taeuber      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:  git-
             Keywords:  file         |  master
  protocol                           |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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').

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4355>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list