Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (49)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (9668)

  • FFMPEG shows bitrate=N/A and doesn't send anything

    20 mai 2019, par Mehul Jain

    I am trying to relay an stream from one rtsp url to another without recoding using this command :

    ffmpeg
     -rtsp_transport tcp
     -fflags nobuffer
     -re
     -i rtsp://xxx.xxx.xxx.xxx:554/[stream_name]
     -vcodec copy
     -an
     -f rtsp rtsp://yyy.yyy.yyy.yyy/[new_stream_name]

    But FFMPEG doesn’t stream anything and stats shows bitrate=N/A

    This is the exact output that i get :

    ffmpeg version 4.1.3-static https://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
     configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libxml2 --enable-libxvid --enable-libzimg
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100
    Input #0, rtsp, from
    'rtsp://xxx.xxx.xxx.xxx:554/[stream_name]':
     Metadata:
       title           : RTSP Session
     Duration: N/A, start: 0.318111, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p(progressive), 944x1080, 22 fps, 22 tbr, 90k tbn, 180k tbc
    Output #0, rtsp, to
    'rtsp://yyy.yyy.yyy.yyy/[new_stream_name]':
     Metadata:
       title           : RTSP Session
       encoder         : Lavf58.20.100
       Stream #0:0: Video: h264 (High), yuv420p(progressive), 944x1080, q=2-31, 22 fps, 22 tbr, 90k tbn, 90k tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help

    frame=  113 fps= 32 q=-1.0 Lsize=N/A time=00:00:06.77 bitrate=N/A speed=1.92x

    Although when i change output stream container to ’flv’ and protocol to ’rtmp’ it works.

    Any help will be appreciated.

  • Compile ffmpeg with x264 shows : ERROR : libx264 not found

    6 mai 2019, par NKam

    Trying to install ffmpeg from source with libx264 package. When I compile ffmpeg can’t find x264 because it is not installed.
    I followed ffmpeg installation guide.

    I tried to install and compile ffmpeg locally and found out in folder ffmpeg_build/include I don’t have x264 files installed.

    To compile libx264 I used :

    cd /ffmpeg_sources &&

    git -C x264 pull 2> /dev/null || git clone —depth 1 https://code.videolan.org/videolan/x264.git &&

    cd x264 &&

    PATH="$HOME/bin :$PATH"

    PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure —prefix="$HOME/ffmpeg_build" —bindir="$HOME/bin" —enable-static —enable-pic &&

    PATH="$HOME/bin :$PATH" make &&

    make install

    I changed url to https://code.videolan.org/videolan/x264.git, because this url https://git.videolan.org/git/x264 from guide not working

    Here how config.log’s last lines look like

    test_cflags -Wmaybe-uninitialized
    test_cc -Wmaybe-uninitialized
    BEGIN /tmp/ffconf.1LD1vklR/test.c
       1   int x;
    END /tmp/ffconf.1LD1vklR/test.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/home/nurs/ffmpeg_build/include -std=c11 -fomit-frame-pointer -fPIC -pthread -I/home/nurs/ffmpeg_build/include -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/opus -I/usr/include/opus -I/usr/include/alsa -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wmaybe-uninitialized -c -o /tmp/ffconf.1LD1vklR/test.o /tmp/ffconf.1LD1vklR/test.c

    I want to know what I missed. I want ffmpeg to find x264, if it is not installed how can I find way to install.

  • Compile ffmpeg with x264 shows : ERROR : libx264 not found

    6 mai 2019, par NKam

    Trying to install ffmpeg from source with libx264 package. When I compile ffmpeg can’t find x264 because it is not installed.
    I followed ffmpeg installation guide.

    I tried to install and compile ffmpeg locally and found out in folder ffmpeg_build/include I don’t have x264 files installed.

    To compile libx264 I used :

    cd /ffmpeg_sources &&

    git -C x264 pull 2> /dev/null || git clone —depth 1 https://code.videolan.org/videolan/x264.git &&

    cd x264 &&

    PATH="$HOME/bin :$PATH"

    PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure —prefix="$HOME/ffmpeg_build" —bindir="$HOME/bin" —enable-static —enable-pic &&

    PATH="$HOME/bin :$PATH" make &&

    make install

    I changed url to https://code.videolan.org/videolan/x264.git, because this url https://git.videolan.org/git/x264 from guide not working

    Here how config.log’s last lines look like

    test_cflags -Wmaybe-uninitialized
    test_cc -Wmaybe-uninitialized
    BEGIN /tmp/ffconf.1LD1vklR/test.c
       1   int x;
    END /tmp/ffconf.1LD1vklR/test.c
    gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/home/nurs/ffmpeg_build/include -std=c11 -fomit-frame-pointer -fPIC -pthread -I/home/nurs/ffmpeg_build/include -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/opus -I/usr/include/opus -I/usr/include/alsa -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wmaybe-uninitialized -c -o /tmp/ffconf.1LD1vklR/test.o /tmp/ffconf.1LD1vklR/test.c

    I want to know what I missed. I want ffmpeg to find x264, if it is not installed how can I find way to install.