Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (94)

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (12353)

  • Android FFmpeg Log showing “ File :// protocol not found”

    1er février 2021, par Kishore Jethava

    I'm trying to overlay Image on video but FFmpeg log showing

    



    


    File ://storage/emulated/0/whatsappCamera/wc1529921459336.jpg : Protocol not
 found

    


    



    I have also looked in below thread but it's not helped me
I'm stuck Please help me !!

    



    Android FFmpeg reports “file protocol not found”

    



    Here is command

    



    String[] commandImage =  new String[]{"-ss", "00:00:30.0", "-t", "00:00:10.0", "-i",path,
"i","File://storage/emulated/0/whatsappCamera/wc1529921459336.jpg", "-filter_complex",
"[0]crop=400:400:0:0[a];[a][1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2",
"-preset", "ultrafast", "-codec:a", "copy",folder.getAbsolutePath()+"/final_video.mp4"};


    



    Full log

    



     ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
 built with gcc 4.8 (GCC)
 configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
 libavutil      55. 17.103 / 55. 17.103
 libavcodec     57. 24.102 / 57. 24.102
 libavformat    57. 25.100 / 57. 25.100
 libavdevice    57.  0.101 / 57.  0.101
 libavfilter     6. 31.100 /  6. 31.100
 libswscale      4.  0.100 /  4.  0.100
 libswresample   2.  0.101 /  2.  0.101
 libpostproc    54.  0.100 / 54.  0.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/whatsappCamera/wc_vid_1529929340679.mp4':
 Metadata:
 major_brand     : mp42
 minor_version   : 0
 compatible_brands: isommp42
 creation_time   : 2018-06-25 12:22:26
 com.android.version: 6.0.1
 Duration: 00:00:05.02, start: 0.000000, bitrate: 17312 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 16947 kb/s, SAR 1:1 DAR 16:9, 30.07 fps, 30 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 rotate          : 90
 creation_time   : 2018-06-25 12:22:26
 handler_name    : VideoHandle
 encoder         : MOTO
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 creation_time   : 2018-06-25 12:22:26
 handler_name    : SoundHandle
 File://storage/emulated/0/whatsappCamera/wc1529921459336.jpg: Protocol not found


    


  • FFmpeg add caption to top of video like memes

    25 juin 2018, par Praveen Tamil

    I’m trying to add a top section to a video like we do for image memes. I’m using drawtext option for that but the text is wrapped in output video.

    Let’s say I have a video and I need to add the caption like this to the whole video. How can i achieve this ?

    Expected output
    Expected video output

    Resulted outputResulted output

    I use below command for above result

    ffmpeg -ss 20 -i  D:\21-03-2018\15271618235b06a3df9d5cb.mp4 -filter_complex "[0:v]pad=iw:ih+50:0:50:color=white, drawtext=text='Meme Top Text will go here but it\\\\\'s a long text with multi line option. Line 1 text \n line 2 text \n line 3 text':fix_bounds=true:fontfile=Arial.ttf:fontsize=30:fontcolor=black:x=(w-tw)/2:y=(50-th)/2" -vframes 1 D:\21-03-2018\output.jpg
  • Motion : Raspian webcam Unable to find a compatible palette format

    25 juin 2018, par mrtumnus

    I am trying to get a Creative Live ! Motion webcam working on a Raspberry Pi 3 B+. fswebcam and motion both give an error, "Unable to find a compatible palette format". ffmpeg, on the other hand, is able to easily capture video from the webcam.

    Device info :

    $ lsusb
    Bus 001 Device 004: ID 041e:4041 Creative Technology, Ltd Webcam Live! Motion`

    $ v4l2-ctl --all
    Driver Info (not using libv4l2):
       Driver name   : sq930x
       Card type     : Creative WebCam Live! Motion
       Bus info      : usb-3f980000.usb-1.2
       Driver version: 4.14.34
       Capabilities  : 0x85200001
               Video Capture
               Read/Write
               Streaming
               Extended Pix Format
               Device Capabilities
       Device Caps   : 0x05200001
               Video Capture
               Read/Write
               Streaming
               Extended Pix Format
    Priority: 2
    Video input : 0 (sq930x: ok)
    Format Video Capture:
       Width/Height      : 640/480
       Pixel Format      : 'RGGB'
       Field             : None
       Bytes per Line    : 640
       Size Image        : 307200
       Colorspace        : sRGB
       Transfer Function : Default
       YCbCr/HSV Encoding: Default
       Quantization      : Default
       Flags             :
    Streaming Parameters Video Capture:
       Frames per second: invalid (0/0)
       Read buffers     : 2

    User Controls

                      exposure (int)    : min=1 max=4095 step=1 default=854 value=854
                          gain (int)    : min=1 max=255 step=1 default=141 value=141

    Log of motion failure to open device :

    $ cat /var/log/motion/motion.log
    [0:motion] [NTC] [ALL] [Jun 24 16:16:42] motion_startup: Using log type (ALL) log level (NTC)
    [0:motion] [NTC] [ENC] [Jun 24 16:16:42] ffmpeg_init: ffmpeg libavcodec version 57.48.101 libavformat version 57.41.100
    [0:motion] [NTC] [ALL] [Jun 24 16:16:42] main: Motion running in setup mode.
    [0:motion] [NTC] [ALL] [Jun 24 16:16:42] main: Camera 0 is from /etc/motion/motion.conf
    [0:motion] [NTC] [ALL] [Jun 24 16:16:42] main: Camera 0 is device: /dev/video0 input -1
    [0:motion] [NTC] [ALL] [Jun 24 16:16:42] main: Stream port 8081
    [0:motion] [NTC] [ALL] [Jun 24 16:16:42] main: Waiting for threads to finish, pid: 12067
    [0:web_control] [NTC] [STR] [Jun 24 16:16:42] http_bindsock: listening on 127.0.0.1 port 8080
    [1:ml1] [NTC] [ALL] [Jun 24 16:16:42] motion_init: Camera 0 started: motion detection Enabled
    [0:web_control] [NTC] [STR] [Jun 24 16:16:42] httpd_run: Started motion-httpd server on port 8080 (auth Disabled)
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] vid_v4lx_start: Using videodevice /dev/video0 and input -1
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_get_capability:
    ------------------------
    cap.driver: "sq930x"
    cap.card: "Creative WebCam Live! Motion"
    cap.bus_info: "usb-3f980000.usb-1.2"
    cap.capabilities=0x85200001
    ------------------------
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_get_capability: - VIDEO_CAPTURE
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_get_capability: - READWRITE
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_get_capability: - STREAMING
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_select_input: name = "sq930x", type 0x00000002, status 00000000
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_select_input: - CAMERA
    [1:ml1] [WRN] [VID] [Jun 24 16:16:42] v4l2_select_input: Device doesn't support VIDIOC_G_STD
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_set_pix_format: Config palette index 17 (YU12) doesn't work.
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_set_pix_format: Supported palettes:
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_set_pix_format: (0) RGGB (8-bit Bayer RGRG/GBGB)
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] v4l2_set_pix_format: 0 - 8-bit Bayer RGRG/GBGB (compressed : 0) (0x42474752)
    [1:ml1] [ERR] [VID] [Jun 24 16:16:42] v4l2_set_pix_format: Unable to find a compatible palette format.
    [1:ml1] [NTC] [VID] [Jun 24 16:16:42] vid_v4lx_start: Using V4L1
    [1:ml1] [NTC] [ALL] [Jun 24 16:16:42] image_ring_resize: Resizing pre_capture buffer to 1 items
    [1:ml1] [ERR] [ALL] [Jun 24 16:16:52] motion_init: Error capturing first image
    [1:ml1] [NTC] [STR] [Jun 24 16:16:52] http_bindsock: listening on 127.0.0.1 port 8081
    [1:ml1] [NTC] [ALL] [Jun 24 16:16:52] motion_init: Started motion-stream server on port 8081 (auth Disabled)
    [1:ml1] [ERR] [ALL] [Jun 24 16:16:52] motion_loop: Video device fatal error - Closing video device
    [1:ml1] [NTC] [VID] [Jun 24 16:16:52] vid_close: Closing video device /dev/video0

    Successful ffmpeg recording :

    $ ffmpeg -i /dev/video0 test.mp4
    ffmpeg version 3.2.10-1~deb9u1+rpt1 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
     configuration: --prefix=/usr --extra-version='1~deb9u1+rpt1' --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx-rpi --enable-mmal --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100
    [video4linux2,v4l2 @ 0x16035c0] Time per frame unknown
    Input #0, video4linux2,v4l2, from '/dev/video0':
     Duration: N/A, start: 2523.746120, bitrate: N/A
       Stream #0:0: Video: rawvideo ([186]RG[8] / 0x84752BA), bayer_rggb8, 640x480, 25.42 tbr, 1000k tbn, 1000k tbc

    Related questions :

    Raspberry Pi webcam unable to open video device

    webcam Unable to find a compatible palette format