
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (63)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9376)
-
FFMPEG : How To Break steam and Retry Again Automatically
8 décembre 2019, par VarunThe Live Stream is in
m3u8
format
I am Usingyoutube-dl
with--no-part
to record the video.The problem is that I can’t watch the video while it’s recording. I need to Stop Recording with Ctrl+C to watch the recorded video.
So I am thinking if there could be a python script with a loop that will break the live stream on every 1 hr of recording automatically and run the same code again with the different filename in output.
In this way, I will get a recording of every one hr separately.
-
FFmpeg Negative Duration [migrated]
22 septembre 2014, par filbyi have a large number of small videos (parts of a larger) of the form :
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.43.100
Duration: 00:00:05.53, start: -1.831497, bitrate: 3355 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 4760 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 157 kb/s (default)
Metadata:
handler_name : SoundHandlerI want to completely discard the negative start, the 1.83 seconds, and keep only the 3.67 seconds in the positive ’axis’.
I cut the videos with the correct duration however i believe due to some sync i did in sound (in the original), resulted in me having a video of 5.53 second, of which 1.83 is audio only, and the last 3.67 seconds are the ones i want to keep (and the ones i did cut).
In a video player i can watch the 3.67 seconds i want to however if i extract the audio i get +1.83 seconds of audio at start from the original video (from which i cut the parts) which i didnt intend to cut. What can i do ;
P.S.
Example of the command i used to cut the part :ffmpeg -ss 818 -i input -t 3.67 -codec:v libx264 -profile:v high -preset slow -b:v 5000k -maxrate 5000k -threads 0 -codec:a copy output
-
ffmpeg to rip mp3 from mp4 in ruby
11 septembre 2014, par RichardCTrying to make basic Ruby script utilising ffmpeg to download a video from Youtube and then rip the mp3 from that video.
Problem is each time the script fails when trying to separate the two, even though the command themselves run fine outside of the.
I think the issue is that Ruby is treating the video as a string, but I’m not sure.def input
#print "Enter Video URL: "
#@target_video = gets
#@target_video ||= ''
#@target_video.chomp
@target_video = 'https://www.youtube.com/watch?v=bYG1qccSUAw'
end
def grab
#@video = `viddl-rb #{@target_video}`
`viddl-rb #{@target_video}`
end
def rip
`ffmpeg -i #{grab} new.mp3`
end
input
ripI tested it in irb and when I tried
@video.class
it returnedstring
, I think this is where it’s going wrong but I’m not certain.
The video does download successfully but fails on teh rip.Output and error :
ruby youtube_downloader.rb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 30.4M 100 30.4M 0 0 2580k 0 0:00:12 0:00:12 --:--:-- 2683k
ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
built on Aug 25 2014 19:47:15 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
libavutil 52. 92.100 / 52. 92.100
libavcodec 55. 69.100 / 55. 69.100
libavformat 55. 48.100 / 55. 48.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.100 / 4. 11.100
libavresample 1. 3. 0 / 1. 3. 0
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Loading: No such file or directory
sh: line 1: Plugins: command not found
sh: line 2: Will: command not found
sh: line 3: Analyzing: command not found
sh: line 4: Using: command not found
sh: line 5: [YOUTUBE]: command not found
sh: line 6: [YOUTUBE]: command not found
sh: line 7: Using: command not found
sh: line 8: Download: command not found
sh: line 9: Error:: command not found
sh: line 11: Backtrace:: command not found
sh: -c: line 12: syntax error near unexpected token `:27:in'
sh: -c: line 12: `(eval):27:in `initialize''