
Recherche avancée
Autres articles (50)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...)
Sur d’autres sites (6155)
-
FFMPEG "Could find no file with path" and "No such file or directory"
4 mai 2020, par bmw_58I try to convert a sequence of pictures to video file. 
But I get from
ffmpeg
the response, that no such file or directory


Does someone have a solution for it ?



My command line :



ffmpeg -r 1/5 -start_number 0 -i "C:\Users\USER\Desktop\Pictures\%3d.png" -c:v libx264 -r 30 -pix_fmt yuv420p C:\Users\USER\Desktop\Pictures\out.mp4




The error :



C:\Users\USER>ffmpeg -r 1/5 -start_number 0 -i "C:\Users\USER\Desktop\Pictures\%3d.png" -c:v libx264 -r 30 -pix_fmt yuv420p C:\Users\USER\Desktop\Pictures\out.mp4
 ffmpeg version git-2020-05-01-39fb1e9 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.3.1 (GCC) 20200328
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 43.100 / 56. 43.100
 libavcodec 58. 82.100 / 58. 82.100
 libavformat 58. 42.101 / 58. 42.101
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 80.100 / 7. 80.100
 libswscale 5. 6.101 / 5. 6.101
 libswresample 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
 [image2 @ 000002169186c440] Could find no file with path 'C:\Users\USER\Desktop\Pictures\%3d.png' and index in the range 0-4
 C:\Users\USER\Desktop\Pictures\%3d.png: No such file or directory






-
ffmpeg error "No such file or directory" while compiling a video file compression
13 janvier 2016, par Abraham GharyaliFirstly I have checked many questions and answers related to my question, but unfortunately none of them solves my problem.
I have implemented ffmpeg library in my project, using it for 2 tasks :
1). adding watermark on video.
2). video compression.
I am able to apply watermark on recorded video successfully using this command :
{"-y" ,"-i", "/storage/emulated/0/Booms/Videos/video1122150738.mp4","-strict","experimental", "-vf", "movie="
+ watermarkFile + " [watermark]; [in][watermark] overlay=main_w-overlay_w-10:10 [out]","-s", "320x240","-r", "30", "-b", "15496k", "-vcodec", "mpeg4","-ab", "48000", "-ac", "2", "-ar", "22050", "/storage/emulated/0/Shared/Videos/video.mp4"}"watermarkFile" is the location of .png watermark file
Now I need to compress video, for that i used this command :
"ffmpeg -i "+"/storage/emulated/0/Booms/Videos/video1122150738.mp4"+" -vcodec mpeg4 -s 320x240 -r 25 -y "+"/storage/emulated/0/Shared/Videos/video.mp4";
It gives error "No such file or directory". please see the logs.
01-11 15:32:39.283 28027-28027/ I/FFmpeg: Loading FFmpeg for armv7-neon CPU
01-11 15:32:39.439 28027-28027/ D/FFMPEG: onSuccess.
01-11 15:32:39.440 28027-28027/ D/FFMPEG: onFinish.
01-11 15:32:55.584 28027-28027/ D/FFMPEG compress: input path: /storage/emulated/0/Booms/Videos/video1122150738.mp4
01-11 15:32:55.585 28027-28027/ D/FFMPEG compress: output path: /storage/emulated/0/Shared/Videos/video.mp4
01-11 15:32:55.587 28027-28027/ D/FFMPEG compress: Started.
01-11 15:32:55.618 28027-28089/ D/FFmpeg: Running publishing updates method
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: WARNING: linker: /data/data/packge_name/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: libavutil 54. 7.100 / 54. 7.100
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: libavcodec 56. 1.100 / 56. 1.100
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: libavformat 56. 4.101 / 56. 4.101
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: libavdevice 56. 0.100 / 56. 0.100
01-11 15:32:55.662 28027-28027/ D/FFMPEG compress: Progress: libavfilter 5. 1.100 / 5. 1.100
01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress: libswscale 3. 0.100 / 3. 0.100
01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress: libswresample 1. 1.100 / 1. 1.100
01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress: libpostproc 53. 0.100 / 53. 0.100
01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Progress: ffmpeg -i /storage/emulated/0/Booms/Videos/_video1122150738.mp4 -vcodec mpeg4 -s 320x240 -r 25 -y /storage/emulated/0/Shared/Videos/video.mp4: No such file or directory
01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Failure: WARNING: linker: /data/data/package_name/files/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
ffmpeg -i /storage/emulated/0/Booms/Videos/video1122150738.mp4 -vcodec mpeg4 -s 320x240 -r 25 -y /storage/emulated/0/Shared/Videos/video.mp4: No such file or directory
01-11 15:32:55.663 28027-28027/ D/FFMPEG compress: Finished.for both operations i input .mp4 file and need .mp4 file in output.
Same process works for watermarking and not working for compression.
My compress command is correct because I checked the same command compressing video in my windows pc using command prompt.
I don’t understand what i am doing wrong.
Any help would be appreciated.
-
How to extract h264 from DHAV file
13 octobre 2020, par MicrosoctCprogThere is DHAV (.dav) file that ffprobe detect it as h264 file,I know how to handle with h264 file (example) .


Here is ffmpeg code how to parse dhav file link


I want to convert
dhav
file that contains h264 to h264 file with c code, how can I do it ? I can see that DHAV is wrap the h264 data