Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7448 closed defect (invalid)

Concat file input not finding file

Reported by: Rich Owned by:
Priority: minor Component: undetermined
Version: unspecified Keywords: concat
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
How to reproduce:

% ffmpeg -y -f concat -safe 0 -i /Volumes/Dragon2/Yums/randoms.txt /Volumes/Dragon2/Yums/final.mp4
ffmpeg version 4.0.2 
Mac OS 10.11.6

First file in randoms.txt I have the first file to process.

file '/Volumes/Dragon2/Yums/Sep\ 16,\ 2018,\ 1-04\'
file '/Volumes/Dragon2/Yums/Sep\ 16,\ 2018,\ 1-28\'
file '/Volumes/Dragon2/Yums/Sep\ 16,\ 2018,\ 12-25\'

This is the error I get upon a concat as stated above:

[concat @ 0x7fcadc010600] Impossible to open '/Volumes/Dragon2/Yums/Sep\ 16,\ 2018,\ 1-04\'
/Volumes/Dragon2/Yums/randoms.txt: No such file or directory

Both the randoms.txt and that first file are indeed there:

[Wed Sep 19 18:44 rich@HQ /Volumes/Dragon2/Yums] ls randoms.*
[Wed Sep 19 18:44 rich@HQ /Volumes/Dragon2/Yums] ls Sep\ 16,\ 2018,\ 1-04\ PM.*
Sep 16, 2018, 1-04

Not sure why it can't see the file that is evidently there. Not clear what "No such file or directory" is talking about. Doesn't matter, both are there.

Change History (6)

comment:1 by Carl Eugen Hoyos, 5 years ago

Component: ffmpegundetermined

Is the issue reproducible with current FFmpeg git head?
Please provide the command line you tested together with the complete, uncut console output to make this a valid ticket.

Is ffmpeg able to open the files if you don’t use concat?

comment:2 by Rich, 5 years ago

I'm having dependency issues (nasm/yasm), which I slightly remember from some time ago. I don't use ffmpeg often. So I've had issues before on the Mac Pro. I downloaded the --depth 1 but cannot install. This isn't that important to me, just thought I'd report it.

I used:

ffmpeg -i #{ s }/randoms.txt -f null -

and everything looked fine, no errors. The syntax I used for the concat is:

ffmpeg -y -f concat -safe 0 -i /Volumes/Dragon2/Yums/randoms.txt /Volumes/Dragon2/Yums/final.mp4

comment:3 by Rich, 5 years ago

Resolution: invalid
Status: newclosed

comment:4 by Cigaes, 5 years ago

Using backslashes in filenames is a bad idea.

in reply to:  4 comment:5 by Rich, 5 years ago

Replying to Cigaes:

Using backslashes in filenames is a bad idea.

Why is that? I usually tend to run off to a uuid for items like this.

comment:6 by Cigaes, 5 years ago

Backslash has a special semantic in many situations.

Note: See TracTickets for help on using tickets.