
Recherche avancée
Autres articles (3)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
ANNEXE : Les extensions, plugins SPIP des canaux
11 février 2010, parUn plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
Les extensions que MediaSPIP nécessite pour fonctionner
Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (2029)
-
Create mp4 file from raw h264 using a pipe instead of files
16 avril 2019, par Charlie BurnsI have a raw h264 file that I can display with VLC, on a mac :
open -a VLC file.h264
I can convert this to mp4 with the command line
ffmpeg -f h264 -i file.h264 -c:v copy file.mp4
But what I really want to do is something like :
cat file.h264 | ffmpeg > file.mp4
Reason being that the input is coming over a socket and I want to convert it and send it to a video tag in an html file on the fly.
An alternative solution would be a way to display the raw h264 in a web page without converting it to mp4 first.
The input is coming in frame by frame, the first four bytes are 0,0,0,1. My understanding is that this h264 Annex B format.
I know nothing about video formats, I would grateful to be pointed in a direction to look.
Should I look into writing code using libavcodec like this quuesion or is there an off-the-shelf solution ?
H.264 muxed to MP4 using libavformat not playing back
Thanks !
-
ffmpeg mobile convert error (ffmpeg 2.0.2)
6 février 2016, par user3273412My ffmpeg is showing this in the logs when I try to convert a video into mobile format
[aac @ 0xf50860] The encoder ’aac’ is experimental but experimental codecs are not enabled, add ’-strict -2’ if you want to use it.
/usr/bin/ffmpeg -i ’/home/admin/site/media/videos/flv/127.flv’ -y -y -vcodec libx264 -threads 0 -aspect 16:9 -s 432x240 -flags +loop -partitions 0 -subq 1 -trellis 0 -refs 1 -coder 0 -me_range 16 -g 300 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -maxrate 10M -bufsize 10M -rc_eq ’blurCplx^(1-qComp)’ -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -f mp4 -b:v 1800k -acodec libfaac -ac 2 -ab 128k -ar 44100 -profile:v baseline -level 1.3 -preset slow -pass 2 -passlogfile /home/admin/site/tmp/logs/ffmpegpass-PqkhuZH2 /home/admin/site/media/videos/mobile/127.nomov.mp4Anyone help me solve this issue please ?
-
"FFmpeg was not found, spotdl can't continue" even though its installed using sudo apt-get install spotdl + it works if ran from terminal
23 juin 2022, par dank rainbow@bot.command()
async def getsong(ctx, *, songname):
 "get song in mp3 from song name"
 os.popen(f'spotdl {songname} -f "/home/pi/discordbot/output/{songname}.mp3"')
 await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))



ffmpeg installed with sudo-apt get. works if ran from terminal
how to fix ?


figured it out my self.
working code if it benefits anyone :


@bot.command()
async def getsong(ctx, *, songname):
 "get song in mp3 from song name"
 subprocess.Popen(f'spotdl -o "/home/pi/discordbot/output" --ffmpeg "/usr/bin/ffmpeg" {songname} --path-template "{songname}.mp3"', shell=True)
 await ctx.send(file=discord.File(fr'/home/pi/discordbot/output/{songname}.mp3'))