
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (94)
-
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 (...) -
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 (12476)
-
Video upload with carrierwave-video on Rails 4
15 juin 2017, par MJRLGUEit’s been a while I am fighting to play a video in my rails app.
I am using carrierwave-video, OS : Windows 10 64bits, to stream/show a video in user posts.
Here is what I did :
the file
video_uploader.rb
:class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video
storage :file
def store_dir
"uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}"
end
endin the file :
_post.html.erb
:with this line of code :
<%= video_tag post.video_url :controls =>true %>
I get a blank box with the size of the video.
and I tried this too and still doesn’t work :<%= video_tag post.video.url if post.video? %>
I tried ffmpeg too, I installed ffmpeg in my pc and I did include :
process encode_video: [:mp4, callbacks: { after_transcode: :set_success } ]
invideo_uploader.rb
file and I get this form error message :Video Failed to transcode with FFmpeg. Check ffmpeg install and verify
video is not corrupt or cut short. Original error : ArgumentErrorAny suggestions please ?
-
ffmpeg4android : overlay a video on video with opacity
21 juin 2016, par LuongTruongI am using ffmpeg4android to edit video. Now, I am able to overlay a video on a video by using this command :
String[] complexCommand = {"ffmpeg","-y" ,"-i", "/sdcard/videokit/in_big.mp4","-strict","experimental", "-vf", "movie=/sdcard/videokit/in_small.mp4 [watermark]; [in][watermark] overlay=main_w-overlay_w-0:0 [out]","-s", "320x240","-r", "30", "-b", "15496k", "-vcodec", "mpeg4","-ab", "48000", "-ac", "2", "-ar", "22050", "/sdcard/videokit/out.mp4"};
Now, I want to change the opacity of the video "in_small.mp4" which will be on the top of another video.
Some useful links :
using ffmpeg to add overlay with opacity
ffmpeg overlay video with semi transparent videoFrom those links, I know that
all_opacity
should be the keyword in this case, but I do not know where to put it in the command.Please let me know if you have any ideas. Any suggestion would be appreciated !
-
Save live video stream to a video file
29 juin 2023, par VISHAL DAGATrying to save live streaming video data into a (any) playable video file.
When I log the data I see the following (Put in comment in below code) :-


axios.get(`http://192.168.1.33`, {
 responseType: 'stream',
}).then((response)=>{
 const stream = response.data
 stream.on('data', data => {
 console.log(data); // <buffer 4c="4c" 28="28" a1="a1" 0c="0c" 0d="0d" 14="14" 0e="0e" e1="e1" 8e="8e" eb="eb" 52="52" 48="48" d0="d0" c0="c0" 4a="4a" 68="68" 7b="7b" 0b="0b" c7="c7" 7c="7c" d2="d2" 55="55" 21="21" 0a="0a" a9="a9" 63="63" 12="12" 96="96" 9b="9b" 00="00" ed="ed" 49="49" 42="42" 1a="1a" 16="16" a4="a4" 1e="1e" 94="94" 50="50" 20="20" a3="a3" d8="d8" d5="d5" 1386="1386" more="more" bytes="bytes">
 // <buffer 0d="0d" cb="cb" 4b="4b" f7="f7" 77="77" 36="36" c8="c8" 42="42" 9d="9d" bb="bb" b3="b3" d6="d6" a3="a3" 72="72" 24="24" ff="ff" 00="00" 9e="9e" 29="29" b8="b8" 35="35" a5="a5" 48="48" ad="ad" e2="e2" 11="11" a9="a9" ec="ec" 38="38" 1d="1d" e1="e1" 91="91" 93="93" 73="73" bf="bf" a6="a6" 96="96" 62="62" 26="26" 57="57" f4="f4" a4="a4" 4258="4258" more="more" bytes="bytes">
 // ....
</buffer></buffer>


How can I save this data into a video file which can be played ? I am starting to read from live stream at a certain point in time and reading it for few seconds - ex. 5 seconds. I need to have a video of that 5 seconds.


Note, when I use the url : http://192.168.1.33, I can see the video on the browser.