
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (57)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (12333)
-
Merge mp3 files having different bitrate using ffmpeg [closed]
9 janvier 2013, par XCoderffmpeg -i "concat:file1.mp3|file2.mp3" -acodec copy output.mp3
This command works fine if file1.mp3 & file2.mp3 have same bit-rates.
I've been searching for past 4 hours but found nothing on how to merge mp3 files having different bit-rates.
I have two different mp3's having bitrates of 128Kbps & 192Kbps. How to merge them to form a single mp3 file.
-
ffmpeg, video Conversion
7 novembre 2012, par user1805414I have 2 video.
Metadata files :Seems stream 0 codec frame rate differs from container frame rate: 2000.00 (2000/1) -> 30.00 (30/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '89.mp4':
Metadata:
major_brand : isom
minor_version : 0
compatible_brands: mp41isom
creation_time : 2012-10-23 08:10:51
Duration: 00:00:08.96, start: 0.000000, bitrate: 2017 kb/s
Stream #0.0(eng): Video: h264 (Baseline), yuv420p, 640x480, 2006 kb/s, 28.53 fps, 30 tbr, 1k tbn, 2k tbc
Metadata:
creation_time : 2012-10-23 08:10:51
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 48 kb/s
Metadata:
creation_time : 2012-10-23 08:10:51
At least one output file must be specified.
//--------------------------------------------------------------------------------------------------------------//
Seems stream 1 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '56_1.mp4':
Metadata:
major_brand : 3gp4
minor_version : 0
compatible_brands: isom3gp4
creation_time : 1946-11-02 07:14:31
Duration: 00:00:05.23, start: 0.000000, bitrate: 239 kb/s
Stream #0.0(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 5 kb/s
Metadata:
creation_time : 1946-11-02 07:14:31
Stream #0.1(eng): Video: h264 (Baseline), yuv420p, 480x320, 240 kb/s, PAR 65536:65536 DAR 3:2, 17.63 fps, 90k tbr, 90k tbn, 180k tbc
Metadata:
creation_time : 1946-11-02 07:14:31
At least one output file must be specified.They do not play on my website.
How to bring them to a form ?Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5994/125) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'oceans-clip.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2010-05-18 04:24:00
Duration: 00:00:46.54, start: 0.000000, bitrate: 3342 kb/s
Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p, 640x264 [PAR 132:133 DAR 320:133], 3195 kb/s, PAR 127:128 DAR 635:264, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2010-05-18 04:24:00
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 144 kb/s
Metadata:
creation_time : 2010-05-18 04:24:01
At least one output file must be specifiedI get the video to android and vinfone devices, and must play it on your site, but the player does not want to play. Metadata files that I get see the beginnings. The latter belongs to the metadata file that correctly reproduced on the site.
-
run ffmpeg from PHP web script
18 février 2014, par it6I need to manage the recording/capture of a website mindwhile it is running a slide-show to get videos form these slides.
My approach is :
<?php
define('FFMPEG_LIBRARY', '/usr/bin/ffmpeg ');
$ffmpegcmd = "ffmpeg -f x11grab -r 25 -s 800x600 -i :0.0 /tmp/output.mpg";
shell_exec($ffmpegcmd);
?>But i get this error from php error log :
[x11grab @ 0x81e8aa0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 800 height: 600
No protocol specified
No protocol specified
[x11grab @ 0x81e8aa0] Could not open X display.
:0.0: Input/output errorSimilar command from console run good.
Please, any help to get display and be able to control ffmpeg from browser php script ?
Thanks in advance.
thanks for your time.
I got rid the X display error, but not I still haven't got the capture.
Using xvfb I get an unknown file at /tmp written by www-data user :
rw-r—r— 1 www-data www-data 11252 Sep 12 09:49 server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
Running startx I got also an unknown file at /tmp
rw------- 1 www-data www-data 59 Sep 12 09:53 serverauth.oLcFlG7tXC
any of both grow in size so it is not capturing anything. The content is some binary thing.
What are those files about ?What I am trying is to write a script in which I can control the time ffmpeg is capturing the desktop to create a video from a jquery slide displayed on a website.
My try from console is closer, but if I can do it by browser I will be able to know when to stop sending an AJAX request once the slide is finished.
This is my try from console :
#!/bin/bash
# start the slide website: I will need to change it to control by querystring the language and course level
firefox http://www.languagecourse.net/vocabulary-trainer.php &
# start recording: I will need to adjust the frame to capture
ffmpeg -f x11grab -r 25 -s 800x600 -i :0.0 /tmp/output2.mpg &
# since I can't control the time a course takes I pause an arbitrary time
sleep 5
# look for the capture PID and close it
for i in $(ps aux | grep ffmpeg | sed "s/ */#/g" | cut -f2 -d#)
do
echo "proceso $i killed"
kill -9 $i
doneI wonder once the website is opened I can continue doing the control from AJAX, but not know if I will be able to get the ffmpeg PID to stop the command.
I will appreciate any kind of comments.
Regards,
·_-