Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (51)

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

  • compiling FFmpeg on AIX

    3 mars 2017, par epitaxial

    I’m a hardware guy that likes to play around with different architectures and operating systems. Anyhow I’m trying to compile FFmpeg on AIX 7.1 using gcc but having some issues. I grabbed the latest code from git and while it does compile with a few warnings FFmpeg does not work. From my limited understanding it looks like the code is using 64 bit integers but was compiled as 32 bit ? Maybe someone can shed some light on this. Here is what happens when executing FFmpeg

    ./ffmpeg -i rtsp://192.168.1.9:554 -an -c copy -t 1:00:00 test.mp4
    ffmpeg version 3.2.git Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 4.8.5 (GCC)
    configuration: --enable-nonfree
    libavutil      55. 47.100 / 55. 47.100
    libavcodec     57. 81.100 / 57. 81.100
    libavformat    57. 66.102 / 57. 66.102
    libavdevice    57.  2.100 / 57.  2.100
    libavfilter     6. 74.100 /  6. 74.100
    libswscale      4.  3.101 /  4.  3.101
    libswresample   2.  4.100 /  2.  4.100
    [NULL @ 20932ac0] Value 0.000000 for parameter 'avioflags' is not a valid    set of 32bit integer flags
    [NULL @ 20932ac0] Value 2097664.000000 for parameter 'fflags' is not a valid set of 32bit integer flags
    [NULL @ 20932ac0] Value 0.000000 for parameter 'fdebug' is not a valid set of 32bit integer flags
    [NULL @ 20932ac0] Value 1.000000 for parameter 'f_err_detect' is not a valid set of 32bit integer flags
    [NULL @ 20932ac0] Value 1.000000 for parameter 'err_detect' is not a valid set of 32bit integer flags
    [RTSP demuxer @ 20933220] Value 0.000000 for parameter 'rtpflags' is not a valid set of 32bit integer flags
    [RTSP demuxer @ 20933220] Value 0.000000 for parameter 'rtsp_transport' is not a valid set of 32bit integer flags
    [RTSP demuxer @ 20933220] Value 0.000000 for parameter 'rtsp_flags' is not a valid set of 32bit integer flags
    [RTSP demuxer @ 20933220] Value 15.000000 for parameter 'allowed_media_types' is not a valid set of 32bit integer flags
    [rtsp @ 20932ac0] Unable to open RTSP for listening
    rtsp://192.168.1.9:554: Can't assign requested address

    Is my reasoning correct ? Thanks.

  • thread_queue_size during Live Streaming from ffmpeg

    11 mars 2017, par user2967920

    I’m trying to stream a webcam stream froma RaspberryPi-B to Youtube. The webcam used is a Logitech C920. If I use the h264 stream from the camera itself, it works fine using

    ffmpeg -f alsa -i hw:1,0 -f v4l2 -vcodec h264 -video_size 854x480 -r 25 -i /dev/video0 -acodec aac -b:a 64000 -ar 48000 -bufsize 64k -b:v 1200k -bufsize 1024k  -maxrate 1800k -vcodec copy -g 60 -r 30 -f flv
    rtmp://a.rtmp.youtube.com/live2/stream_here

    So, for this to work with other non h264 cameras like the Pi Cam or any other cheaper webcam, it needs to work with the raw stream and get converted to h264 using libx264. This is the whole point of using the Pi. Hence the second command set.

    ffmpeg -f alsa -ac 2 -i hw:1,0 -f v4l2 -i /dev/video0 -framerate 25 -video_size 1280x720  -c:v libx264 -preset veryfast -maxrate 1984k -bufsize 3968k -vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/stream_name

    So this results in the following issue.

    ffmpeg version git-2017-03-03-68ee800 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration: --arch=armhf --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-lasound --enable-pthreads
     libavutil      55. 47.101 / 55. 47.101
     libavcodec     57. 82.100 / 57. 82.100
     libavformat    57. 66.103 / 57. 66.103
     libavdevice    57.  3.100 / 57.  3.100
     libavfilter     6. 74.100 /  6. 74.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, alsa, from 'hw:1,0':
     Duration: N/A, start: 1488650966.446293, bitrate: 1024 kb/s
       Stream #0:0: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Input #1, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 2227.042654, bitrate: 159252 kb/s
       Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 864x480, 159252 kb/s, 24 fps, 24 tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
     Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    [video4linux2,v4l2 @ 0x2e42310] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
    Illegal instruction
    pi@raspberrypi:~ $

    If I add

    thread_queue_size 512

    I end up with

    pi@raspberrypi:~ $ ffmpeg -f alsa -ac 2 -i hw:1,0 -f v4l2 -thread_queue_size 512 -i /dev/video0 -framerate 25 -video_size 1280x720  -c:v libx264 -preset veryfast -maxrate 1984k -bufsize 3968k -vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/zqg7-98wy-60b6-f2yx
    ffmpeg version git-2017-03-03-68ee800 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.9.2 (Raspbian 4.9.2-10)
     configuration: --arch=armhf --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-lasound --enable-pthreads
     libavutil      55. 47.101 / 55. 47.101
     libavcodec     57. 82.100 / 57. 82.100
     libavformat    57. 66.103 / 57. 66.103
     libavdevice    57.  3.100 / 57.  3.100
     libavfilter     6. 74.100 /  6. 74.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Guessed Channel Layout for Input Stream #0.0 : stereo
    Input #0, alsa, from 'hw:1,0':
     Duration: N/A, start: 1488651430.836193, bitrate: 1024 kb/s
       Stream #0:0: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s
    Input #1, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 2691.407641, bitrate: 159252 kb/s
       Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 864x480, 159252 kb/s, 24 fps, 24 tbr, 1000k tbn, 1000k tbc
    Stream mapping:
     Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
     Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    Illegal instruction
    pi@raspberrypi:~ $

    Where exactly does

    thread_queue_size

    Belong ?

    Notes :
    ffmpeg was built using this reference
    –extra-libs=-lasound & —enable=pthreads was used

  • FFMPEG input options in rust

    31 juillet 2020, par Paul_ghost

    I want to decode rtsp stream like that :ffplay -max_delay 50000 "rtsp://name:password@1.2.3.4:port". So I tried use this crate - https://crates.io/crates/ffmpeg-next , but I succeeded in only non-option receiving data with function input() .
Well, I don't understand how to use that option or other options.
Should I use other crate or something else ?