[FFmpeg-trac] #9277(undetermined:new): ffmpeg concat cannot mix pipe and file input

FFmpeg trac at avcodec.org
Fri Jun 4 17:48:38 EEST 2021


#9277: ffmpeg concat cannot mix pipe and file input
-------------------------------------+-------------------------------------
             Reporter:  Trevor       |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  concat       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Trevor):

 Replying to [comment:3 Nicolas George]:
 > You need to understand that the file names / paths given in the concat
 file are relative to the position of the concat file. That is necessary so
 that {{{ffmpeg -i /tmp/file.concat}}} finds its files, not depending on
 the current working directory. This, of course, applies to all the
 components of the URL or pseudo-URL.
 >
 > Since last release, the handling of relative URLs have been fixed, to
 make it compatible with the official recommendations.
 >
 > Then, you need to notice that you are confusing {{{file}}}, the keyword
 of the concat script, and {{{file:}}}, the prefix of a pseudo-URL that
 indicates the protocol to use.
 >
 > You have put bare file names in your concat script, therefore the files
 are supposed to reside in the same directory (and of course protocol) as
 the script. Which, of course, is not possible for pipe:, but still
 applies.

 I guess I still don't understand what changed. I tried changing them to
 absolute paths at one point (and adding ''-safe 0'' to the concat) but
 still got the same error.

 {{{
 [concat @ 0x582dd80] Impossible to open 'pipe:/tmp/ytaY1m7t6-lJ-
 QHitE17CA.1622817686.388084.jpg'
 pipe:: Invalid data found when processing input
 }}}

 Do I need to change the piped input to specify both the concat file and
 the protocol file: in the concat code? like ''file
 file:S2bioaerIaLTABx8PcEU0w.1622751258.259273.jpg'' or is it just not
 possible anymore to mix pipe (instructions to the concat) and file (actual
 input files)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9277#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list