[FFmpeg-trac] #9277(undetermined:new): ffmpeg concat cannot mix pipe and file input
FFmpeg
trac at avcodec.org
Fri Jun 4 16:19:21 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 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.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9277#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list