
Recherche avancée
Autres articles (69)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
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 (...)
Sur d’autres sites (5549)
-
Using FFMPEG and url_fopen example
2 novembre 2012, par BlenderI wonder how to get a stream from a URL (with
url_fopen
for example) (live video or PCM stream for example) and encode it into something ?Update :
This actually was a mall formated question. It was about how to stream something out using url_fopen.Answer :
It is quite simple :
There is like a short article explaining how to use it
And I had a small video streaming solution which actually used it andurl_write
called HelloVideoStreaming (windows sln) some many revisions ago.Good thing is that you actually do not really need or want to use ffmpeg for streaming. But you want to have sendable packets of encoded data in order to send. We have a client that does it (crossplatform, with premake project generation script). Main thing there is to use
url_open_dyn_buf
andurl_close_dyn_buf
which are shortly described here -
How can I determine video rotation/orientation in PHP/FFMPEG/PhoneGap ?
14 juin 2014, par SomethingOnOnce I upload videos to my server I’m creating a screencap using FFMPEG. Problem is, if the user takes a video in portrait mode the screencap is rotated 90º. The ridiculous things is that PhoneGap and FFMEG-php and FFMPEG don’t seem to offer a mechanism for reading the video rotation/orientation value.
I found another library called mediainfo that will provide the info, but not in an easy to read/digest manner and I’m trying to avoid having to use another library.
Am I wrong about PhoneGap/FFMPEG ? Is there a direct way to determine video orienation ?
Here’s my solution as a PHP function :
function get_video_orientation($video_path) {
$cmd = FFMPEG_PATH . "ffprobe " . $video_path . " -show_streams 2>/dev/null";
$result = shell_exec($cmd);
$orientation = 0;
if(strpos($result, 'TAG:rotate') !== FALSE) {
$result = explode("\n", $result);
foreach($result as $line) {
if(strpos($line, 'TAG:rotate') !== FALSE) {
$stream_info = explode("=", $line);
$orientation = $stream_info[1];
}
}
}
return $orientation;
} -
How to merge audio and images with ffmpeg ? [closed]
25 octobre 2012, par ElloI'm trying to merge an audio file and some images file to video with ffmpeg.
If the audio's time is shorter than the video(which is merged by images),i want to loop the audio to fit the video.but how should i do ,i'm trying many times,but fail.
Any pointer for the solution ?
If the video's time is shorter than the audio,i want to cut the audio to fit the video.
First i get the video's time,(e.g., 10 seconds).
Then i use
ffmpeg -i input.mp3 -t 10 output.mp3
to make a shorter audio.At last i use
ffmpeg -i %d.jpg -i a2.mp3 -strict -2 test.mp4
to merge the audio and images.The second question is that is there any beter way to do this ?