ManzDev / video-converter-scripts

Video converter scripts for Windows to multiple formats (with ffmpeg)
http://www.emezeta.com/articulos/formatos-de-video-todo-lo-que-deberias-saber
88 stars 24 forks source link

no such file or directory #1

Open andreabisello opened 6 years ago

andreabisello commented 6 years ago

on Microsoft Windows 10 Pro, Version10.0.15063 build 15063, 64bit

i drag a video in a script (same folder)

image

C:\Users\andrea.bisello\Videos\sample di video codificati\video-converter-scripts-master>"C:\Users\andrea.bisello\Videos\sample di video codificati\video-converter-scripts-master\ffmpeg.exe" -i ""C:\Users\andrea.bisello\Videos\sample di video codificati\video-converter-scripts-master\sintel_trailer-1080p.mp4"" -vcodec libxvid ""C:\Users\andrea.bisello\Videos\sample di video codificati\video-converter-scripts-master\sintel_trailer-1080p.mp4".xvid.avi" ffmpeg version N-71346-gdf4fca2 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib libavutil 54. 22.101 / 54. 22.101 libavcodec 56. 34.100 / 56. 34.100 libavformat 56. 30.100 / 56. 30.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 C:\Users\andrea.bisello\Videos\sample: No such file or directory

C:\Users\andrea.bisello\Videos\sample di video codificati\video-converter-scripts-master>PAUSE Premere un tasto per continuare . . .

andreabisello commented 6 years ago

i "solved" removing "" aroud the %1

"%~dp0ffmpeg.exe" -i %1 -vcodec libxvid %1.xvid.avi

maybe this now will works only if the file is in the same folder.

i'm not skilled on bat scripts.