Recherche avancée

Médias (91)

Autres articles (55)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • 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 (...)

Sur d’autres sites (10088)

  • lavu/opt : Clarify the scope of AVOptions

    24 avril 2024, par Andrew Sayers
    lavu/opt : Clarify the scope of AVOptions
    

    See discussion on the mailing list :
    https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/326054.html

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavutil/opt.h
  • React-Native FFmpeg-kit VideoCompress command not working

    6 septembre 2024, par Brian

    I'm Using FFmpeg-kit's React-Native Kit

    &#xA;

    And I want to encode H264 to HEVC.&#xA;But the Videotoolbox in ios not working

    &#xA;

    I use "ffmpeg-kit-react-native" : "^6.0.2"&#xA;And here is my Code

    &#xA;

            // hevc_videotoolbox&#xA;        await FFmpegKit.execute(`-i ${videoUri} -c:v hevc_videotoolbox  -c:a aac -tag:v hvc1 -movflags &#x2B;faststart -y ${outputUri}`);&#xA;      } else {&#xA;        await FFmpegKit.execute(`-i ${videoUri} -c:v hevc_omx -c:a aac -tag:v hvc1 -movflags &#x2B;faststart -y ${outputUri}`);&#xA;      }&#xA;

    &#xA;

    But I got the error follwed like this

    &#xA;

     LOG    libavutil      58.  2.100 / 58.  2.100&#xA; LOG    libavcodec     60.  3.100 / 60.  3.100&#xA; LOG    libavformat    60.  3.100 / 60.  3.100&#xA; LOG    libavdevice    60.  1.100 / 60.  1.100&#xA; LOG    libavfilter     9.  3.100 /  9.  3.100&#xA; LOG    libswscale      7.  1.100 /  7.  1.100&#xA; LOG    libswresample   4. 10.100 /  4. 10.100&#xA; LOG  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#xA; LOG    Metadata:&#xA; LOG      major_brand     :&#xA; LOG  mp42&#xA; LOG  &#xA; LOG      minor_version   :&#xA; LOG  1&#xA; LOG  &#xA; LOG      compatible_brands:&#xA; LOG  isommp41mp42&#xA; LOG  &#xA; LOG      creation_time   :&#xA; LOG  2024-08-29T02:42:24.000000Z&#xA; LOG  &#xA; LOG    Duration:&#xA; LOG  00:00:23.10&#xA; LOG  , start:&#xA; LOG  0.000000&#xA; LOG  , bitrate:&#xA; LOG  1223 kb/s&#xA; LOG  &#xA; LOG    Stream #0:0&#xA; LOG  [0x1]&#xA; LOG  (und)&#xA; LOG  : Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 640x360 [SAR 1:1 DAR 16:9], 1220 kb/s&#xA; LOG  ,&#xA; LOG  30 fps,&#xA; LOG  30 tbr,&#xA; LOG  600 tbn&#xA; LOG   (default)&#xA; LOG  &#xA; LOG      Metadata:&#xA; LOG        creation_time   :&#xA; LOG  2024-08-29T02:42:24.000000Z&#xA; LOG  &#xA; LOG        handler_name    :&#xA; LOG  Core Media Video&#xA; LOG  &#xA; LOG        vendor_id       :&#xA; LOG  [0][0][0][0]&#xA; LOG  &#xA; LOG  Stream mapping:&#xA; LOG    Stream #0:0 -> #0:0&#xA; LOG   (h264 (native) -> hevc (hevc_videotoolbox))&#xA; LOG  &#xA; LOG  Press [q] to stop, [?] for help&#xA; LOG  [hevc_videotoolbox @ 0x11af89120] Error encoding frame: -12905&#xA; LOG  [hevc_videotoolbox @ 0x11af89120] popping: -542398533&#xA; LOG  [vost#0:0/hevc_videotoolbox @ 0x11af88e50] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA; LOG  Conversion failed!&#xA;

    &#xA;

    How can I fix this error ?

    &#xA;

    I read the&#xA;stack overflow

    &#xA;

      &#xA;
    1. Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
    2. &#xA;

    &#xA;

    2.https://stackoverflow.com/questions/77734601/react-native-ffmpeg-producing-unplayable-hevc-videos-that-still-have-audio

    &#xA;

    But that links doesn't work for me&#xA;I want to compress video's compressing with react-native on ios and android for reducing server cost

    &#xA;

  • Nginx RTMP "Server Error : No Such Stream"

    7 août 2024, par Tony Ruth

    I am trying to capture and stream video within my network 10.100.64.1/24 using libnginx-mod-rtmp. I followed a tutorial. I used the same URL for publishing and playing : rtmp ://10.100.64.4/lab/test But the player does not find the stream.

    &#xA;

    My nginx settings :

    &#xA;

    rtmp {&#xA;&#xA;    server {&#xA;&#xA;        listen 1935;&#xA;        chunk_size 4096;&#xA;        allow publish 127.0.0.1;&#xA;        allow publish 10.100.64.4/24;&#xA;        deny publish all;&#xA;        allow play 127.0.0.1;&#xA;        allow play 10.100.64.4/24;&#xA;        deny play all;&#xA;&#xA;        application lab {&#xA;&#xA;            live on;&#xA;            idle_streams off;&#xA;            record all;&#xA;            record_path /media/HLEV/GoPro/Raw;&#xA;            record_unique on;&#xA;        } &#xA;    }&#xA;} &#xA;

    &#xA;

    The server lives on 10.100.64.4, so I published a video using ffmpeg :

    &#xA;

    ffmpeg -stream_loop -1 -re -i MyVideo.flv -c:v copy -c:a aac -ar 44100 -ac 1 -f flv -flvflags no_duration_filesize rtmp://10.100.64.4/lab/test&#xA;

    &#xA;

    The publishing looks good. Last line of the above command :

    &#xA;

    frame=54030 fps= 60 q=-1.0 size=  119584kB time=00:15:01.00 bitrate=1087.3kbits/s speed=   1x &#xA;

    &#xA;

    And I can see that the video is being saved locally from the record block of the nginx settings.

    &#xA;

    Then I try to play the stream using ffplay :

    &#xA;

    ffplay -i rtmp://10.100.64.4/lab/test&#xA;ffplay version 5.1.5-0&#x2B;deb12u1 Copyright (c) 2003-2024 the FFmpeg developers&#xA;  built with gcc 12 (Debian 12.2.0-14)&#xA;  configuration: --prefix=/usr --extra-version=0&#x2B;deb12u1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libglslang --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librist --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --disable-sndio --enable-libjxl --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared&#xA;  libavutil      57. 28.100 / 57. 28.100&#xA;  libavcodec     59. 37.100 / 59. 37.100&#xA;  libavformat    59. 27.100 / 59. 27.100&#xA;  libavdevice    59.  7.100 / 59.  7.100&#xA;  libavfilter     8. 44.100 /  8. 44.100&#xA;  libswscale      6.  7.100 /  6.  7.100&#xA;  libswresample   4.  7.100 /  4.  7.100&#xA;  libpostproc    56.  6.100 / 56.  6.100&#xA;[rtmp @ 0x7fe7940015c0] Server error: No such stream=    0B f=0/0   &#xA;rtmp://127.0.0.1/lab/test: Operation not permitted&#xA;    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0 &#xA;

    &#xA;

    ffplay does not find the stream.

    &#xA;

    I can observe both the publish and play commands by examine the access log of nginx :

    &#xA;

    sudo tail -2 /var/log/nginx/access.log &#xA;10.100.64.4 [07/Aug/2024:12:24:56 -0500] PUBLISH "lab" "test" "" - 45365243 529 "" "FMLE/3.0 (compatible; Lavf59.27" (5m 36s)&#xA;10.100.64.4 [07/Aug/2024:12:25:03 -0500] PLAY "lab" "test" "" - 368 412 "" "LNX 9,0,124,2" (0s)&#xA;

    &#xA;

    I have tried using different video streams (directly from a webcam instead of from ffmpeg). I have also tried using different players (VLC instead of ffplay).

    &#xA;

    How do I connect to the stream ?&#xA;Do you need different URLs for publishing versus playing ? The way I understood it, publishing is on port 1395 and playing is on port 80, so there is no conflict with using the same URL.&#xA;Is there a way to list the currently active streams on my server ?

    &#xA;