Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (69)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (13919)

  • How can I stream mjpeg file as rtsp

    24 août 2013, par Ilya Yevlampiev

    We have an mjpeg video, obtained from the webcam and stored into *.avi file, still encoded as mjpeg.

    We need to restream this file as rtsp (and stil preserve the mjpeg there, i.e. no decoding). The goal is to emulate the webcam this video was obtained from for the software that processes the video. The file can be open with vlc/ffplay with no problems. The ffmpeg behaves like it is streaming it, however, ffplay/vlc can't open this stream.

    We tried to stream if with gstreamer.

    1) we fount no free rtsp sink element for gstreamer pipeline. So, is there a free analogue for rtspsink to launch this pipeline with gst-launch ? we need and only cast, so we don't need so advanced element as rtspsink is.

    2) we also tried to build own simple rtsp server as described in http://weeklybuild.com/2013/01/creating-an-rtsp-stream-with-gstreamer/

    replacing videotestsrc with filesrc ; but what kind of elements we should use there ? usage of an only filesrc doesn't help ; we get the same problem as if we stream with ffmpeg. But what kind of lements we need there, if we dont' wan to decode/encode it, just to stream the file (to reproduce the thing what the webcam actually does).

    $ ffplay rtsp://127.0.0.1:8554/test -loglevel debug
    avplay version 0.8.5-6:0.8.5-1, Copyright (c) 2003-2012 the Libav developers
    built on Jan 13 2013 12:05:48 with gcc 4.7.2
    configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.5-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    avutil      configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.4-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    avcodec     configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.4-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    avformat    configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.4-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    swscale     configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.4-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    postproc    configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.4-1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-            postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libx264 --enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
    libavutil    51. 22. 1 / 51. 22. 1
    libavcodec   53. 35. 0 / 53. 35. 0
    libavformat  53. 21. 1 / 53. 21. 0
    libavdevice  53.  2. 0 / 53.  2. 0
    libavfilter   2. 15. 0 /  2. 15. 0
    libswscale    2.  1. 0 /  2.  1. 0
    libpostproc  52.  0. 0 / 52.  0. 0
    [rtsp @ 0x7f558c0008c0] method DESCRIBE failed: 503 Service Unavailable
    [rtsp @ 0x7f558c0008c0] CSeq: 2
    Server: GStreamer RTSP server
    Date: Thu, 22 Aug 2013 07:49:30 GMT

    rtsp://127.0.0.1:8554/test: Invalid data found when processing input

    And everything is okay when I try gstreamer server built as in example, i.e. using videotestsrc

  • convert mp4 to m4a using ffmpeg in android

    30 novembre 2017, par abdulrahman

    I’m trying to add the ability to compress video files in my project. However, I tried to extract the Audio from the original video file using FFMPEG Library before compressing it. The command line was

    -i video.mp4 -c:a aac -b:a 160k target.m4a

    After the encoding was done I noticed that the output is still a video file but with a difference in the size. This brought two questions to me and I would like to know their answers.

    1 - can the ".m4a" file be considered as a video file ?

    2 - can I use this command line to compress video files ?

    Best regards

    Log after executing the command

    <p>

    success load
    started encoding
    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/tempVid.mp4':
      Metadata:
        major_brand     : 3gp4
        minor_version   : 0
        compatible_brands: isom3gp4
        creation_time   : 2017-11-30 03:22:41
        com.android.version: 6.0.1
      Duration: 00:00:19.80, start: 0.000000, bitrate: 4246 kb/s
        Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 176x144, 4112 kb/s, SAR 1:1 DAR 11:9, 29.94 fps, 29.97 tbr, 90k tbn, 180k tbc (default)
        Metadata:
          rotate          : 270
          creation_time   : 2017-11-30 03:22:41
          handler_name    : VideoHandle
        Side data:
          displaymatrix: rotation of 90.00 degrees
        Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s (default)
        Metadata:
          creation_time   : 2017-11-30 03:22:41
         handler_name    : SoundHandle
    [libx264 @ 0xb5bc4400] using SAR=1/1
    [libx264 @ 0xb5bc4400] using cpu capabilities: none!
    [libx264 @ 0xb5bc4400] profile High, level 1.1
    [libx264 @ 0xb5bc4400] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=5 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [aac @ 0xb5bc4c00] Too many bits 20480.000000 > 6144 per frame requested, clamping to max
    Output #0, ipod, to '/storage/emulated/0/target.m4a':
      Metadata:
        major_brand     : 3gp4
        minor_version   : 0
        compatible_brands: isom3gp4
        com.android.version: 6.0.1
        encoder         : Lavf57.25.100
        Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 144x176 [SAR 1:1 DAR 9:11], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
        Metadata:
          handler_name    : VideoHandle
         creation_time   : 2017-11-30 03:22:41
          encoder         : Lavc57.24.102 libx264
       Side data:
          unknown side data type 10 (24 bytes)
        Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s (default)
        Metadata:
          creation_time   : 2017-11-30 03:22:41
          handler_name    : SoundHandle
          encoder         : Lavc57.24.102 aac
     Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
      Stream #0:1 -> #0:1 (amr_nb (amrnb) -> aac (native))
    Press [q] to stop, [?] for help
    frame=   47 fps=0.0 q=0.0 size=       0kB time=00:00:00.76 bitrate=   0.5kbits/s speed=1.53x    
    frame=   69 fps= 68 q=29.0 size=      12kB time=00:00:01.79 bitrate=  56.3kbits/s speed=1.77x    
    frame=   88 fps= 57 q=29.0 size=      22kB time=00:00:02.30 bitrate=  76.5kbits/s speed=1.49x    
    frame=  110 fps= 54 q=29.0 size=      31kB time=00:00:02.81 bitrate=  89.9kbits/s speed=1.37x    
    frame=  118 fps= 45 q=29.0 size=      34kB time=00:00:03.84 bitrate=  71.5kbits/s speed=1.47x    
    frame=  144 fps= 46 q=29.0 size=      44kB time=00:00:03.84 bitrate=  93.7kbits/s speed=1.23x    
    frame=  150 fps= 41 q=29.0 size=      48kB time=00:00:04.86 bitrate=  80.6kbits/s speed=1.34x    
    frame=  178 fps= 42 q=29.0 size=      62kB time=00:00:04.86 bitrate= 105.2kbits/s speed=1.16x    
    frame=  185 fps= 39 q=29.0 size=      67kB time=00:00:05.88 bitrate=  93.4kbits/s speed=1.25x    
    frame=  206 fps= 40 q=29.0 size=      78kB time=00:00:05.88 bitrate= 108.5kbits/s speed=1.13x    
    frame=  214 fps= 37 q=29.0 size=      84kB time=00:00:06.91 bitrate=  99.8kbits/s speed=1.21x    
    frame=  238 fps= 38 q=29.0 size=     100kB time=00:00:06.91 bitrate= 118.0kbits/s speed=1.11x    
    frame=  249 fps= 37 q=29.0 size=     106kB time=00:00:07.93 bitrate= 109.3kbits/s speed=1.18x    
    frame=  268 fps= 37 q=29.0 size=     119kB time=00:00:08.19 bitrate= 119.1kbits/s speed=1.13x    
    frame=  279 fps= 36 q=29.0 size=     127kB time=00:00:08.96 bitrate= 116.4kbits/s speed=1.16x    
    frame=  298 fps= 36 q=29.0 size=     140kB time=00:00:09.21 bitrate= 124.4kbits/s speed=1.11x    
    frame=  308 fps= 35 q=29.0 size=     149kB time=00:00:09.98 bitrate= 122.3kbits/s speed=1.14x    
    frame=  328 fps= 35 q=29.0 size=     162kB time=00:00:10.24 bitrate= 129.5kbits/s speed= 1.1x    
    frame=  343 fps= 35 q=29.0 size=     172kB time=00:00:10.88 bitrate= 129.2kbits/s speed=1.11x    
    frame=  358 fps= 35 q=29.0 size=     180kB time=00:00:11.90 bitrate= 124.0kbits/s speed=1.15x    
    frame=  387 fps= 36 q=29.0 size=     195kB time=00:00:11.90 bitrate= 134.1kbits/s speed=1.09x    
    frame=  398 fps= 35 q=29.0 size=     202kB time=00:00:12.92 bitrate= 127.9kbits/s speed=1.14x    
    frame=  418 fps= 35 q=29.0 size=     213kB time=00:00:13.31 bitrate= 131.3kbits/s speed=1.12x    
    frame=  432 fps= 35 q=29.0 size=     222kB time=00:00:13.95 bitrate= 130.3kbits/s speed=1.13x    
    frame=  448 fps= 35 q=29.0 size=     230kB time=00:00:14.59 bitrate= 129.0kbits/s speed=1.13x    
    frame=  469 fps= 35 q=29.0 size=     242kB time=00:00:14.97 bitrate= 132.5kbits/s speed=1.11x    
    frame=  478 fps= 34 q=29.0 size=     247kB time=00:00:15.87 bitrate= 127.6kbits/s speed=1.14x    
    frame=  509 fps= 35 q=29.0 size=     259kB time=00:00:16.00 bitrate= 132.8kbits/s dup=1 drop=0 speed=1.11x    
    frame=  525 fps= 35 q=29.0 size=     266kB time=00:00:17.02 bitrate= 127.8kbits/s dup=1 drop=0 speed=1.13x    
    frame=  539 fps= 35 q=29.0 size=     271kB time=00:00:17.79 bitrate= 124.5kbits/s dup=1 drop=0 speed=1.15x    
    frame=  564 fps= 35 q=29.0 size=     285kB time=00:00:18.04 bitrate= 129.4kbits/s dup=1 drop=0 speed=1.13x    
    frame=  574 fps= 35 q=29.0 size=     290kB time=00:00:19.07 bitrate= 124.8kbits/s dup=1 drop=0 speed=1.15x    
    frame=  590 fps= 35 q=29.0 size=     297kB time=00:00:19.45 bitrate= 125.2kbits/s dup=1 drop=0 speed=1.14x    
    frame=  594 fps= 33 q=-1.0 Lsize=     328kB time=00:00:19.84 bitrate= 135.2kbits/s dup=1 drop=0 speed= 1.1x    
    video:246kB audio:70kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.381132%
    [libx264 @ 0xb5bc4400] frame I:3     Avg QP:22.61  size:  4103
    [libx264 @ 0xb5bc4400] frame P:230   Avg QP:25.04  size:   851
    [libx264 @ 0xb5bc4400] frame B:361   Avg QP:28.82  size:   121
    [libx264 @ 0xb5bc4400] consecutive B-frames:  1.2% 40.7% 37.9% 20.2%
    [libx264 @ 0xb5bc4400] mb I  I16..4:  4.0% 49.8% 46.1%
    [libx264 @ 0xb5bc4400] mb P  I16..4:  0.1%  0.3%  0.2%  P16..4: 52.0% 27.1% 15.1%  0.0%  0.0%    skip: 5.3%
    [libx264 @ 0xb5bc4400] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 43.4%  2.1%  0.3%  direct: 1.7%  skip:52.5%  L0:39.3% L1:55.4% BI: 5.3%
    [libx264 @ 0xb5bc4400] 8x8 transform intra:51.7% inter:57.7%
    [libx264 @ 0xb5bc4400] coded y,uvDC,uvAC intra: 81.9% 93.5% 80.4% inter: 11.9% 40.0% 17.4%
    [libx264 @ 0xb5bc4400] i16 v,h,dc,p: 11% 25%  7% 57%
    [libx264 @ 0xb5bc4400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7% 20% 16%  6% 11%  5% 20%  6%  9%
    [libx264 @ 0xb5bc4400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 22% 14%  5% 10%  7% 19%  5%  7%
    [libx264 @ 0xb5bc4400] i8c dc,h,v,p: 61% 18% 10% 10%
    [libx264 @ 0xb5bc4400] Weighted P-Frames: Y:24.3% UV:22.2%
    [libx264 @ 0xb5bc4400] ref P L0: 57.6% 14.3% 16.8%  8.9%  2.3%
    [libx264 @ 0xb5bc4400] ref B L0: 76.3% 19.1%  4.6%
    [libx264 @ 0xb5bc4400] ref B L1: 91.9%  8.1%
    [libx264 @ 0xb5bc4400] kb/s:101.58
    [aac @ 0xb5bc4c00] Qavg: 64130.668
    success ffmpeg
    end encoding
    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/tempVid.mp4':
                                                               Metadata:
                                                                 major_brand     : 3gp4
                                                                 minor_version   : 0
                                                                 compatible_brands: isom3gp4
                                                                 creation_time   : 2017-11-30 03:22:41
                                                                 com.android.version: 6.0.1
                                                               Duration: 00:00:19.80, start: 0.000000, bitrate: 4246 kb/s
                                                                 Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 176x144, 4112 kb/s, SAR 1:1 DAR 11:9, 29.94 fps, 29.97 tbr, 90k tbn, 180k tbc (default)
                                                                 Metadata:
                                                                   rotate          : 270
                                                                   creation_time   : 2017-11-30 03:22:41
                                                                   handler_name    : VideoHandle
                                                                 Side data:
                                                                   displaymatrix: rotation of 90.00 degrees
                                                                 Stream #0:1(eng): Audio: amr_nb (samr / 0x726D6173), 8000 Hz, mono, flt, 12 kb/s (default)
                                                                 Metadata:
                                                                   creation_time   : 2017-11-30 03:22:41
                                                                   handler_name    : SoundHandle
                                                             [libx264 @ 0xb5bc4400] using SAR=1/1
                                                             [libx264 @ 0xb5bc4400] using cpu capabilities: none!
                                                             [libx264 @ 0xb5bc4400] profile High, level 1.1
                                                             [libx264 @ 0xb5bc4400] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=5 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
                                                             [aac @ 0xb5bc4c00] Too many bits 20480.000000 > 6144 per frame requested, clamping to max
                                                             Output #0, ipod, to '/storage/emulated/0/target.m4a':
                                                               Metadata:
                                                                 major_brand     : 3gp4
                                                                 minor_version   : 0
                                                                 compatible_brands: isom3gp4
                                                                 com.android.version: 6.0.1
                                                                 encoder         : Lavf57.25.100
                                                                 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 144x176 [SAR 1:1 DAR 9:11], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
                                                                 Metadata:
                                                                   handler_name    : VideoHandle
                                                                   creation_time   : 2017-11-30 03:22:41
                                                                   encoder         : Lavc57.24.102 libx264
                                                                 Side data:
                                                                   unknown side data type 10 (24 bytes)
                                                                 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 8000 Hz, mono, fltp, 48 kb/s (default)
                                                                 Metadata:
                                                                   creation_time   : 2017-11-30 03:22:41
                                                                   handler_name    : SoundHandle
                                                                   encoder         : Lavc57.24.102 aac
                                                             Stream mapping:
                                                               Stream #0:0 -> #0:0 (h26

    </p>
  • ffmpeg - zero file size for specific videos ?

    27 mai 2022, par Annabelle

    I am trying the below command for the video conversion

    &#xA;

    ffmpeg -i " &#x2B; video_file_path &#x2B; " -max_muxing_queue_size 21512512 -vf scale=iw*2:ih*2 -preset slow -crf 28 " &#x2B; path_to_store_generated_width

    &#xA;

    This is error log

    &#xA;

    error: Command failed: ffmpeg -i ../uploads/feeds/feeds_e8dc4081b13434b45189a720b77b68181653655030206.mp4 -max_muxing_queue_size21512512 -vf scale=iw*2:ih*2 -preset slow -crf 28 ../uploads/feeds/feed_video_e8dc4081b13434b45189a720b77b68181653655038559.mp4&#xA;ffmpeg version 3.4.8 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)&#xA;  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=&#x27;-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic&#x27; --extra-ldflags=&#x27;-Wl,-z,relro &#x27; --extra-cflags=&#x27; &#x27; --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl--enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect&#xA;&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;../uploads/feeds/feeds_e8dc4081b13434b45189a720b77b68181653655030206.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42isom&#xA;  Duration: 00:00:20.20, start: 0.000000, bitrate: 807 kb/s&#xA;    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt470bg/bt470bg/smpte170m), 640x1138, 746 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[libx264 @ 0xd61bc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2&#xA;[libx264 @ 0xd61bc0] profile High, level 5.0&#xA;[libx264 @ 0xd61bc0] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=2 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=48 lookahead_threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=crf mbtree=1 crf=28.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00&#xA;Output #0, mp4, to &#x27;../uploads/feeds/feed_video_e8dc4081b13434b45189a720b77b68181653655038559.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42isom&#xA;    encoder         : Lavf57.83.100&#xA;    Stream #0:0(und): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 1280x2276, q=-1--1, 30 fps, 15360 tbn, 30 tbc (default)&#xA;    Metadata:&#xA;      encoder         : Lavc57.107.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)&#xA;    Metadata:&#xA;      encoder         : Lavc57.107.100 aac&#xA;x264 [error]: malloc of size 9600192 failedime=00:00:02.20 bitrate=   0.0kbits/s dup=2 drop=0 speed=1.71x    1.84x&#xA;Video encoding failed&#xA;[aac @ 0xcdc7e0] Qavg: 3044.613&#xA;[aac @ 0xcdc7e0] 2 frames left in the queue on closing&#xA;Conversion failed!&#xA;

    &#xA;

    Getting this error for specific videos tried adding crf 0/22 but couldn't work through&#xA;I am not familiar with FFmpeg and its usage&#xA;Suggestion would be helpful&#xA;Thank you !

    &#xA;