Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (111)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (11229)

  • How to initialize the AV format context from NetworkStream rather than url ?

    23 juillet 2020, par Ahmad

    I'm using FFmpeg.AutoGen to encode catpured frames :&#xA;https://github.com/Ruslan-B/FFmpeg.AutoGen

    &#xA;

    I send the encoded packets through NetworkStream to another program using TCP Client/Server application, using this code :

    &#xA;

     //Send size and encoded packet&#xA; _stream.Write(BitConverter.GetBytes(pPacket->size), 0, 4);&#xA; using (var packetStream = new UnmanagedMemoryStream(pPacket->data, pPacket->size)) &#xA;        packetStream.CopyTo(_stream);&#xA;

    &#xA;

    At the server-side, after UTF8 encoding, I receive content like this :

    &#xA;

    &#xA;

    gd ?r@ ?/ ?a 2&#xF;1 ?   h?C?,?  ????E???H??,? ?#??x264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x133 me=umh subme=10 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=24 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=11 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=60 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 ?  e??   ??S?T????M?.O ??Ea???Q&#xF;?OI??X?????[?P???42=h??M?K? ??{?@c;?t?&#xB;??Ke?>???? ?2 ??&#xB; ?\qXEvg ???U A ?X ??q/&#xB;(?? ?L ?_c ?g ?X ?c(To ?k ?Y ?-F ???R ?] ??U ?&#xA; ;|=r ????\U ???2 ?g ??> ??½ ?7 ?A&#xE; ?1W9 ???A ??&#xF; ?_L ??P ?) ?&#xF;M ????q/ ?L ??) : ??< ??8d/* ?&#xF; ?^ ??} ?B ?H ?_8C[y ???CY ?QM(J ???1<3% ?K ?F ;Q3Q ????&#xA; ??jy&#xF;J" ???y]k ?m ?^} ???S ????h ?&#xF;3 ????EP ???pw ???q ?jKp ???h ?????

    &#xA;

    &#xA;

    My problem is, how to initialize the AV format context with this data, and decode the received packet to recover the original frame ?

    &#xA;

    _pFormatContext = ffmpeg.avformat_alloc_context();&#xA;ffmpeg.avformat_open_input(&amp;pFormatContext, url, null, null).ThrowExceptionIfError();&#xA;

    &#xA;

    As problem exactly is, ffmpeg.avformat_open_input takes URL as an input, not byte[]. If _pFormatContext can be initialized using the received data, things are resolved, but HOW ?

    &#xA;

  • ffmpeg segmentation filter don't works with strftime filename template

    24 juillet 2020, par Ksnadr Renderon

    I try to run ffmpeg with segment filter and timestamp filename template :

    &#xA;

     ffmpeg -f v4l2 -framerate 30 -video_size 960x720 -i /dev/video0  -f segment  -segment_time 5  -reset_timestamps 1 -segment_format mp4 -strftime 1 out%Y-%m-%d_%H-%M-%S.mp4&#xA;

    &#xA;

    and i got error :

    &#xA;

    Invalid segment filename template &#x27;out%Y-%m-%d_%H-%M-%S.mp4&#x27;&#xA;

    &#xA;

    I have read a lot of posts and questions in the internet with the same arguments (after input, which is specific) and people says that this works. What wrong with my command ?

    &#xA;

    UPD : add full ffmpeg log

    &#xA;

    root@nanopiair:~# ffmpeg -f v4l2 -framerate 30 -video_size 960x720 -i /dev/video0  -f segment  -segment_time 5  -reset_timestamps 1 -segment_format mp4 -strftime 1 out%Y-%m-%d_%H-%M-%S.mp4&#xA;ffmpeg version git-2015-01-22-f86a076 Copyright (c) 2000-2014 the FFmpeg developers&#xA;  built on Jul 22 2020 12:02:39 with gcc 8 (Debian 8.3.0-6)&#xA;  configuration: --prefix=/usr --enable-nonfree --enable-gpl --enable-vdpau --enable-libx264 --enable-libv4l2 --enable-libfreetype --enable-libfontconfig --enable-libfribidi&#xA;  libavutil      54.  6.100 / 54.  6.100&#xA;  libavcodec     56.  0.101 / 56.  0.101&#xA;  libavformat    56.  2.100 / 56.  2.100&#xA;  libavdevice    56.  0.100 / 56.  0.100&#xA;  libavfilter     5.  0.102 /  5.  0.102&#xA;  libswscale      3.  0.100 /  3.  0.100&#xA;  libswresample   1.  1.100 /  1.  1.100&#xA;  libpostproc    53.  0.100 / 53.  0.100&#xA;Input #0, video4linux2,v4l2, from &#x27;/dev/video0&#x27;:&#xA;  Duration: N/A, start: 2548.007454, bitrate: 248832 kb/s&#xA;    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 960x720, 248832 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc&#xA;[libx264 @ 0x201bec0] using cpu capabilities: ARMv6 NEON&#xA;[libx264 @ 0x201bec0] profile High, level 3.1&#xA;[libx264 @ 0x201bec0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;[mp4 @ 0x2507bd0] Invalid segment filename template &#x27;out%Y-%m-%d_%H-%M-%S.mp4&#x27;&#xA;Output #0, segment, to &#x27;out%Y-%m-%d_%H-%M-%S.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf56.2.100&#xA;    Stream #0:0: Video: h264 (libx264), yuv420p, 960x720, q=-1--1, 30 fps, 30 tbn, 30 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc56.0.101 libx264&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument&#xA;

    &#xA;

  • ffmpeg : Extract unknown data stream from video container

    23 juillet 2020, par Pikkostack

    I have a .MOV container which contains the following tracks :

    &#xA;

    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 100619 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)&#xA;Metadata:&#xA;  creation_time   : 2020-07-21T22:48:24.000000Z&#xA;  handler_name    : DJI.AVC&#xA;  encoder         : AVC encoder&#xA;Stream #0:1(eng): Data: none (priv / 0x76697270), 87 kb/s&#xA;Metadata:&#xA;  creation_time   : 2020-07-21T22:48:24.000000Z&#xA;  handler_name    : DJI.Meta&#xA;Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 2 kb/s (default)&#xA;Metadata:&#xA;  creation_time   : 2020-07-21T22:48:24.000000Z&#xA;  handler_name    : DJI.Subtitle&#xA;

    &#xA;

    As you can see, stream #0:1, called DJI.meta, is of an unknown data format. I just want to extract the raw data of this stream to a file. So that is the ffmpeg command I tried :

    &#xA;

    ffmpeg -i .\DJI_0001.MOV -map 0:1 metadata&#xA;

    &#xA;

    But using this command results in the following error :

    &#xA;

    Unable to find a suitable output format for &#x27;metadata&#x27;&#xA;metadata: Invalid argument&#xA;

    &#xA;

    How can I tell ffmpeg that the data should not be formated, so that only the raw data is extracted ?

    &#xA;