Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7928)

  • fftools/ffmpeg : show video stats in progress output without filters

    2 août 2024, par Jan Garcia via ffmpeg-devel
    fftools/ffmpeg : show video stats in progress output without filters
    

    Since ffmpeg 6.1 video stats are accidentally hidden from streamcopy progress output.
    This patch re-enables video stats (like frames=) in the progress output.

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] fftools/ffmpeg.c
  • Using ffmpeg with libfdk-aac, encoding HE-AAC v1 and mono actually, but in decoding ffmpeg show HE-AAC v2 and stereo [closed]

    13 novembre 2024, par olojzyg

    ffmpeg encode command :

    &#xA;

    &#xA;

    ffmpeg -i aac_128000_f32le_22050_1.wav -c:a libfdk_aac -profile:a&#xA;aac_he -b:a 64k -channels 1 test.aac

    &#xA;

    &#xA;

    output :

    &#xA;

    [aist#0:0/pcm_s16le @ 000001d38ecfe340] Guessed Channel Layout: mono&#xA;  Input #0, wav, from &#x27;aac_128000_f32le_22050_1.wav&#x27;:   Duration: 00:00:06.48, bitrate: 359 kb/s&#xA;  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 352 kb/s&#xA;  Stream mapping:&#xA;  Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (libfdk_aac)) &#xA;  Press [q] to stop, [?] for help Output #0, adts, to &#x27;test.aac&#x27;:&#xA;  Metadata:&#xA;        encoder         : Lavf61.7.100   &#xA;        Stream #0:0: Audio: aac (HE-AAC), 22050 Hz, mono, s16, 64 kb/s&#xA;          Metadata:&#xA;            encoder         : Lavc61.19.100 libfdk_aac &#xA;[out#0/adts @ 000001d38ecf8680] video:0KiB audio:53KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.000000%&#xA; size=      53KiB time=00:00:06.47 bitrate=  67.0kbits/s speed= 296x&#xA;

    &#xA;

    but decode this test.aac, I think HE-AAC and mono is corrent, but it show HE-AAC v2 and stereo, why ?&#xA;decode command :

    &#xA;

    &#xA;

    ffmpeg -i test.aac -f null -

    &#xA;

    &#xA;

    decode output :

    &#xA;

    [aac @ 0000020ffcab3d40] Estimating duration from bitrate, this may be inaccurate&#xA; Input #0, aac, from &#x27;test.aac&#x27;:   Duration: 00:00:06.78, bitrate: 63 kb/s&#xA; Stream #0:0: Audio: aac (HE-AACv2), 22050 Hz, stereo, fltp, 63 kb/s&#xA; Stream mapping:&#xA; Stream #0:0 -> #0:0 (aac (native) -> pcm_s16le (native))&#xA; Press [q] to stop, [?] for help Output&#xA;#0, null, to &#x27;pipe:&#x27;:&#xA;   Metadata:&#xA;    encoder         : Lavf61.7.100&#xA;   Stream #0:0: Audio: pcm_s16le, 22050 Hz, stereo, s16, 705 kb/s&#xA;      Metadata:&#xA;        encoder         : Lavc61.19.100 pcm_s16le&#xA;[out#0/null @ 0000020ffcac8bc0] video:0KiB audio:584KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown&#xA;size=N/A time=00:00:06.78 bitrate=N/A speed=1.6e&#x2B;03x&#xA;

    &#xA;

    what happened ? test.aac is also displayed as 2 channels in Audition. But 1 channel is displayed in MediaInfo, and ADTS header is corrent :

    &#xA;

    &#xA;

    channel_configuration : 1 (0x1) - (3 bits)

    &#xA;

    &#xA;

  • Using FFMPEG command to read the frame and show using the inshow function in opencv

    28 novembre 2024, par HARSH BHATNAGAR

    I am trying to get the frame using the ffmpeg command and show using the opencv function cv2.imshow(). This snippet gives the black and white image on the RTSP Stream link . Output is given below link [ output of FFmpeg link].&#xA;I have tried the ffplay command but it gives the direct image . i am not able to access the frame or apply the image processing.

    &#xA;

    Output of FFMPEG

    &#xA;

    import cv2&#xA;import subprocess as sp&#xA;command = [ &#x27;C:/ffmpeg/ffmpeg.exe&#x27;,&#xA;            &#x27;-i&#x27;, &#x27;rtsp://192.168.1.12/media/video2&#x27;,&#xA;            &#x27;-f&#x27;, &#x27;image2pipe&#x27;,&#xA;            &#x27;-pix_fmt&#x27;, &#x27;rgb24&#x27;,&#xA;            &#x27;-vcodec&#x27;, &#x27;rawvideo&#x27;, &#x27;-&#x27;]&#xA;&#xA;&#xA;import numpy&#xA;pipe = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8)&#xA;while True:&#xA;    raw_image = pipe.stdout.read(420*360*3)&#xA;   # transform the byte read into a numpy array&#xA;    image =  numpy.fromstring(raw_image, dtype=&#x27;uint8&#x27;)&#xA;    image = image.reshape((360,420,3))&#xA;    cv2.imshow(&#x27;hello&#x27;,image)&#xA;    cv2.waitKey(1)&#xA;    # throw away the data in the pipe&#x27;s buffer.&#xA;    pipe.stdout.flush()&#xA;

    &#xA;