
Recherche avancée
Autres articles (100)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8441)
-
Need to run ffmpeg multiple commands one after another
16 mars 2017, par user1777097I need to run 100+ line commands on ffmpeg FF Prompt (on my windows PC)
Example codeffmpeg -i "Agriculture, Farms 01.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-1.mp4 -y
ffmpeg -i "Agriculture, Farms 02.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-2.mp4 -y
ffmpeg -i "Agriculture, Farms 03.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-3.mp4 -y
ffmpeg -i "Agriculture, Farms 04.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-4.mp4 -y
ffmpeg -i "Agriculture, Farms 05.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-5.mp4 -y
ffmpeg -i "Agriculture, Farms 06.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-6.mp4 -y
ffmpeg -i "Agriculture, Farms 07.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-7.mp4 -y
ffmpeg -i "Agriculture, Farms 08.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-8.mp4 -y
ffmpeg -i "Agriculture, Farms 09.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-9.mp4 -y
ffmpeg -i "Agriculture, Farms 10.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-10.mp4 -y
ffmpeg -i "Agriculture, Farms 11.mp4" -vf scale=1280:720 -b:v 2000000 agriculture-farms-11.mp4 -y
.........................
.............
............now every time i need to paste one line, after that have to wait until complete... then paste next line and so on.
is there any way so i can paste all line togather or any other option or any software ?
-
Set the filename downloaded via youtube-dl to a variable [closed]
22 septembre 2020, par Jim JamilThis is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.


@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause



After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.


Something like :


ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a



Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469


The beginning and end times would need to be variables set by user input in
00:00:00
format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

The
--embed-thumbnail
is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use-vn
on the final output file.

-
Can't convert YUV video with ffmpeg
3 février 2015, par LucaWhen i try to convert a file with ffmpeg (from command prompt) it always gives me :
Segmentation fault (core dumped)
The file name is
left_432x240.yuv
and I have downloaded it from here.the command i do is :
ffmpeg -f rawvideo -vcodec rawvideo -s 432x240 -r 25 -pix_fmt yuv420p -i left_432x240.yuv -c:v libx264 -preset ultrafast -qp 0 output.mp4
I have tried various option combination, but the result is always the same.
doing :
ffmpeg -i left_432x240.yuvproduce :
ffmpeg version 2.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Nov 28 2013 16:44:43 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 52. 48.100 / 52. 48.100
libavcodec 55. 39.100 / 55. 39.100
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[IMGUTILS @ 0xbff1adc0] Picture size 0x0 is invalid
[IMGUTILS @ 0xbff1a8d0] Picture size 0x0 is invalid
[IMGUTILS @ 0xbff1a950] Picture size 0x0 is invalid
[rawvideo @ 0xa2aaee0] Could not find codec parameters for stream 0 (Video: rawvideo (I420 / 0x30323449), yuv420p, -4 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
left_432x240.yuv: could not find codec parameters