Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (24)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Pré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 ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7212)

  • How to get ffprobe metadata as variable to parse in python

    29 avril 2021, par connor449

    When I run ffprobe <video></video>, I get the standard metadata as below :

    &#xA;

    ffprobe version 4.3.1 Copyright (c) 2007-2020 the FFmpeg developers&#xA;  built with Apple clang version 11.0.3 (clang-1103.0.32.62)&#xA;  configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-avresample --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-librsvg --enable-libtheora --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libsoxr --enable-libspeex --enable-libass --enable-libbluray --enable-lzma --enable-gnutls --enable-fontconfig --enable-libfreetype --enable-libfribidi --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-indev=jack --enable-opencl --disable-outdev=xv --enable-audiotoolbox --enable-videotoolbox --enable-sdl2 --disable-securetransport --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --enable-libdav1d --arch=x86_64 --enable-x86asm --enable-libx265 --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid&#xA;  libavutil      56. 51.100 / 56. 51.100&#xA;  libavcodec     58. 91.100 / 58. 91.100&#xA;  libavformat    58. 45.100 / 58. 45.100&#xA;  libavdevice    58. 10.100 / 58. 10.100&#xA;  libavfilter     7. 85.100 /  7. 85.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  7.100 /  5.  7.100&#xA;  libswresample   3.  7.100 /  3.  7.100&#xA;  libpostproc    55.  7.100 / 55.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;../directConversion/200mbs105_55.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2avc1mp41&#xA;    encoder         : Lavf58.45.100&#xA;  Duration: 00:01:12.43, start: 0.000000, bitrate: 213963 kb/s&#xA;    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1920 [SAR 1:1 DAR 9:16], 213828 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : Core Media Video&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      handler_name    : Core Media Audio&#xA;&#xA;

    &#xA;

    I want to get this information from python so I can parse this output and use some of it in my code. However, I can't get this to work.

    &#xA;

    I have tried the following :

    &#xA;

    data = subprocess.call(f&#x27;ffprobe {video}&#x27;, shell=True)&#xA;data = subprocess.check_output(f&#x27;ffprobe {vid}&#x27;, shell=True)&#xA;data = subprocess.Popen(f&#x27;ffprobe {vid}&#x27;, shell=True)&#xA;data = subprocess. Popen(f&#x27;ffprobe {vid}&#x27;, stdout=subprocess.PIPE ).communicate()[0]&#xA;data = run(f&#x27;ffprobe {vid}&#x27;, capture_output=True).stdout&#xA;

    &#xA;

    If I include shell=True, then the proper information prints in the terminal but I get an empty string for data. For commands without shell=True I get file not found error and it breaks. What should I do ? I got all of these solutions from SO and they seem to work for others.

    &#xA;

  • Appium screen recording doesn't work on simulator

    31 août 2022, par Oks

    I'm running automation tests on simulator and trying to record screen but it crashes on line driver.start_recording_screen()&#xA;I'm using Python for testing and Flutter for client side.

    &#xA;

    self.utils.driver.switch_to_native_context()&#xA;driver.start_recording_screen()&#xA;

    &#xA;

    Appium logs :

    &#xA;

    [ffmpeg] ffmpeg version 5.1 Copyright (c) 2000-2022 the FFmpeg developers&#xA;[ffmpeg]   built with Apple clang version 13.1.6 (clang-1316.0.21.2.5)&#xA;[ffmpeg]   configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/5.1 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-neon&#xA;[ffmpeg] &#xA;[ffmpeg]   libavutil      57. 28.100 / 57. 28.100&#xA;[ffmpeg]   libavcodec     59. 37.100 / 59. 37.100&#xA;[ffmpeg]   libavformat    59. 27.100 / 59. 27.100&#xA;[ffmpeg]   libavdevice    59.  7.100 / 59.  7.100&#xA;[ffmpeg]   libavfilter     8. 44.100 /  8. 44.100&#xA;[ffmpeg]   libswscale      6.  7.100 /  6.  7.100&#xA;[ffmpeg]   libswresample   4.  7.100 /  4.  7.100&#xA;[ffmpeg] &#xA;[ffmpeg]   libpostproc    56.  6.100 / 56.  6.100&#xA;[ffmpeg] &#xA;[ffmpeg] [mjpeg @ 0x148605ab0] No JPEG data found in image&#xA;[ffmpeg] &#xA;[ffmpeg] [mjpeg @ 0x14b104080] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)): unspecified size&#xA;[ffmpeg] Consider increasing the value for the &#x27;analyzeduration&#x27; (0) and &#x27;probesize&#x27; (5000000) options&#xA;[ffmpeg] Input #0, mjpeg, from &#x27;********&#x27;:&#xA;[ffmpeg]   Duration: N/A, bitrate: N/A&#xA;[ffmpeg]   Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 tbr, 1200k tbn&#xA;[ffmpeg] &#xA;[ffmpeg] Stream mapping:&#xA;[ffmpeg]   Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))&#xA;[ffmpeg] Press [q] to stop, [?] for help&#xA;[ffmpeg] [mjpeg @ 0x14b004620] No JPEG data found in image&#xA;[ffmpeg] Error while decoding stream #0:0: Invalid data found when processing input&#xA;[ffmpeg] Cannot determine format of input stream 0:0 after EOF&#xA;[ffmpeg] Error marking filters as finished&#xA;[ffmpeg] Conversion failed!&#xA;[ffmpeg] &#xA;[XCUITest] Screen capture process did not start within 5000ms. Continuing anyway&#xA;&#xA;

    &#xA;

    Anyone knows how to fix it ?&#xA;Thanks !

    &#xA;

  • ffmpeg convert RTMP stream to HLS ? RED5

    23 février 2017, par Lewis Day

    Before posting this question ; I followed this post ;
    https://ffmpeg.org/pipermail/ffmpeg-user/2013-November/018558.html I also tried to find solutions to the problem I’m having.

    ffmpeg -v verbose -i "rtmp://domain.com:5080/stream1" -c:v libx264 -c:a aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 6 -hls_wrap 10 -start_number 1 '/home/domain/public_html/hts-streams/stream1.m3u8'

    Okay above is the Ffmpeg command I’m trying to execute to convert my RTMP stream into a .m3u8.

    However the command is failing and I’m being returned this ;

    I have changed my domain to domain.com

     configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-libass --enable-libcdio --enable-libcelt --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
     libavutil      51. 35.100 / 51. 35.100
     libavcodec     53. 61.100 / 53. 61.100
     libavformat    53. 32.100 / 53. 32.100
     libavdevice    53.  4.100 / 53.  4.100
     libavfilter     2. 61.100 /  2. 61.100
     libswscale      2.  1.100 /  2.  1.100
     libswresample   0.  6.100 /  0.  6.100
     libpostproc    52.  0.100 / 52.  0.100
    Parsing...
    Parsed protocol: 0
    Parsed host    : domain.com
    Parsed app     : stream1
    RTMP_Connect1, ... connected, handshaking
    HandShake: Type Answer   : 48
    HandShake: Type mismatch: client sent 3, server answered 72
    RTMP_Connect1, handshake failed.
    rtmp://domain.com:5080/stream1: Operation not permitted

    The command then fails to convert the stream due to a failed handshake. What is causing this ?