
Recherche avancée
Autres articles (40)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
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 (4772)
-
Ffmpeg change height with fixed width
2 mars 2012, par DmitryI'm trying to change video dimensions using ffmpeg.
For example, user is uploading video 1280*960.And i need to get video 640*480 in return.
I tried this code and it works
exec($ffmpegPath." -i ".$srcFile." -ar 22050 -ab 32 -f flv -s 640x480".$destFile,$tmp);
but this method d't keep width/height balance of video (i.e. video 5000*480 becomes 640*480 and looks compressed from left and right).
In case of this dimensions (5000*480) i need to get video on exit like 640*61
i mean fixed height is not suitable for me.I look over the internet and found this topics
http://superuser.com/questions/201051/resize-videos-with-different-widths-to-a-fixed-height-preserving-aspect-ratio-wi
http://delogics.blogspot.com/2011/11/ffmpeg-maintain-aspect-ratio-with-fixed.htmlbut neither of them works for me (ffmpeg even not works with this code, maybe i've made mistake when adding theirs code parts in my ffmpeg string)
Help me to improve my code pls
Thanks
-
Transcoding wmv file to mp4 using Jave
17 mai 2013, par FawkesI am trying to use Jave to convert a wmv file into h264(mp4).
The final version created by Jave plays fine with VLC player but when I try to use it inside the HTML5 video tag, it is not able to play the file.I am guessing that the issue is with the attributes I am setting for the video attributes.
Java Code :
videoAttributes.setCodec("mpeg4");
videoAttributes.setTag("mpeg4");
videoAttributes.setBitRate(new Integer(5000));
videoAttributes.setFrameRate(new Integer(30));
videoAttributes.setSize(new VideoSize(512, 384));
encodingAttributes.setVideoAttributes(videoAttributes);
encodingAttributes.setFormat("mp4");HTML code :
<video controls="true" width="400" height="200">
<source src="path_to_converted_mp4_file" type="video/mp4"></source>
Not Supported
</video> -
malloc error ubuntu ffmpeg server not streaming
21 septembre 2012, par user1509326enter code here
I was following this tutorial http://jeremyblythe.blogspot.com/2012/05/raspberry-pi-webcam.html and when i run the following command from rootffserver -f /root/ffserver.conf & ffmpeg -v 2 -r 5 -s 640x480 -f video4linux2 -i /dev/video1` http://localhost:8090/webcam.ffm
The camera is turned on and everything is fine, except it does not stream, i checked the terminal and it says the following.
from video 1 i get the following error
bind(port 8090): Address already in use
*** glibc detected *** ffmpeg: malloc(): smallbin double linked list corrupted: 0x0000000000e5ac00 **when i another port like 5000 i get the same result
ffserver -f /root/ffserver.conf & ffmpeg -v 2 -r 5 -s 640x480 -f video4linux2 -i /dev/video1 http://localhost:8090/webcam.ffm
[2] 3795
avserver version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 with gcc 4.6.3
*** glibc detected *** ffmpeg: malloc(): smallbin double linked list corrupted: 0x0000000000b77c00 ***