
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (...)
Sur d’autres sites (14414)
-
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 ?
-
syncing video thumbnail frames with source video
12 octobre 2020, par biglessWe are trying to make video preview for seek bar. One approach is to make tons of images like Youtube does. We chose second one - 160x90(*) preview video without sound with fps limited to max 4 (250ms, based on duration) - one file with native seek sounds good to me.


This is current cmd we use :


ffmpeg -y -i $source$ -vf scale=$width$:$height$ -an -sn -r $fps$ -vcodec libx264 -x264-params keyint=$keyframe_interval$:scenecut=0 



The idea is that browser is able to fetch whole video preview (<10MB) so there is priority to minimize the size. It seems that html5 video player is able to seek to and decode other than keyframes so we set keyframe interval to duration of video with limit of max 384(1920/5px) for best compression ratio.


The issue we are facing is frame sync. When I hover seek bar, video preview shows frame that actually lacks 1-2sec behind hovered time. Does anyone got explanation and possibly fix for this ? Is there some time deviation when player decodes frame instead of showing keyframe ?


-
Convert video from FFMPEG than video is rotated [duplicate]
25 octobre 2016, par user7050166This question already has an answer here :
I have created one Application API, in this Application API When i have upload video from file manager than video is rotated but when i have capture and direct upload than video is perfect work.
i have use this command
transpose=1
but capture video is rotated 90 degree when upload and if i have remove this command than file manager video is rotated.so please give me solutions.
/usr/bin/ffmpeg -i video.mp4 -i watermark.png -filter_complex 'overlay=10:10' -s 640x1280 -b 512k -vcodec mpeg1video -acodec copy -vcodec h264 -acodec aac -strict -2 output_video.mp4
file manager upload video is auto rotated on 270 degree, i have not use any rotated command but capture video is work perfect.