
Recherche avancée
Médias (10)
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (108)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (12666)
-
Trying to change extension of filename on an ffmpeg script
22 janvier 2019, par prat67(first time posting a question here)
So I’m looking to write a ffmmpeg script to automate encoding my files to VP9.
The problem I’m having is when I try to strip the extension and add a new one.For example
Demo.mp4Should change to
Demo.webmI’m running this on a Ubuntu-16.04 (Server Non-GI Version)
I’ve tried a few different ways to accomplish this (using google and other posts on StackOverflow) but I can’t seem to make it workThis is the error I keep getting..
line 31 : Demo.mp4+.vp9 : syntax error : invalid arithmetic operator (error token is ".mp4+.vp9")
I’ve also commented (in the code below) where the syntax error is pointing to..
#!/bin/bash
# Welcome Message
clear
printf "====================================\n"
printf "FFMPEG Encoder\n"
printf "(Using HDR-4k Profile)\n"
printf "====================================\n\n"
printf " Loading Files in Current Directory...\n\n"
sleep 3s
# Variables
i=1
ext=".webm"
vadd=4000000
vsub=2000000
# Iterate through files in current directory
for j in *.{mp4,mkv};
do
echo "$i.$j"
file[i]=$j
i=$(( i + 1 ))
done
# Select File & Bitrate
printf "Enter file number\n"
read fselect
printf "${file[$fselect]}: Selected for encoding\n\n"
printf "Enter Average Bitrate (Eg: 8000000)\n\n"
read bselect
# ***THIS IS WHERE THE PROBLEM IS***
# Prepare output file, strip trailing extension (eg .mkv) and add .webm
ftemp1="${file[$fselect]}"
ftemp2="${ftemp1::-4}"
fout="$(($ftemp2+$ext))"
printf "Output file will be: $fout"
printf "Preparing to encode..."
sleep 5s
# Encode with User-Defined Parameters
ffmpeg -y -report -i ${file[$fselect]} -b:v $bselect -speed 4 -pass 1 \
-pix_fmt yuv420p10le \
-color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \
-maxrate "$(($bselect+$vadd))" -minrate "$(($bselect-$vsub))" \
-profile:v 2 -vcodec libvpx-vp9 -f webm /dev/null && \
ffmpeg -y -report -i ${file[$fselect]} -b:v $bselect -pass 2 \
-pix_fmt yuv420p10le \
-color_primaries 9 -color_trc 16 -colorspace 9 -color_range 1 \
-maxrate "$(($bselect+$vadd))" -minrate "$(($bselect-$vsub))" \
-profile:v 2 -vcodec libvpx-vp9 \
$foutI’m certain there is a much cleaner way to do this - but I’m not expecting help with that :P
My suspicion is that I’m trying to add two different types of variables ? But I thought I defined them as strings..I could be wrong
Please Help... lol
-
How to create video and audio files for the Media Source Extension API ?
5 décembre 2018, par AmanI have created a video player from the
Media Source Extension API
. I have split thevideo
andaudio
from theoriginal.mp4 (1 minute duration)
. I have split thevideo
andaudio
into small5 second files (12 files in total)
. I’m getting each one of them and playing them together. But the video stops playing at around 45-47 seconds. I cannot understand to why the video is stopping/buffering. I cannot understand whether the problem is in thejavascript
code or the video files ?I have uploaded all the resources here (https://drive.google.com/file/d/1NHc_yNRU0tvaU18aohLy74Js3y7UHD4N/view?usp=sharing). And written the commands I used to construct my video and audio files below. I have also noticed that this problem only occurs with
Google Chrome
and works perfectly and smoothly onMicrosoft Edge
. ThanksMaking the Media files:
Extracting video from original.mp4: MP4Box -single 1 original.mp4
Extracting audio from original.mp4: MP4Box -single 2 original.mp4
Splitting the video and audio into 5 second parts: ffmpeg -ss
starting-time-to
end-time-i
(video.mp4OR
audio.mp4)(video_part.mp4
OR
audio_part.mp4)Fragmenting all the video and audio parts: MP4Box -dash 1000 -rap -frag-rap
(video_part.mp4OR
audio_part.mp4)Then using the fragmented video and audio files to be played via the Media Source Extension API video player.
e.g. (video_part_dashinit.mp4OR
audio_part_dashinit.mp4) -
Anomalie #4227 (En cours) : Indication de l’extension d’une sauvegarde
16 novembre 2018, par Franck DHello :-)
Un SPIP 3.3.0-dev [24147] tout neuf sans plug,
Prefix des tables "test1" installation en MySQL
En php 7.2 chez ovh
Environement : stable
Moteur : phpcgi
Mode développementQuand je vais sur ecrire/ ?exec=restaurer, il y a le texte "Ou indiquez le nom du fichier à restaurer" !
Je ne sais pas s’il s’agit d’une "anomalie", d’une évolution, ou d’un problème de texte et donc de "documentation" :-(
Mais pour que cela fonctionne, il faut obligatoirement faire l’ajout en plus du nom ; de l’extension du fichier !Sans quoi, cela ne fonctionne pas, et c’est même perturbant, car le message d’erreur est "Ce nom de fichier n’est pas autorisé" !
A voir s’il est possible de faire, une restauration en autre chose que sqlite, car dans si ce n’est pas le cas, il ne devrait servir à rien de devoir écrire l’extension