
Recherche avancée
Médias (21)
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (41)
-
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 (...) -
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 (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (9145)
-
How to extract a video snippet from a video file that is being written in by ffmpeg in realtime
26 février 2015, par alex.bAt the moment i am recording a LIVE stream video from youtube with youtube-dl (https://github.com/rg3/youtube-dl)
The command i use for this :
youtube-dl --id -f 92 https://www.youtube.com/watch?v=VYlQJbsVs48
92 is a format code that i got after executing a command to get the formats, that gave me this list :
format code extension resolution note
140 m4a audio only DASH audio 144k , m4a_dash container, aac @128k (48000Hz)
141 m4a audio only DASH audio 272k , m4a_dash container, aac @256k (48000Hz)
160 mp4 256x144 DASH video 124k , 15fps, video only
133 mp4 426x240 DASH video 258k , 30fps, video only
134 mp4 640x360 DASH video 616k , 30fps, video only
135 mp4 854x480 DASH video 1116k , 30fps, video only
136 mp4 1280x720 DASH video 2216k , 30fps, video only
137 mp4 1920x1080 DASH video 4141k , 30fps, video only
151 mp4 72p HLS
132 mp4 240p HLS
92 mp4 240p HLS
93 mp4 360p HLS
94 mp4 480p HLS
95 mp4 720p HLS
96 mp4 1080p HLS (best)This is creating a file called VYlQJbsVs48.mp4.part that gets bigger and bigger of course.
Is there a way to extract a video snippet from that live stream or form the part file ? Or maybe there is a better way of doing this ?
What i have noticed is that if i force quit iTerm2 while youtube-dl is running the .part file it creates wont contain any index information (something to do with an moov atom not being present in the mp4 file - which is the information about the number of frames and other things - metadata i think), so it makes me think i cannot extract from the file.
Maybe if there would be a way that youtube-dl can write the index information at all times or maybe another way that i can record the live stream and get video snippets while its recording.
I forgot to mention i am doing this on OSX Yosemite. I have FFMPEG installed with homebrew and youtoube-dl
I am more than happy to try stuff on UBUNTU if there is a solution.
Any help would be greatly appreciated.
Thank you.
Alex
-
Code forks fine on macbook laptop..but on Imac(Yosemite) I get errors in my shell script
2 mars 2015, par arantxI’m still figuring out how to work within the terminal, mainly with FFmpeg at the moment. I have this code running for a while now on my macbook pro (snow leopard I think). It works fine, no glitches whatsover. I just got an Imac (yosemite) and I wanted to install the same code, but now it gives these minor stupid syntax errors - that are not at fault on my laptop ! Its seems bizar to me, but maybe it’s something I forgot to install .. like a certain library ? I’ve tried to use the same steps as before but ofcourse I might have forgotten about one..
The code will make a clip of 5 seconds on every hour via the embedded webcam, (the hourly notice is being programmed within crontab). This is the shell script :
#!/bin/bash
FNAME=videocapture_`date +"%F_%H_%M"`.mpg
echo $FNAME
/usr/local/bin/ffmpeg -t 5 -f avfoundation -i "default" $FNAME
And these are the erros (I tried to change a few small syntaxes to see if it would stop but it just finds new errors)
"SyntaxError: EOL while scanning string literal
Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
FNAME=videocapture_'date +"%F_%H_%M"`.mpeg
^
SyntaxError: EOL while scanning string literal
Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
FNAME=videocapture_'date +"%F_%H_%M"`.mpeg
^
SyntaxError: EOL while scanning string literal
Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
FNAME=videocapture_'date +"%F_%H_%M"`.mp4"
If someone can point something out that I might have missed, let me know !
Kind regards,
Arantxa
-
Anomalie #3763 (Nouveau) : Rendre cohérent et simplifier l’appel à sa propre page d’auteur
29 mars 2016, par touti toutiPour le moment il y a deux pages différentes qui répercutent presque les mêmes infos
- ?exec=infos_perso qui possède en sus un menu de 3 onglets : Mes informations | Ma langue | Mes préférences) cette page serait à supprimer
- ?exec=auteur&id_auteur=xx il faudrait juste ajouter ces 3 onglets lorsque l’auteur est reconnu en sessionÇa résoudrait aussi le fait que l’on ne sait pas quel est son propre identifiant auteur à moins de cliquer sur son nom pour ouvrir la page ?exec=infos_perso