ponchio / untrunc

Restore a damaged (truncated) mp4, m4v, mov, 3gp video. Provided you have a similar not broken video.
GNU General Public License v2.0
1.61k stars 227 forks source link

Could not open file: /Users/*/Downloads/working-video.m4v #177

Open crazydude opened 4 years ago

crazydude commented 4 years ago

Opening: /Users//Downloads/working-video.m4v Could not open file: /Users//Downloads/working-video.m4v Reading: /Users/*/Downloads/working-video.m4v

docker run -v /Users//Downloads/untrunc-master:/files untrunc /Users//Downloads/working-video.m4v /Users/*/Downloads/corrupt_videos/2020_0210_191419_035.m4v

ponchio commented 4 years ago

Path? Permissions? This looks the most probable reasons for this error....

On Tue, Feb 11, 2020 at 6:26 AM crazydude notifications@github.com wrote:

Opening: /Users/ /Downloads/working-video.m4v Could not open file: /Users/ /Downloads/working-video.m4v Reading: /Users/*/Downloads/working-video.m4v

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ponchio/untrunc/issues/177?email_source=notifications&email_token=AAUDV26IMOYREKJMLODIEZDRCIZHBA5CNFSM4KS2R2JKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IMOPKLQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUDV23VQ3DCFMIQUEEIB3TRCIZHBANCNFSM4KS2R2JA .

dasKeks commented 4 years ago

docker run -v /Users//Downloads/untrunc-master:/files untrunc /Users//Downloads/working-video.m4v /Users/*/Downloads/corrupt_videos/2020_0210_191419_035.m4v

You have to leave the "/files/working-video.m4v" as it it. That's the mounted path inside the docker. Don't insert your path here! Both videos have to be in that path specified after -v

How it should look: docker run -v /path/to/your/videos/:/files untrunc /files/working-video.m4v /files/2020_0210_191419_035.m4v

weigeloveu commented 4 years ago

docker run -v /Users//Downloads/untrunc-master:/files untrunc /Users//Downloads/working-video.m4v /Users/*/Downloads/corrupt_videos/2020_0210_191419_035.m4v

You have to leave the "/files/working-video.m4v" as it it. That's the mounted path inside the docker. Don't insert your path here! Both videos have to be in that path specified after -v

How it should look: docker run -v /path/to/your/videos/:/files untrunc /files/working-video.m4v /files/2020_0210_191419_035.m4v

still didnt explain it clear,some path makes user confused,why just make a simple example? docker run -v D:\Chaturbate-Recorder-GUI-master\ffmpeg\bin\Recordings\:/files untrunc /files/lolli_lollipop_19.15.14.mp4 /files/ommiss_kora_19.16.23.mp4

Moh-Snoussi commented 3 years ago

@crazydude

docker run -v /Users//Downloads/untrunc-master:/files untrunc /Users//Downloads/working-video.m4v /Users/*/Downloads/corrupt_videos/2020_0210_191419_035.m4v

The "/files" point to the untrunc-master, example: docker run -v C:/Users/Downloads/:/files tells docker that the files in the "C:/Users/Downloads/" can be referred to by "/files". so your command will be: docker run -v C:/Users/Downloads/:/files /files/working-video.m4v /files/corrupt_videos/2020_0210_191419_035.m4v