
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Initialisation de MediaSPIP (préconfiguration)
20 février 2010, parLors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)
Sur d’autres sites (7370)
-
FFMPEG and libx264, WMP and QT playback at different res/aspect than specified
10 septembre 2013, par FoltzSo, for a little context. I'm trying to convert a JPEG2000 in .mxf video to an h264 in .mp4, maintaining its resolution/frame-size/aspect ratio. I'll say up front I'm not 100% sure on how all these ratios tie together.
So, my input file is 720x486. I have a sample h264 file with specs I'm trying to emulate (from an OpenCube video ingest machine) with ffmpeg. The OpenCube file plays back at 720x486 in both Quick Time 7 and Windows Media Player 12. It reports a PAR of 9:10 and DAR of 4:3 (Using VideoSpec to see these values).
When I make my derivative h264 using ffmpeg I can run the command :
ffmpeg -i lac-test.mxf -vcodec libx264 -s 720x486 -aspect 4:3 -b:v 2500000 -pix_fmt yuv420p -coder 0 -acodec libfaac -b:a 256000 lac-test.mp4
The output file reports the correct values in VideoSpec (720x486, DAR 4:3, PAR 9:10), but plays back in QT at 648x486. Weirder, the video plays back at the proper resolution (that is, same size as the sample OpenCube file).
Now, an alternative command creates yet another predicament :
ffmpeg -i lac-test.mxf -vcodec libx264 -s 720x486 -b:v 2500000 -pix_fmt yuv420p -coder 0 -acodec libfaac -b:a 256000 lac-test.mp4
So omitting the aspect ratio gives me an output file that plays at 720x486 in QT7 (good !) but reports a DAR of 1.481 and an Undefine PAR. Unfortunately, THIS file plays back slightly too wide in WMP12.
I've tried a slew of different strings to try and get something that plays back correctly. I've tried using various filters with the -fv flag such as :
ffmpeg -i lac-test.mxf -vcodec libx264 -vf "scale=720x486,setsar=9:10,setdar=4:3" -b:v 2500000 -pix_fmt yuv420p -coder 0 -acodec libfaac -b:a 256000 lac-test.mp4
This results in a video that shows all the correct specs in VideoSpec, and plays back correctly in WMP12 (same size as OpenCube file), but still plays back at 648x486 in QT7.
What gives ?
-
ffmpeg : how to swap audio channels
15 septembre 2020, par Kevin GilbertI have an mp4 file where the front and rear channels are swapped (front <-> rear not left <-> right). How can I swap the audio streams ?


What I've tried (amongst others) :


ffmpeg -i in.mp4 -filter 'channelmap=map=FL-BL|FR-BR|BL-FL|BR-FR' -c:v copy out.mp4



what I get :


Filtergraph 'channelmap=map=FL-BL|FR-BR|BL-FL|BR-FR' was defined for video output stream 0:0 but codec copy was selected.
Filtering and streamcopy cannot be used together.



tia


-
ffmpeg : how to swap audio channels
14 septembre 2020, par Kevin GilbertI have an mp4 file where the front and rear channels are swapped (front <-> rear not left <-> right). How can I swap the audio streams ?


What I've tried (amongst others) :


ffmpeg -i in.mp4 -filter 'channelmap=map=FL-BL|FR-BR|BL-FL|BR-FR' -c:v copy out.mp4



what I get :


Filtergraph 'channelmap=map=FL-BL|FR-BR|BL-FL|BR-FR' was defined for video output stream 0:0 but codec copy was selected.
Filtering and streamcopy cannot be used together.



tia