
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (96)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (6122)
-
fftools/ffmpeg_filter : move most of -apad logic to the muxer
4 avril 2024, par Anton Khirnovfftools/ffmpeg_filter : move most of -apad logic to the muxer
The decision whether -apad actually does anything is made based on muxer
properties, and so more properly belongs there. Filtering code only
receives the result. -
Separating audio m4b file based on a cue file
10 avril 2024, par Rick TSeparating audio m4b file based on a cue file


How can I split an audio m4b into separate files using a cue file ?


Note : The m4b file has no chapters that's why I need to use the cue file to split it.


I did try AI but that didn't work.


ffmpeg -i test.m4b -f segment -segment_times test.cue -c copy output_%02d.m4a



I get errors.




Invalid time duration specification 'test.cue' in times list test.cue
Could not write header for output file #0 (incorrect codec parameters
 ?) : Invalid argument




The thing is I can load the cue file in vlc and play the different chapters without issues.


-
ffmpeg - data is being "removed" while h264 is being processed by ffmpeg
21 mai 2024, par LakiI got a file which is created based on messages coming from streaming, all of the "messages" are ending with b'h264\x00'
I got a need to


- 

- load the data into ffmpeg
- perform some processing of the data
- re-attach the data to same "messages"








Data is loaded with ffmpeg and saved with ffmpeg - however - ffmpeg removes "part" of the data
I have simplified the process and currently I am only loading and saving the data, without any processing, but still - part of the data is being removed


I have used several commands - but always, part of my data is being removed


ffmpeg -i sthg3.h264 -c copy st3.h264
ffmpeg -err_detect ignore_err -i sthg3.h264 -c copy st3.h264
ffmpeg -fflags +genpts -i sthg3.h264 -c copy st3.h264 



I have created the script for calculating that


file_out = 'sthg3.h264'
def split_file(input_file,chunki):
 output_files = []
 with open(input_file, 'rb') as f:
 file_number = 0
 while True:
 chunk = f.read(504096) # Read a chunk of data
 if not chunk: # End of file
 break
 index = chunk.find(chunki) # Find the delimiter
 while index != -1:
 chunk = chunk[index+len(chunki):]
 file_number += 1
 index = chunk.find(chunki) # Find the next delimiter
 return file_number

chunki = b'h264\x00'
print(split_file(file_out,chunki))
chunki = b'\x00\x01\x00'
print(split_file(file_out,chunki))
 
chunki = b'h264\x00'
#chunki = b'\x00\x00\xdc\x9e'
print(split_file('st3.h264',chunki))
chunki = b'\x00\x01\x00'
print(split_file('st3.h264',chunki))



and here is the question, how to push data through ffmpeg to avoid removing data, or replace it with something that would not be removed ?