
Recherche avancée
Autres articles (50)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
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" (...)
Sur d’autres sites (8178)
-
laravel-ffmpeg - fopen(/tmp/laravel-ffmpegi340VY.mkv) : failed to open stream : No such file or directory
26 janvier 2020, par jyoti gautamUsing the laravel-ffmpeg librabry to convert video file from .webm to mp4 aws s3 bucket url and using following code.
$videoFile = '/courses/images/1579626678msr-2020-01-21T17-11-18-771Z.webm'; //= upload/video1.mp4
FFMpeg::fromDisk('s3')
->open($videoFile)
->getFrameFromSeconds(10)
->export()
->toDisk('s3')
->inFormat(new \FFMpeg\Format\Video\X264)
->save('small_steve.mp4');How can access file from s3 bucket and convert ?
-
ffmpeg concat No such file or directory
1er mai 2021, par AvidProgrammerI am trying to concatenate 2 files from a txt file.
My tree looks a bit like this :


D:.
├───test.py
└───data
 └───temp
 └───files.txt
 └───part1
 └───converted



The contents of
files.txt
is :

file '/data/temp/part1'
file '/data/temp/converted'



And when I try to run :


with open('data/temp/final', 'w+', encoding='utf-8') as output:
 command = ['ffmpeg', '-f', 'concat', '-i', '/data/temp/files.txt', '-f', 'mp4', '-y', '-codec', 'copy', output.name]
 subprocess.run(command, check=True)



It outputs the following :


ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.2.1 (GCC) 20200805
 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 --enable-libgsm --enable-librav1e --enable-libsvtav1 --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. 58.100 / 56. 58.100
 libavcodec 58.101.101 / 58.101.101
 libavformat 58. 51.101 / 58. 51.101
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
/data/temp/files.txt: No such file or directory
Traceback (most recent call last):
 File "test.py", line 37, in <module>
 gen(
 File "test.py", line 33, in gen
 subprocess.run(command, check=True)
 File "...\Python38\lib\subprocess.py", line 512, in run
 raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffmpeg', '-f', 'concat', '-i', '/data/temp/files.txt', '-f', 'mp4', '-y', '-codec', 'copy', 'data/temp/final']' returned non-zero exit status 1.
</module>


I have read the documentation and I am doing what they are doing afaik.


-
Paid Advertising Performance – target the right customers and invest confidently