Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (47)

  • 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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (6591)

  • building ffmpeg 2.1.8 with MSVC2013 (configure produces errors)

    29 juin 2017, par scaram

    I am trying to build ffmpeg 2.1.8 for a legacy project. I use windows 10, MSVC 2013, MSYS, YASM and this tutorial.

    After

    ./configure --toolchain=msvc --enable-shared

    I see the many errors in config.log, here the first three ones

    1. error : ’test’ declared as an array with a negative size
    2. fatal error C1189 : #error : "unsatisfied condition : defined GLIBC"
    3. fatal error C1083 : File (Include) cannot be opened : "newlib.h" : No such file or directory

    here the more detailed information...

    C:/Users/scaram/AppData/Local/Temp/ffconf.LgAWDJFi.o_preprocessed.c:8859:27: error: 'test' declared as an array with a negative size
    ffconf.LgAWDJFi.o_converted.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(1) : error C2118: Negativer Index
    check_cpp_condition features.h defined __UCLIBC__
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include
       2   #if !(defined __UCLIBC__)
       3   #error "unsatisfied condition: defined __UCLIBC__"
       4   #endif
    END /tmp/ffconf.RncapARb.c
    c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -P -Fi /tmp/ffconf.LgAWDJFi.o /tmp/ffconf.RncapARb.c
    ffconf.RncapARb.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(3) : fatal error C1189: #error :  "unsatisfied condition: defined __UCLIBC__"
    check_cpp_condition features.h defined __GLIBC__
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include
       2   #if !(defined __GLIBC__)
       3   #error "unsatisfied condition: defined __GLIBC__"
       4   #endif
    END /tmp/ffconf.RncapARb.c
    c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -P -Fi /tmp/ffconf.LgAWDJFi.o /tmp/ffconf.RncapARb.c
    ffconf.RncapARb.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(3) : fatal error C1189: #error :  "unsatisfied condition: defined __GLIBC__"
    check_cpp_condition newlib.h defined _NEWLIB_VERSION
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include
       2   #if !(defined _NEWLIB_VERSION)
       3   #error "unsatisfied condition: defined _NEWLIB_VERSION"
       4   #endif
    END /tmp/ffconf.RncapARb.c
    c99wrap cl -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -nologo -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -Dinline=__inline -FIstdlib.h -Dstrtoll=_strtoi64 -P -Fi /tmp/ffconf.LgAWDJFi.o /tmp/ffconf.RncapARb.c
    ffconf.RncapARb.c
    C:/Users/scaram/AppData/Local/Temp/ffconf.RncapARb.c(1) : fatal error C1083: File (Include) cannot be opened: "newlib.h": No such file or directory
    check_header _mingw.h
    check_cpp
    BEGIN /tmp/ffconf.RncapARb.c
       1   #include <_mingw.h>
       2   int x;
    END /tmp/ffconf.RncapARb.c

    What can I do to make it work ?

  • VLC RTSP HTML5 transcoding

    30 mai 2022, par Pierogi

    I'm trying to get audio streaming on an HTML page from an RTSP server.

    


    The RTSP server is the rtsp-simple-server running a command line below.
    
./rtsp-simple-server rtsp-simple-server.yml.
    
The configure file is the default.

    


    The stream player is FFmpeg running a command line below.
    
ffmpeg -re -stream_loop -1 -i myaudio.mp3 -c copy -f rtsp -rtsp_transport tcp rtsp://localhost:8554/mystream

    


    The console log at the time the rtsp-simple-server and the ffmpeg are started is below.

    


    2022/05/29 19:06:38 INF rtsp-simple-server v0.18.4
