Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (99)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (10134)

  • ffmpeg error "Could not write header for output file #0 (incorrect codec parameters ?) : Operation not permitted Error initializing output stream 0:0"

    27 juillet 2022, par DevSharma

    I am running FFmpeg in my app and specifically in "Android 11" I am getting this error from several users

    


    I have researched a lot but no solution found.

    


    I thought there is something wrong with the codec parameter that is being passed since it is saying "incorrect codec parameters" but most of the parameters looks good.

    


    also verified if all the required file permission are granted and those are good too

    


    now I m unable to find the problem,

    


    please help, thanks

    


    Command:&#xA;/data/app/~~hyrHVcslcfdQcguX0rauRA==/<apppackage>-QbDCul7FXU4tVniSDeP1Sg==/lib/arm64/libffmpeg.so -i /storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Video/VID-20220414-WA0010.mp4 -c:v libx264 -crf 23 -map 0:V -map 0:a? -map 0:s? -c:s mov_text -segment_time 26 -g 26 -sc_threshold 0 -force_key_frames expr:gte(t,n_forced*26) -reset_timestamps 1 -f segment -preset ultrafast /storage/emulated/0/Movies/splitVideoFolder/split_video%03d.mp4&#xA;&#xA;Error:&#xA;ffmpeg version v4.4-dev-416 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  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;  configuration: --cross-prefix=aarch64-linux-android- --sysroot=/Users/admin/AndroidStudioProjects/android-ndk-r21d/toolchains/llvm/prebuilt/darwin-x86_64/sysroot --prefix=/Users/admin/AndroidStudioProjects/Tanner/mobile-ffmpeg/prebuilt/android-arm64/ffmpeg --pkg-config=/usr/local/bin/pkg-config --enable-version3 --arch=aarch64 --cpu=armv8-a --cc=aarch64-linux-android21-clang --cxx=aarch64-linux-android21-clang&#x2B;&#x2B; --extra-libs=&#x27;-L/Users/admin/AndroidStudioProjects/Tanner/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 --disable-shared --disable-ffplay --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-postproc --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-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-libmp3lame --enable-libass --enable-iconv --enable-libx264 --enable-gpl --disable-sdl2 --enable-zlib --enable-mediacodec&#xA;  libavutil      56. 55.100 / 56. 55.100&#xA;  libavcodec     58. 96.100 / 58. 96.100&#xA;  libavformat    58. 48.100 / 58. 48.100&#xA;  libavdevice    58. 11.101 / 58. 11.101&#xA;  libavfilter     7. 87.100 /  7. 87.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp Video/VID-20220414-WA0010.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42isom&#xA;  Duration: 00:01:30.53, start: 0.000000, bitrate: 671 kb/s&#xA;    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m), 576x1024 [SAR 1:1 DAR 9:16], 539 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)&#xA;    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 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 @ 0xb400007727c64800] using SAR=1/1&#xA;[libx264 @ 0xb400007727c64800] using cpu capabilities: ARMv8 NEON&#xA;[libx264 @ 0xb400007727c64800] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit&#xA;[libx264 @ 0xb400007727c64800] 264 - core 160 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=26 keyint_min=2 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0&#xA;[segment @ 0xb400007727c28800] Opening &#x27;/storage/emulated/0/Movies/splitVideoFolder/split_video000.mp4&#x27; for writing&#xA;[segment @ 0xb400007727c28800] Failed to open segment &#x27;/storage/emulated/0/Movies/splitVideoFolder/split_video000.mp4&#x27;&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted&#xA;Error initializing output stream 0:0 --&#xA;[aac @ 0xb400007727c65700] Qavg: 18220.703&#xA;[aac @ 0xb400007727c65700] 2 frames left in the queue on closing&#xA;Conversion failed!&#xA;</apppackage>

    &#xA;

  • ffmpeg Windows : standard transcode produces file that "uses unsupported encoding settings" [duplicate]

    17 août 2022, par David M. Cotter

    using the basic command :

    &#xA;

    ffmpeg -i infile.mp4 -vcodec libx264 -acodec aac output.mp4&#xA;

    &#xA;

    poduces a file that can't be played by the standard Windows Media Player app.&#xA;Is there something i'm missing ?

    &#xA;

    Here is the log data.

    &#xA;

    C:> \\Mac\depot\kJams\External\ffmpeg\win\bin\ffmpeg.exe -i "\\Mac\Home\Desktop\Christina lying down.AVI" -vcodec libx264 -acodec aac output.mp4&#xA;ffmpeg version git-2019-11-01-53c21c2 Copyright (c) 2000-2019 the FFmpeg developers&#xA;  built with gcc 9.2.1 (GCC) 20191010&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 35.101 / 56. 35.101&#xA;  libavcodec     58. 60.100 / 58. 60.100&#xA;  libavformat    58. 33.100 / 58. 33.100&#xA;  libavdevice    58.  9.100 / 58.  9.100&#xA;  libavfilter     7. 66.100 /  7. 66.100&#xA;  libswscale      5.  6.100 /  5.  6.100&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, avi, from &#x27;\\Mac\Home\Desktop\Christina lying down.AVI&#x27;:&#xA;  Metadata:&#xA;    creation_time   : 2006-01-26 18:19:22&#xA;    encoder         : CanonMVI02&#xA;  Duration: 00:00:07.70, start: 0.000000, bitrate: 14928 kb/s&#xA;    Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 14896 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc&#xA;    Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11024 Hz, mono, u8, 88 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))&#xA;  Stream #0:1 -> #0:1 (pcm_u8 (native) -> aac (native))&#xA;Press [q] to stop, [?] for help&#xA;[aac @ 0f06a740] Too many bits 6408.707483 > 6144 per frame requested, clamping to max&#xA;[libx264 @ 0f068b40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2&#xA;[libx264 @ 0f068b40] profile High 4:2:2, level 3.0, 4:2:2, 8-bit&#xA;[libx264 @ 0f068b40] 264 - core 158 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - 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=12 lookahead_threads=2 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&#xA;Output #0, mp4, to &#x27;output.mp4&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf58.33.100&#xA;    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj422p(pc), 640x480, q=-1--1, 30 fps, 1000k tbn, 30 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.60.100 libx264&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A&#xA;    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 11025 Hz, mono, fltp, 66 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc58.60.100 aac&#xA;frame=  231 fps=128 q=-1.0 Lsize=    1570kB time=00:00:07.70 bitrate=1668.3kbits/s speed=4.28x&#xA;video:1514kB audio:51kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.347234%&#xA;[libx264 @ 0f068b40] frame I:2     Avg QP:24.57  size: 27076&#xA;[libx264 @ 0f068b40] frame P:60    Avg QP:26.24  size: 12693&#xA;[libx264 @ 0f068b40] frame B:169   Avg QP:27.91  size:  4342&#xA;[libx264 @ 0f068b40] consecutive B-frames:  1.7%  1.7%  1.3% 95.2%&#xA;[libx264 @ 0f068b40] mb I  I16..4:  0.6% 97.6%  1.8%&#xA;[libx264 @ 0f068b40] mb P  I16..4:  0.1% 10.6%  0.5%  P16..4: 51.1% 17.9% 10.8%  0.0%  0.0%    skip: 8.9%&#xA;[libx264 @ 0f068b40] mb B  I16..4:  0.0%  1.2%  0.0%  B16..8: 51.8%  4.4%  0.7%  direct: 6.4%  skip:35.5%  L0:48.8% L1:46.4% BI: 4.8%&#xA;[libx264 @ 0f068b40] 8x8 transform intra:95.6% inter:78.5%&#xA;[libx264 @ 0f068b40] coded y,uvDC,uvAC intra: 89.0% 85.1% 53.7% inter: 29.0% 44.7% 6.7%&#xA;[libx264 @ 0f068b40] i16 v,h,dc,p: 19% 31%  8% 42%&#xA;[libx264 @ 0f068b40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 15% 33%  6%  7%  5%  9%  5%  8%&#xA;[libx264 @ 0f068b40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 21% 18%  7% 10%  6% 11%  5%  6%&#xA;[libx264 @ 0f068b40] i8c dc,h,v,p: 67% 13% 15%  5%&#xA;[libx264 @ 0f068b40] Weighted P-Frames: Y:8.3% UV:6.7%&#xA;[libx264 @ 0f068b40] ref P L0: 35.8% 10.5% 35.1% 17.4%  1.2%&#xA;[libx264 @ 0f068b40] ref B L0: 76.1% 19.2%  4.7%&#xA;[libx264 @ 0f068b40] ref B L1: 92.7%  7.3%&#xA;[libx264 @ 0f068b40] kb/s:1609.92&#xA;[aac @ 0f06a740] Qavg: 34311.295&#xA;

    &#xA;

    Ignore this part, Stack Overflow now requires that i type something more so it's not "mostly code"

    &#xA;

  • ffmpeg : "Input/output error" Read gif from named pipe ?

    23 octobre 2022, par Xirado

    I've been trying to debug this for hours now, and cannot seem to understand why it doesn't work.

    &#xA;

    I want to overlay a png onto all frames of a gif, and since writing all the files to disk is slow, i wanted to use pipes.

    &#xA;

    I created a named pipe using mkfifo imgstream1 and then launch ffmpeg :

    &#xA;

    ffmpeg -report -hide_banner -v 9 -loglevel 99 -y -f gif -i imgstream1 out1.gif&#xA;

    &#xA;

    (This isn't actually useful as it just spits out the same gif again but it's simpler for debugging)

    &#xA;

    After ffmpeg launches it waits for data from the pipe, so i write an actual gif file to the pipe using this kotlin code

    &#xA;

    val backgroundFifo = File("imgstream1")&#xA;val inputOne = File("background.gif").readBytes()&#xA;println("background.gif -> ${inputOne.size} bytes")&#xA;val output = backgroundFifo.outputStream()&#xA;output.write(inputOne)&#xA;output.flush()&#xA;output.close()&#xA;

    &#xA;

    It prints : background.gif -> 7233247 bytes

    &#xA;

    Now ffmpeg should read the bytes and spit out a gif, but it always seems to fail doing so.

    &#xA;

    Opening an input file: imgstream1.&#xA;[gif @ 0x7714180] Opening &#x27;imgstream1&#x27; for reading&#xA;[file @ 0x7714980] Setting default whitelist &#x27;file,crypto,data&#x27;&#xA;[AVIOContext @ 0x7724dc0] Statistics: 7233247 bytes read, 0 seeks&#xA;imgstream1: Input/output error&#xA;

    &#xA;

    Sadly this does not give any further information, i'm already on the highest log level...

    &#xA;

    I've tried multiple things :

    &#xA;

      &#xA;
    • -f image2pipe -> Works, but only loads the first 2 frames of the gif
    • &#xA;

    • Renaming the pipe to imgstream1.gif so ffmpeg thinks it's a gif file, no change.
    • &#xA;

    • Different ffmpeg versions
    • &#xA;

    • Using the actual gif as an ffmpeg input works
    • &#xA;

    &#xA;

    At this point i have no idea what the problem might be, as ffmpeg seems to load all bytes.&#xA;It's worth noting that doing cat imgstream1 > file.gif produces the desired gif.

    &#xA;

    Any help would be appreciated !

    &#xA;