
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (4)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
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 (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (3540)
-
aaccoder : tweak PNS implementation further
9 septembre 2015, par Rostislav Pehlivanovaaccoder : tweak PNS implementation further
This commit changes a few things about the noise substitution
logic :
- Brings back the quantization factor (reduced to 3) during
scalefactor index calculations.
- Rejects any zeroed bands. They should be inaudiable and it’s
a waste transmitting the scalefactor indices for these.
- Uses swb_offsets instead of incrementing a ’start’ with every
window group size.
- Rejects all PNS during short windows.
Overall improves quality. There was a plan to use the lfg system
to create the random numbers instead of using whatever the decoder
uses but for now this works fine. Entropy is far from important here.Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>
-
FFMPEG linux how to get the total time duration of a folder containing videos ?
3 octobre 2015, par Andrea Turcoi need to get the total count of video times in a folder
I need to generate a file .txt that export just the total time of the videos in the folder in the format :
HH:MM:SS
Actually with this script i get just the duration of single files splitted..i need just single output in the file video_times.txt with the total duration.
videos=( "/home/videos")
default_ext=( mp4 avi )
dump_file=./video_times.txt
# parameters or default values?
(( $#==0 )) && ext=( "${default_ext[@]}" ) || ext=( "$@" )
echo "locations: ${videos[@]/$HOME/~}"
echo "extensions: ${ext[@]}"
for(( i=0; i<${#ext[@]}; i++ ))
do
(( i>0 )) && find_params+=( -o )
find_params+=( -iname '*.'${ext[$i]} )
done
find_params=( '(' "${find_params[@]}" ')' )
rm "$dump_file" 2>/dev/null
while IFS= read -rd '' f
do
echo "$(( ++n )): $f"
# time in original HH:MM:SS.ms format and in SSSSSS.ms
ffmpeg -i "$f" 2>&1 | awk '/Duration:/ {split($2, t, ":|,"); print $2 t[1]*3600+t[2]*60+t[3]; }' >> "$dump_file"
done < <( find "${videos[@]}" "${find_params[@]}" -print0 )
awk -F, ' {
total=$2;
# printing numbers during work
# printf("%+10.2f\t(%10.2f)\n", $2, total );
}
END {
# print "-----------------------------";
printf( "%.2f seconds in %d files\n", total, NR );
h=total/3600; total%=3600;
m=total/60; total%=60;
printf( "%02d:%02d:%s\n", h, m, total )
}' "$dump_file" -
FFMPEG : Auto restart the script when stuck
25 mai 2020, par F O Xi'm running various scripts with ffmpeg like streaming on youtube, recording camera ip etc.
Sometimes my running scripts just stuck or stop working, there is no info about any errors or smth, they just got stuck, numbers doesn't change and i need to login to my server and click ctrl+z to stop it and then run it again.



So... is there any way to make it automatic ?



I tried many solutions founded in the web but most of them are based on errors but my scripts usually dont show any errors, they just stuck.



I'm using Raspbian OS on Raspberry 3b+