2022/05/29 19:06:38 INF [RTSP] listener opened on :8554 (TCP), :8000 (UDP/RTP), :8001 (UDP/RTCP)
2022/05/29 19:06:38 INF [RTMP] listener opened on :1935
2022/05/29 19:06:38 INF [HLS] listener opened on :8888
2022/05/29 19:09:16 INF [RTSP] [conn [::1]:62737] opened
2022/05/29 19:09:16 INF [RTSP] [session 271690815] created by [::1]:62737
2022/05/29 19:09:16 INF [RTSP] [session 271690815] is publishing to path 'mystream', 1 track with TCP


    


    And the time the rtsp path(rtsp ://localhost:8554/mystream) is opened by VLC, the contents can be played properly. The additional console log at the time is below.

    


    2022/05/29 19:13:19 INF [RTSP] [conn 127.0.0.1:62780] opened
2022/05/29 19:13:19 INF [RTSP] [session 734209460] created by 127.0.0.1:62780
2022/05/29 19:13:19 INF [RTSP] [session 734209460] is reading from path 'mystream', 1 track with UDP
2022/05/29 19:13:29 INF [RTSP] [session 734209460] destroyed (teared down by 127.0.0.1:62780)
2022/05/29 19:13:29 INF [RTSP] [conn 127.0.0.1:62780] closed (EOF)
2022/05/29 19:13:29 INF [RTSP] [conn 127.0.0.1:62781] opened
2022/05/29 19:13:29 INF [RTSP] [session 445756113] created by 127.0.0.1:62781
2022/05/29 19:13:29 INF [RTSP] [session 445756113] is reading from path 'mystream', 1 track with TCP


    


    However, I open the rtsp streaming from the VLC's "Network" tab like below,
enter image description here

    


    and configure the "Stream output" like below,
enter image description here

    


    and I tried to get this streaming from an HTML page like below,

    


    &#xA;&#xA;  &#xA;    &#xA;    &#xA;  &#xA;  &#xA;    <h1>transcode test</h1>&#xA;    <audio src="http://localhost:9999/mystream" autoplay="autoplay"></audio>&#xA;  &#xA;&#xA;

    &#xA;

    the browser console displays Failed to load resource: the server responded with a status of 404 (Not found). I've already tried other ports(etc. 8080).

    &#xA;

    So, how can I get the rtsp stream from the RTSP server on an HTML page.&#xA;Any idea ?

    &#xA;

    My environment.

    &#xA;

      &#xA;
    • Browser : Microsoft edge
    • &#xA;

    • OS : MacOS 11.6.5
    • &#xA;

    • rtsp-simple-server : 0.18.4
    • &#xA;

    • FFmpeg : 5.0.1
    • &#xA;

    • VLC : 3.0.17.3
    • &#xA;

    &#xA;

  • Flutter FFMPEG : Error setting profile baseline

    9 avril 2021, par Raj Dhakad

    Flutter-ffmpeg unable to set profile parameter. (I need to use profile so the rendered video can be played on WhatsApp).

    &#xA;

    I am converting.bmp images into a mp4 video. Other I have tested other praramets and the work great it's only -profile:v which seems to have some problem.

    &#xA;

    Everything works fine unless I use -profile:v baseline.

    &#xA;

    void _runFFmpeg() async {&#xA;    var dir = await getApplicationDocumentsDirectory();&#xA;    var output = await getExternalStorageDirectory();&#xA;    String videoSize = &#x27;${ImageWidth}x$ImageSize&#x27;;&#xA;    print("${ImageWidth}x$ImageSize");&#xA;    var arguments = [&#xA;      "-y", // replace output file if it already exists&#xA;      "-framerate", "30", // framrate&#xA;      "-video_size", videoSize,&#xA;      "-pixel_format", "yuv420p",&#xA;      "-i", "${output.path}/frame_%d.bmp",  &#xA;      "-profile:v", "baseline",&#xA;      "-level", "3.0",&#xA;      "${output.path}/test.mp4"&#xA;    ];&#xA;    &#xA;    _flutterFFmpeg&#xA;        .executeWithArguments(arguments)&#xA;        .then((rc) => print("FFmpeg process exited with rc $rc"));&#xA; &#xA;&#xA;    print("Done Rendering");&#xA;  }&#xA;

    &#xA;

    Logs

    &#xA;

    D/flutter-ffmpeg(26672): Running FFmpeg with arguments: [-y, -framerate, 30, -video_size, 720x600, -pixel_format, yuv420p, -i, /storage/emulated/0/Android/data/com.example.test/files/frame_%d.bmp, -profile:v, baseline, -level, 3.0, /storage/emulated/0/Android/data/com.example.test/files/test.mp4].&#xA;I/mobile-ffmpeg(26672): ffmpeg version v4.4-dev-416&#xA;I/mobile-ffmpeg(26672):  Copyright (c) 2000-2020 the FFmpeg developers&#xA;I/mobile-ffmpeg(26672):&#xA;I/mobile-ffmpeg(26672):   built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)&#xA;I/mobile-ffmpeg(26672):   configuration: --cross-prefix=aarch64-linux-android- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android24-clang --cxx=aarch64-linux-android24-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm64/cpu-features/lib -lndk_compat&#x27; --target-os=android --enable-neon --enable-asm --enable-inline-asm --enable-cross-compile --enable-pic --enable-jni --enable-optimizations --enable-swscale --enable-shared --enable-v4l2-m2m --disable-outdev=fbdev --disable-indev=fbdev --enable-small --disable-openssl --disable-xmm-clobber-test --disable-debug --enable-lto --disable-neon-clobber-test --disable-programs --disable-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --disable-sndio --disable-schannel --disable-securetransport --disable-xlib --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --disable-videotoolbox --disable-audiotoolbox --disable-appkit --disable-alsa --disable-cuda --disable-cuvid --disable-nvenc --disable-vaapi --disable-vdpau --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-gmp --enable-gnutls --enable-libmp3lame --enable-libass --enable-iconv --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxml2 --enable-libopencore-amrnb --enable-libshine --enable-libspeex --enable-libwavpack --enable-libkvazaar --enable-libx264 --enable-gpl --enable-libxvid --enable-gpl --enable-libx265 --enable-gpl --enable-libvidstab --enable-gpl --enable-libilbc --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libaom --enable-libtwolame --disable-sdl2 --enable-libvo-amrwbenc --enable-zlib --enable-mediacodec&#xA;I/mobile-ffmpeg(26672):   libavutil      56. 55.100 / 56. 55.100&#xA;I/mobile-ffmpeg(26672):   libavcodec     58. 96.100 / 58. 96.100&#xA;I/mobile-ffmpeg(26672):   libavformat    58. 48.100 / 58. 48.100&#xA;I/mobile-ffmpeg(26672):   libavdevice    58. 11.101 / 58. 11.101&#xA;I/mobile-ffmpeg(26672):   libavfilter     7. 87.100 /  7. 87.100&#xA;I/mobile-ffmpeg(26672):   libswscale      5.  8.100 /  5.  8.100&#xA;I/mobile-ffmpeg(26672):   libswresample   3.  8.100 /  3.  8.100&#xA;I/mobile-ffmpeg(26672): Input #0, image2, from &#x27;/storage/emulated/0/Android/data/com.example.test/files/frame_%d.bmp&#x27;:&#xA;I/mobile-ffmpeg(26672):   Duration:&#xA;I/mobile-ffmpeg(26672): 00:00:06.03&#xA;I/mobile-ffmpeg(26672): , start:&#xA;I/mobile-ffmpeg(26672): 0.000000&#xA;I/mobile-ffmpeg(26672): , bitrate:&#xA;I/mobile-ffmpeg(26672): N/A&#xA;I/mobile-ffmpeg(26672):&#xA;I/mobile-ffmpeg(26672):     Stream #0:0&#xA;I/mobile-ffmpeg(26672): : Video: bmp, yuv420p, 720x600&#xA;I/mobile-ffmpeg(26672): ,&#xA;I/mobile-ffmpeg(26672): 30 fps,&#xA;I/mobile-ffmpeg(26672): 30 tbr,&#xA;I/mobile-ffmpeg(26672): 30 tbn,&#xA;I/mobile-ffmpeg(26672): 30 tbc&#xA;I/mobile-ffmpeg(26672):&#xA;I/mobile-ffmpeg(26672): Stream mapping:&#xA;I/mobile-ffmpeg(26672):   Stream #0:0 -> #0:0&#xA;I/mobile-ffmpeg(26672):  (bmp (native) -> h264 (libx264))&#xA;I/mobile-ffmpeg(26672):&#xA;I/mobile-ffmpeg(26672): Press [q] to stop, [?] for help&#xA;W/mobile-ffmpeg(26672): [graph 0 input from stream 0:0 @ 0x7280948480] sws_param option is deprecated and ignored&#xA;E/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] Error setting profile baseline.&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100] Possible profiles:&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]  baseline&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]  main&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]  high&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]  high10&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]  high422&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]  high444&#xA;I/mobile-ffmpeg(26672): [libx264 @ 0x7291ba8100]&#xA;E/mobile-ffmpeg(26672): Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;I/mobile-ffmpeg(26672): Conversion failed!&#xA;D/flutter-ffmpeg(26672): FFmpeg exited with rc: 1&#xA;E/UIFirst (26672): failed to open /proc/26672/stuck_info, No such file or directory&#xA;I/chatty  (26672): uid=12724(com.example.test) identical 2 lines&#xA;3&#xA;E/UIFirst (26672): failed to open /proc/26672/stuck_info, No such file or directory&#xA;I/chatty  (26672): uid=12724(com.example.test) identical 1 line&#xA;E/UIFirst (26672): failed to open /proc/26672/stuck_info, No such file or directory&#xA;

    &#xA;

    Flutter doctor -v

    &#xA;

    [√] Flutter (Channel stable, 2.0.1, on Microsoft Windows [Version 10.0.18362.836], locale en-US)&#xA;    • Flutter version 2.0.1 at C:\Users\Dell\flutter&#xA;    • Framework revision c5a4b4029c (5 weeks ago), 2021-03-04 09:47:48 -0800&#xA;    • Engine revision 40441def69&#xA;    • Dart version 2.12.0&#xA;[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)&#xA;    • Android SDK at C:\Users\Dell\AppData\Local\Android\sdk&#xA;    • Platform android-30, build-tools 29.0.3&#xA;    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java&#xA;    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)&#xA;    • All Android licenses accepted.&#xA;[√] Chrome - develop for the web&#xA;    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe&#xA;[√] Android Studio (version 3.6)&#xA;    • Android Studio at C:\Program Files\Android\Android Studio&#xA;    • Flutter plugin version 45.1.1&#xA;    • Dart plugin version 192.7761&#xA;    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)&#xA;[√] VS Code (version 1.55.0)&#xA;    • VS Code at C:\Users\Dell\AppData\Local\Programs\Microsoft VS Code&#xA;    • Flutter extension version 3.21.0&#xA;[√] Connected device (2 available)&#xA;    • RMX1801 (mobile) • 8843cc23 • android-arm64  • Android 10 (API 29)&#xA;    • Chrome (web)     • chrome   • web-javascript • Google Chrome 89.0.4389.114&#xA;• No issues found!&#xA;

    &#xA;

    I also have tried changing package to min-gpl, https-gpl and video but no change.

    &#xA;