
Recherche avancée
Autres articles (33)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (4724)
-
Should libavcodec handle non-packed/non-byte-aligned mp3 packets ?
27 août 2015, par Rhythmic FistmanI’m transcoding shoutcast streams using
libavcodec
and I noticed that during the day I get a few 10s’ of packets that it cannot decode without some help :-
Leading zero bytes before a packet sync word, e.g.
0x0000fffa
-
non-byte aligned syncword, e.g
0x82a0fffa
In the first case I have to toss out the zero bytes and in the second I have to shift the data up by an odd number of nibbles.
I don’t have a watertight knowledge of the mp3 spec (is there one ?), but my impression was that the packet format was a bit oriented, not byte, so both types of packets look right to me.
So who is in the wrong here ?
Is it
libavcodec
for not parsing valid packets ?Or the stream encoder for producing non-standard packets ?
-
-
ffmpeg I want to combine the three command in one command
12 janvier 2019, par Abdulwahed AbuAbedhello I’m new here I want to marge many command in one, like add subtitle file , image (watermark) and write word in top right in video .
without effecting video Quality and size , and if it possible make it fast like a single command .ffmpeg -i input.mkv -vf subtitles=subtitle.srt -sn out.mkv
ffmpeg -i input.mkv -vf "movie=image.png [watermark]; [in][watermark] overlay=10:10 [out]" out.mkv
ffmpeg -i input.mkv -vf drawtext=text='Hallo':x=10:y=H-th-10:fontfile=/path/to/font.ttf:fontsize=12:fontcolor=white:shadowcolor=black:shadowx=5:shadowy=5" out.mkv -
subprocess.Popen crashes when run in background
17 mars 2016, par user2810298In a program I’m working with right now, I try to check for the version of FFMPEG that is installed on the users machine. This works perfectly fine by using subprocess.Popen when run in the foreground OR when run in a detached screen.
However, when you run it in the background without screen (e.g. COMMAND &> /dev/null &) this process crashes the program. (see below) I’ve seen some people having similar issues on the web, but I still can’t seem to fix this...
I’ve Any ideas ?
version_ffmpeg = subprocess.Popen(["ffmpeg","-version"],stdout=subprocess.PIPE,stderr=None)
f_out = version_ffmpeg.communicate()
(then...)
if f_out --> 3rd word contains --> etc.