
Advanced search
Other articles (92)
-
Amélioration de la version de base
13 September 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 (...) -
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configuration spécifique pour PHP5
4 February 2011, byPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
On other websites (5680)
-
Merge video and audio ts segments ffmpeg command
9 October 2020, by Felipe S.I'm looking for a ffmpeg command that merges segments of ts video and ts audio


i want to be able to choose the audio and the video resolution that i wanna use in the command


this is what i have on main index.m3u8 file:


#EXTM3U
#EXT-X-VERSION:5
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AACL",NAME="audio_483_eng",LANGUAGE="eng",AUTOSELECT=YES,DEFAULT=NO,URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Alter-audio_483_eng(483)?start=LIVE&end=END"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="AACL",NAME="audio_482_por",LANGUAGE="por",AUTOSELECT=YES,DEFAULT=YES,URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Alter-audio_482_por(482)?start=LIVE&end=END"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=300000,CODECS="mp4a.40.2,avc1.4d0029",RESOLUTION=320x180,AUDIO="AACL"
index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Level(300000)?start=LIVE&end=END

#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=79747,CODECS="avc1.4d0029",URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Iframe(300000)?start=LIVE&end=END"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=600000,CODECS="mp4a.40.2,avc1.4d0029",RESOLUTION=640x360,AUDIO="AACL"
index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Level(600000)?start=LIVE&end=END

#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=155913,CODECS="avc1.4d0029",URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Iframe(600000)?start=LIVE&end=END"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000,CODECS="mp4a.40.2,avc1.4d0029",RESOLUTION=720x404,AUDIO="AACL"
index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Level(1000000)?start=LIVE&end=END

#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=192608,CODECS="avc1.4d0029",URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Iframe(1000000)?start=LIVE&end=END"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1700000,CODECS="mp4a.40.2,avc1.4d0029",RESOLUTION=854x480,AUDIO="AACL"
index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Level(1700000)?start=LIVE&end=END

#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=242017,CODECS="avc1.4d0029",URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Iframe(1700000)?start=LIVE&end=END"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=4000000,CODECS="mp4a.40.2,avc1.4d0029",RESOLUTION=1280x720,AUDIO="AACL"
index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Level(4000000)?start=LIVE&end=END

#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=443814,CODECS="avc1.4d0029",URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Iframe(4000000)?start=LIVE&end=END"
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=7000000,CODECS="mp4a.40.2,avc1.4d0029",RESOLUTION=1920x1080,AUDIO="AACL"
index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Level(7000000)?start=LIVE&end=END

#EXT-X-I-FRAME-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=690050,CODECS="avc1.4d0029",URI="index.m3u8/S!d2ELaW9zZmFpcnBsYXkSAlT-....ARYEnw__/Iframe(7000000)?start=LIVE&end=END"



inside those sub index.m3u8 file, there are only .ts segments.


-
Moving files into sub folders based by average filesize
5 February 2016, by darkshaedI need the help of you programming savants in creating a batch script or powershell script that will move and divide a group of files from one directory into 4 subdirectories based on an average total filesize. After the sort, the sub-directories should be roughly equal in terms of folder size.
Why do I need this?
I have 4 computers that I would like to utilize for encoding via FFMPEG and it would be helpful for a script to divide a folder into 4 parts (sub-directories) based on a total average size.
So lets say there are an assortment of movie files with varying different file sizes totaling to 100 GB, the script would divy the movie files and move them into 4 sub folders; each folder having around 25 GB. Doing this will allow the 4 machines to encode the sum of the data equally and efficiently.
After all that encoding I’ll have 2 files, XYZ.(original Extension) and XYZ.264, A script that could compare the 2 files and delete the larger file would be extremely helpful and cut down on manual inspection.
Thank you, I hope this is possible.
-
avformat/udp: specify the local address for some source filtered multicast joins
21 September 2018, by Marton Balintavformat/udp: specify the local address for some source filtered multicast joins
We already use localaddr for the multicast joins without source filters, so we
should use them for source filters as well. This patch only fixes the
IP_ADD_SOURCE_MEMBERSHIP and the IP_BLOCK_SOURCE case.Unless we do this, the kernel automatically selects an interface based on the
source address, and that interface might be different from the one set in
localaddr. For blocked sources this even casues EINVAL because we joined the
multicast group on a different interface.Signed-off-by: Marton Balint <cus@passwd.hu>