
Recherche avancée
Médias (91)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
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
Autres articles (76)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (7665)
-
bash script fail when a command wait ffmpeg to finish
5 novembre 2013, par d4r10In ubuntu 13.04 have a node.js server that launch for certain events, a script like this :
#! /bin/bash
...
...
avconv -i "$dir$video" -ss "$ss.000" -t $tt -threads 0 "$folder/$dif.webm"
y_uid=$(/app/youtube-uploader "$folder/$dif.webm" "$label" "$desc" | grep 'watch' | sed 's/v=/ /g' | awk '{print$2}')
echo "$y_uid" >> ~/log/yt.log
...
...if avconv (ffmpeg) process a small file (less then 30 minutes of encoding), the script works fine, but if avconv runs for hours, the next command "...youtube-uploader..." (that is a python based application) doesn't work (but if i try to launch it manually, it will go fine).
I have also tried to launch the next command inside a loop that check if the variable "$y_uid" is empty, so it will try to repeat youtube-uploader until it find a right value, but it will continue to stay in background and will try forever.. (and it is strange, because if i try to launch the command manually, it works fine..).
Summarizing, seems like that if avconv run for hours, the avconv process will generate a file that is not recognised or locked or a ghost file for the same script (but is recognised if the command is launched outside the script), if it is a small encoding, it will work fine.
Unfortunatelly It is difficult to debug or test, because i have every time to wait for hours, please help !
UPDATE
I think the problem is related at the buffer size of node.js OR some other buffer that store the standard output of ffmpeg. Just correct
avconv -i "$dir$video" -ss "$ss.000" -t $tt -threads 0 "$folder/$dif.webm"
in
avconv -i "$dir$video" -ss "$ss.000" -t $tt -threads 0 "$folder/$dif.webm" &> /dev/null
so all the ffmpeg output not full the buffer memory and everythings go well
-
Automatically inject 360° 3D metadata into a video with a Bash script
27 octobre 2019, par Eduardo PerezSo, I have a Cygwin script I made which concats several videos into a single video with different variations, and I want to inject stereoscopic 3D metadata into the videos through the script so I don’t have to inject each video separately using Google’s injector tool. The videos are all 360° videos with top/bottom 3D and standard stereo audio rather than spacial audio, and in an MP4 container. Is there any way that I can either inject the needed 3D metadata using FFmpeg so I can upload it to YouTube as a 360VR video, or use the source code of Google’s injector tool or some other tool in order to inject the metadata the same way that Google’s injector tool would so it’s supported as a 360° 3D video by YouTube ?
Also, will the injector tool automatically move the MOV atom to the beginning of the file (if the injector tool is used) or will I still need to use
-movflags +faststart
in FFmpeg ? The videos are kind of big and apparently using FFmpeg to concat several video files together and copy the stream codecs with-movflags +faststart
and then injecting the metadata using Google’s Spherical Media tool is three times longer than just using FFmpeg in the same way but without-movflags +faststart
, so if there was a fast way to do this I’d greatly appreciate it. -
Command works in SSH terminal, but not in PHP script
13 janvier 2017, par Ryan ButterworthI’m having a weird problem. I have installed ffmpeg on my server. When I run "
ffmpeg
" from SSH (PuTTY) it confirms the install :Then I placed the following code in a PHP file, inside a website on the same server :
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$output = exec('ffmpeg -h');
echo "<pre>$output</pre>";
?>However when I run the PHP script, the page is blank, there is no output. I can confirm that
exec
is working fine, because when I runphp -v | grep cli
both in PHP and in terminal, they both output the same thing.I am using Plesk (web host edition) to manage the site, and have given it access to the server over SSH (/bin/sh)
What am I missing here ?