
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (8501)
-
ffmpeg : Split MP3 in 1 second chunks fast ?
30 décembre 2019, par NikoI want to split mp3 into one second chunks fast. I have the mp3 already in memory (in crystal lang) and want to process it further (so I need it in memory after splitting). I got two possiblities working :
- Saving the file to ram disk, calling
ffmpeg -segment
on it, reading all the segement files into memory. - Piping the file into
ffprobe --show_frames
and parsing thepkt_pos
fields from the result.
Both are slow about one second due to unnescessary overhead. Writing to disk and reading hundrets of files in the first case, outputting a lot of unneeded information about a lot of unneeded frames in the second.
I see two possibilities to improve :
- a custom filter for
ffmpeg
that outputs the segements with a separator to stdout. - a custom filter for
ffprobe
similar to--show_frames
but with aframestep
parameter (the existing framestep filter only seems to work with video files) which outputs only the byte offset of the frames.
Perhaps I’m missing possibilites with the existing filters. Perhaps there is a tool better fitted for my needs than ffmpeg. I’d be happy for any hints.
- Saving the file to ram disk, calling
-
lavc/hevc/parser : only split packets on NALUs with nuh_layer_id=0
7 juin 2024, par Anton Khirnov -
avcodec/utils : split side-data in new decode API too
28 avril 2016, par wm4avcodec/utils : split side-data in new decode API too
The deprecated avcodec_decode_video2() and avcodec_decode_audio4()
functions called av_packet_split_side_data() on the input packets. This
is required for packets produced by libavformat with the
AVFMT_FLAG_KEEP_SIDE_DATA flag unset (which is unfortunately the
default).The new API didn’t do this yet, although it didn’t matter as no decoder
supports the new API yet. The emulation layer for the old API calls the
old API functions, which took care of the splitting. Add this code to
the new API codec entrypoints too, because we shouldn’t send essentially
corrupted data to decoders.