
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (80)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)
Sur d’autres sites (7065)
-
Save movie about open AI gym
30 novembre 2019, par AndresI make a Reinforcement learning code on python with open AI gym.After training I want save the movie about reinforcement learning but on windows this is impossible.
There is another way to save the movie of reinforcement learning MountainCar-v0 on windows ??
if __name__ == "__main__":
environment = gym.make("MountainCar-v0")
agent = QLearner(environment)
learned_policy = train(agent, environment)
monitor_path = "./movie_output"
environment = gym.wrappers.Monitor(environment, monitor_path, force=True)this is the error message
DependencyNotInstalled : Found neither the ffmpeg nor avconv executables. On OS X, you can install ffmpeg via
brew install ffmpeg
. On most Ubuntu variants,sudo apt-get install ffmpeg
should do it. On Ubuntu 14.04, however, you’ll need to install avconv withsudo apt-get install libav-tools
. -
Muxing files with different run times
16 novembre 2019, par Dhruv KanojiaI’ve got a few files I want to mux.
File 1 : MP4 File with runtime of 23 Minutes 45 Seconds
File 2 : MP4 File with runtime of 23 Minutes 39 Seconds
File 3 : Subtitle File
File 4 : Subtitle File
File 5 : Subtitle File
File 6 : Subtitle File
File 7 : Subtitle File
File 8 : Subtitle File
File 9 : Subtitle FileI’m trying to mux these files. Now, since there’s a runtime difference, I’m getting weird errors like :
[matroska @ 0x55e029fbd1a0] Only audio, video, and subtitles are supported for Matroska.
av_interleaved_write_frame(): Invalid argument
Error writing trailer of /root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv: Invalid argumentI can mux files with same run time just fine... but, I’m stuck on this one. Can someone help me out here.
The command I’m using :
ffmpeg -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [jaJP].mp4" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [enUS] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [itIT] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esLA] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [frFR] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [esES] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [deDE] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ruRU] .ass" -i "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [ptBR] .ass" -map 1 -map 2 -map 3 -map 4 -map 5 -map 6 -map 7 -map 8 -map 0:v -map 0:a -map 1:a -c copy -metadata:s:a:0 title="English Audio" -metadata:s:a:1 title="Japanese Audio" -metadata:s:a:0 language=eng -metadata:s:a:1 language=jpn -metadata:s:s:0 title="English (US) Subtitle" -metadata:s:s:1 title="Italian Subtitle" -metadata:s:s:2 title="Spanish (Latin America) Subtitle" -metadata:s:s:3 title="French Subtitle" -metadata:s:s:4 title="Spanish Subtitle" -metadata:s:s:5 title="Deutsch Subtitle" -metadata:s:s:6 title="Russian Subtitle" -metadata:s:s:7 title="Portuguese Subtitle" "/root/my_dls/Output/My Vid/1/en-us/1080p/My Video - 1 [Dual Audio].mkv"
-
streaming from generated images using ffmpeg / vlc / live555
10 octobre 2019, par PavelFor the life of me I cannot get this to work correctly.
The idea is : simple python script that loads an image from a url (different every time) and passes it to ffmpeg, eg :
python fetch.py | ffmpeg -f image2pipe -framerate 1 -i pipe:.jpg -c:a copy -c:v libx264 -r 5 -b 500000 -s 600x480 ../live555/out.264
What I really need is to make this work with some sort of rtsp server.
So far a sort of working approach was to use live555MediaServer that is running on the same server and pretty much streams thatout.264
file.Why I don’t like this approach :
a. connecting to rtsp stream using vlc works but it’s very unstable (video stops) and there are not errors or anything, if I click play it resumes.
debug :
live555 debug: RTSP track Close, 0 track remaining
It seems like it just streams whatever the file has at that moment of time and does not do it continuously.b. I don’t like the "file" approach. Eg. ffmpeg is creating an
out.264
file which grows. Ideally it would simply send the stream to the RTSP server via some protocol.c. live555MediaServer just sucks
It looks like there is a way to run vlc server on my server as well, but I cannot figure out how to make ffmpeg feed the vlc server ?
Any suggestions ?