
Recherche avancée
Autres articles (112)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (...)
Sur d’autres sites (9918)
-
MIME type for transcoded stream
11 septembre 2012, par Matt JoinerI wish to determine the MIME type of the contents of a pipe. The pipe is outputting a transcoded video stream, so there is no corresponding file extension.
Can I determine the MIME type in these circumstances using say
ffprobe -i pipe:0
or some equivalent ? Is there a canonical mapping of codecs or container formats to MIME type ? -
RTP Streaming with ffmpeg : server streaming, client failing
27 novembre 2013, par Christoph KuhrI compiled ffmpeg and x264 myself.
x264 version :
#define X264_REV 2377
#define X264_REV_DIFF 0
#define X264_VERSION " r2377 1ca7bb9"
#define X264_POINTVER "0.140.2377 1ca7bb9"ffmpeg version : 0.11.4
ffmpeg configuration :--enable-x11grab --enable-pthreads --enable-libfaac --enable-libxvid --enable-libx264 --enable-libv4l2 --enable-libmp3lame --enable-libpulse --enable-gpl --enable-nonfree --disable-yasm
streaming server call :
ffmpeg -f x11grab -s 1600x900 -framerate 50 -i :0.0 -vcodec libx264 -threads 4 -preset ultrafast -crf 0 -q:v 1 -b:v 8M -an -f rtp rtp://192.168.188.30:8710
...
Output #0, rtp, to 'rtp://192.168.188.30:8710':
Metadata:
encoder : Lavf54.6.100
Stream #0:0: Video: h264, yuv420p, 1600x900, q=-1--1, 8000 kb/s, 90k tbn, 50 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> libx264)
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 192.168.188.30
t=0 0
a=tool:libavformat 54.6.100
m=video 8710 RTP/AVP 96
b=AS:8000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1Everything looks good so far...
Now the problem.
I create foo.sdp from the SDP output of the server and try to playback the stream with ffmpegffplay foo.sdp
. ffplay fails with the following error :[sdp @ 0x7f5e0c0008c0] decoding for stream 0 failed
[sdp @ 0x7f5e0c0008c0] Could not find codec parameters (Video: h264)
[sdp @ 0x7f5e0c0008c0] Estimating duration from bitrate, this may be inaccurate
gameserver.sdp: could not find codec parametersIf I try the same with VLC, it also fails, but with the different error :
[0x7f3278c045b8] live555 demux error: no data received in 10s, aborting
Look like different reasons. But I could not solve either. Does anyone have a clue ?
-
ffmpeg, Audiostream : How to get type (fourcc) of it with the API ?
21 août 2021, par User42This seems to be a too simple question,
but I was not successful in getting it :


I have no problems with decoding a stream and accessing the data.
But I also need the bitrate and the type of the stream.


The bitrate and the codec used I get by AVCodecContext's members
bit_rate and codec_id.


But I don't need the codec used but the stream type
(as the codec AV_CODEC_ID_MP3 is used for mp1, mp2 and mp3 for example).


I tried AVStream.id, but it is always 0.


Looks like I'm mixing up things, but where ?