Recherche avancée

Médias (91)

Autres articles (102)

  • 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.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8016)

  • Convert set of PNGs into rawvideo .raw FFMPEG

    13 août 2020, par Wire

    Recently, I have been trying to modify the boot animation of a little robot. It is a .raw file and it contains every RGB565 frame one after the other. I have been able to get all of the frames using

    


    ffmpeg -f rawvideo  -pixel_format rgb565 -video_size 184x96 -framerate 10 -i "boot_anim.raw" -r 1/1 boot_anim%02d.png

    


    But if I try to repack it with

    


    ffmpeg -i boot_anim%02d.png -f rawvideo -pix_fmt rgb565 -framerate 10 -video_size 184x96 -r 1/1 "boot_anim.raw"

    


    it only puts in the first two frames and nothing else. I have also tried libx264 and putting in vcodecs manually. Same result. I'm new to ffmpeg and Linux overall.

    


    Here is the full output :

    


    ffmpeg version N-98716-gb40dd2f Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --enable-encoder=png --enable-decoder=png
  libavutil      56. 58.100 / 56. 58.100
  libavcodec     58.100.100 / 58.100.100
  libavformat    58. 50.100 / 58. 50.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
Input #0, image2, from 'boot_anim%02d.png':
  Duration: 00:00:00.44, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 184x96, 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'boot_anim.raw' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[swscaler @ 0x556d6993d940] full chroma interpolation for destination format 'rgb565le' not yet implemented
Output #0, rawvideo, to 'boot_anim.raw':
  Metadata:
    encoder         : Lavf58.50.100
    Stream #0:0: Video: rawvideo (RGB[16] / 0x10424752), rgb565le, 184x96, q=2-31, 282 kb/s, 1 fps, 1 tbn, 1 tbc
    Metadata:
      encoder         : Lavc58.100.100 rawvideo
frame=    2 fps=0.0 q=-0.0 Lsize=      69kB time=00:00:02.00 bitrate= 282.6kbits/s dup=0 drop=9 speed= 871x    
video:69kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%


    


    Any help appreciated !

    


  • png is invalid argument when using ffmpeg

    20 octobre 2020, par Ace_Li

    I am running into invalid argument when I try to convert +5 photos into an mp4 file.
This worked on my mac but it doesnt work on windows 10. Can someone help :) Thanks in advance

    


    here is the command i entered.

    


    ffmpeg -r 1/5 -pattern_type glob -i '*.png' -c:v libx264 output.mp4

    


    C:\Users/userz\Desktop\photos>ffmpeg -r 1/5 -pattern_type glob -i '*.png' -c:v libx264 output.mp4
ffmpeg version N-99502-g0d156eb58a Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3-win32 (GCC) 20200320
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
  libavutil      56. 60.100 / 56. 60.100
  libavcodec     58.111.100 / 58.111.100
  libavformat    58. 62.100 / 58. 62.100
  libavdevice    58. 11.102 / 58. 11.102
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
'*.png': Invalid argument


    


  • ffmpeg can not open video file while PotPlayer and VLCPlayer can

    13 décembre 2020, par popova-ksiusha912

    Win10

    


    Video file(21.83MB) :https://www.mediafire.com/file/7b7w8ssio32qo2p/sample.flv/file

    


    Pot Player and VLC Player can open this file without any problem.

    


    But ffmpeg,ffplay,ffprobe can not open it.

    


    Is there any way to make ffmpeg recognize this video file ?

    


    C:\external>ffmpeg -v 9 -loglevel 99 -i sample.flv
ffmpeg version n4.3.1-26-gca55240b8c Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.3-win32 (GCC) 20200320
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --disable-vulkan --enable-libvorbis --enable-amf --enable-libaom --disable-avisynth --enable-libdav1d --disable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --disable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --disable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libtwolame --disable-libvidstab --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'sample.flv'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url sample.flv.
Successfully parsed a group of options.
Opening an input file: sample.flv.
[NULL @ 000001e044da4580] Opening 'sample.flv' for reading
[file @ 000001e044da4e80] Setting default whitelist 'file,crypto,data'
Probing flv score:100 size:2048
Probing mp3 score:1 size:2048
[flv @ 000001e044da4580] Format flv probed with size=2048 and score=100
[flv @ 000001e044da4580] Before avformat_find_stream_info() pos: 13 bytes read:32768 seeks:0 nb_streams:0
[flv @ 000001e044da4580] type:18, size:626, last:-1, dts:0 pos:21
[flv @ 000001e044da4580] type:8, size:4, last:-1, dts:0 pos:662
[flv @ 000001e044da4580] 1 AF 0
[flv @ 000001e044da4580] type:8, size:287, last:-1, dts:0 pos:681
[flv @ 000001e044da4580] 1 AF 0
[flv @ 000001e044da4580] type:9, size:13245, last:-1, dts:0 pos:983
[flv @ 000001e044da4580] 0 27 0
[NULL @ 000001e044e4bd80] missing picture in access unit with size 13240
[extract_extradata @ 000001e044e50600] No start code is found.
[flv @ 000001e044da4580] After avformat_find_stream_info() pos: 14235 bytes read:65845 seeks:3 frames:1
sample.flv: could not find codec parameters
Input #0, flv, from 'sample.flv':
Metadata:
d_cate : 1
d_client : 10001
dy_app_version : 6.3.6.1
dy_device_model : HONOR YAL-AL50 YAL-AL50
dy_level : Level51
dy_live_start_time: Sat Nov 28 22:05:50 GMT+08:00 2020
dy_location : null
dy_network : 4G 4
dy_os_version : 29
dy_profile : High
dy_pusher_version: 1.3.3
dy_timezone : Asia/Shanghai?
hasWatermark : 1
encoder : Lavf56.40.101
cdn_ip : 61.156.196.105
Duration: 00:01:14.46, start: 0.000000, bitrate: N/A
Stream #0:0, 1, 1/1000: Audio: aac, 44100 Hz, stereo, 98 kb/s
Stream #0:1, 0, 1/1000: Video: h264, 1 reference frame, none, 2048 kb/s, 1k tbn
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 000001e044dadd40] Statistics: 65845 bytes read, 3 seeks
C:\external>