
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (104)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (11859)
-
avcodec/jpeg2000dwt : Replace /2 by >>1
23 juin 2015, par Michael Niedermayer -
FFmpeg concat images and audio what can't control framerate
27 septembre 2016, par kensonLiangGood day !
I want to concat images and audios to a video.and I found the command like that :ffmpeg -ss 00:00:00 -t 00:00:10 -i a.mp3 -ss 00:01:01 -t 00:00:10 -i b.mp3 -thread_queue_size 1024 -r 3 -i C:\f1\im\%08d.jpg -filter_complex "[0:a] [1:a] concat=v=0:a=1 [outa];movie=im/%08d.jpg,fps=3 [img]" -map [outa] -map [img] output.mp4
It’s work.but whatever I set the fps and -r,the video stream will complete in 1second,and the audio will playing with the last frame of the video after the first second.
help me,please ! -
Crontab starts again before the process of conversion in ffmpeg ends (depending on time suppose /2 minutes) How to Control that ?
4 février 2018, par A SahraI am running a bash .sh file every two minutes with crontab. the problem is that when crontab runs bash file the process of ffmpeg video conversion starts,the conversion time varies depending on length of videos, i have set the crontab to run every two minutes. crontab runs again after two minutes before end of ffmpeg conversion.
How to Figure out :
control of crontab and conversion process so the crontab doesn’t starts again until process of conversion is not completed.
#!/bin/bash
# set PATH to check existance of video file in this directory
checkfiles=/home/webuser/public_html/shareportal/convert_Up_videos/*
checkforfiles=/home/webuser/public_html/shareportal/convert_Up_videos
movetodire=/home/webuser/public_html/shareportal/uploaded_videos/
conversionprocessdir=/home/webuser/public_html/shareportal/conversion_process/
movetoArchive=/home/webuser/public_html/shareportal/Video_Archive/
blockpath=/home/webuser/public_html/shareportal/block.txt
processid=/home/webuser/public_html/shareportal/processid.txt
#format of output video file
webm='webm'
if [ "$(ls -A $checkforfiles)" ]
then
#check directory for files to convert
for f in $checkfiles
do
fullfilename="$f"
filename=$(basename "$f")
filewithoutextforimage="${filename%.*}"
nametofile=$filewithoutextforimage | cut -c1-10;
echo $filewithoutextforimage | cut -c1-10 1> $blockpath 2>&1
filewithoutext="${f%.*}"
fileextention="${f##*.}"
image_path='/home/webuser/public_html/shareportal/video_images/'$filewithoutextforimage'.png'
outputfilename=$conversionprocessdir"$filewithoutextforimage.webm"
#ffmpeg conversion process starts here
if (ffmpeg -i "$f" "$outputfilename" 1>> $blockpath 2>&1)
then
#Extract Image of video file on provided time stamp
if (ffmpeg -ss 00:00:06 -i "$f" -vframes:v 1 "$image_path")
then
echo "Image Extracted"
else
echo "Could not Extract Image"
fi
echo "Video Converted";
else
echo "Could Not Convert Video"
fi
#conversion Ends!!
mv "$outputfilename" $movetodire
mv "$fullfilename" $movetoArchive
done
else
echo "File Not Found Directory is empty!!!-----"
fi