Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

FFMPEG no such file or directory error

Go to solution Solved by madknight3,

You probably just need quotes around the filename.

 

Also, the path to cmd.exe shouldn't be there. It should just be the path to the video file

so im trying to extract a image from a video at a specific time using FFMPEG and i have got this no such file or directory error. this is the first time im using ffmpeg and i have already check other sites where people had the same problem but none of the solutions worked. i have tried running the command by opening cmd from the directory itself and giving the videos name. i have also tried different  video formats such as avi and mp4. i have also tried moving the video files to different directories, other disk drives and i have also tried running it by coping the video file to the ffmpeg directory and running cmd from there.it still didnt work. i have also tried running a different command which converts video files to mp3, in that also i get same error. i have attached a couple of screenshots and im out of ideas. i would be greatly appreciate if someone could point out any mistake i have done. thanks.

2.PNG

1.PNG

Link to post
Share on other sites
25 minutes ago, Shammikit said:

 

so im trying to extract a image from a video at a specific time

 

Uhh couldn't you just screen cap it? 

Laptop: 2020 13" MacBook Pro i5, 512GB, G7 Graphics, 16GB LPDDR4X | Phone: iPhone 8 Plus 64GB | Wearables: Apple Watch Sport Series 2 | CPU: R5 2600 | Mobo: ASRock B450M Pro4 | RAM: 16GB 2666 | GPU: ASRock RX 5700 8GB | Case: Apple PowerMac G5 | OS: Win 10 | Storage: 480GB PNY SSD & 2TB WD Green HDD | PSU: Corsair CX600M | Display: Dell 27 Gaming Monitor S2719DGF 1440p @155Hz, Dell UZ2215H 21.5" 1080p, ViewSonic VX2450wm-LED 23.6" 1080p | Cooling: Wraith Prism | Keyboard: G610 Orion Cherry MX Brown | Mouse: G303 | Audio: Audio Technica ATH-M50X & Blue Snowball
Link to post
Share on other sites
1 minute ago, DrMacintosh said:

Uhh couldn't you just screen cap it? 

im trying to use ffmpeg in my C# codes,before that i tried it in cmd

Link to post
Share on other sites

You probably just need quotes around the filename.

 

Also, the path to cmd.exe shouldn't be there. It should just be the path to the video file

Link to post
Share on other sites
1 minute ago, madknight3 said:

You probably just need quotes around the filename.

 

Also, the path to cmd.exe shouldn't be there. It should just be the path to the video file

Thank you very much it worked with just the file name and double quotes around it

Link to post
Share on other sites
3 minutes ago, Shammikit said:

Thank you very much it worked with just the file name and double quotes around it

No problem.

 

Not sure if you'll need the videos full path when you run it from your application, just keep it in mind if it doesn't work.

Link to post
Share on other sites
6 minutes ago, madknight3 said:

Also, the path to cmd.exe shouldn't be there. It should just be the path to the video file

if im trying to access the video file by opening cmd from outside the directory how should i give the file path.should i give only file name or should i give entire path?

Link to post
Share on other sites
1 minute ago, Shammikit said:

if im trying to access the video file by opening cmd from outside the directory how should i give the file path.should i give only file name or should i give entire path?

Should be like this

ffmpeg -ss 00:00:15 -i "C:\Videos\A guide to Harvard Referencing.mpf" // etc

Just use the specific path to the video on your computer. I just put one there as an example.

Link to post
Share on other sites
2 minutes ago, madknight3 said:

Should be like this


ffmpeg -ss 00:00:15 -i "C:\Videos\A guide to Harvard Referencing.mpf" // etc

 

got this when i tried that way

3.PNG

Link to post
Share on other sites
2 minutes ago, madknight3 said:

cmd.exe is an executable, not a folder

thanks again for pointing it out.

Link to post
Share on other sites

As I explained in one of your other threads on much the same subject, there's a much simpler way to do all of this...

The single biggest problem in communication is the illusion that it has taken place.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×