Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (59)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

Sur d’autres sites (6371)

  • Concatenating on Windows throws "Invalid data found when processing input" while it works on Mac and Linux

    15 février 2020, par miguelmorin

    I need to run a command with a nightly build of FFMPEG to report a bug on the concat protocol. I found it difficult to compile from source with libx264 support on Linux, and I want to spare my Mac computer, so I use the nightly build on Windows from Zeranoe.

    I call this command to concatenate the files :

    ffmpeg -safe 0 concat -i files_to_combine -vcodec libx264 show.mp4

    where files_to_combine is :

    file ./short_DSC_0013.MOV
    file ./short_DSC_0014.MOV
    file ./short_DSC_0015.MOV
    file ./short_DSC_0016.MOV
    file ./short_DSC_0017.MOV
    file ./short_DSC_0018.MOV
    file ./short_DSC_0019.MOV

    I call this command from the directory containing the video files and files_to_combine.

    On Windows with a nightly build, I get the error :

    files_to_combine : Invalid data found when processing input
    

    I changed file ./DSC_0013.MOV to these options, all with the same error :

    file 'short_DSC_0013.MOV'
    file '.\short_DSC_0013.MOV'
    file 'F:\short_DSC_0013.MOV'

    How can I debug this error, or what is the syntax for concatenating on Windows with a nightly build ?

    Update with log-level 48

    I ran the same command with -v 48 and got :

    F :\brain squids>C :\Users\migue\Desktop\ffmpeg-20200211-f15007a-win64-static\bin\ffmpeg.exe -v 48 -i files_to_combine -vcodec libx264 show.mp4
    ffmpeg version git-2020-02-11-f15007a Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 9.2.1 (GCC) 20200122
      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
      libavutil      56. 39.100 / 56. 39.100
      libavcodec     58. 68.102 / 58. 68.102
      libavformat    58. 38.100 / 58. 38.100
      libavdevice    58.  9.103 / 58.  9.103
      libavfilter     7. 75.100 /  7. 75.100
      libswscale      5.  6.100 /  5.  6.100
      libswresample   3.  6.100 /  3.  6.100
      libpostproc    55.  6.100 / 55.  6.100
    Splitting the commandline.
    Reading option ’-v’ ... matched as option ’v’ (set logging level) with argument ’48’.
    Reading option ’-i’ ... matched as input url with argument ’files_to_combine’.
    Reading option ’-vcodec’ ... matched as option ’vcodec’ (force video codec (’copy’ to copy stream)) with argument ’libx264’.
    Reading option ’show.mp4’ ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options : global .
    Applying option v (set logging level) with argument 48.
    Successfully parsed a group of options.
    Parsing a group of options : input url files_to_combine.
    Successfully parsed a group of options.
    Opening an input file : files_to_combine.
    [NULL @ 0000021c781784c0] Opening ’files_to_combine’ for reading
    [file @ 0000021c78179580] Setting default whitelist ’file,crypto,data’
    [AVIOContext @ 0000021c781817c0] Statistics : 182 bytes read, 0 seeks
    files_to_combine : Invalid data found when processing input
    

    The contents of files_to_combine is :

    file ’short_DSC_0013.MOV’
    file ’short_DSC_0014.MOV’
    file ’short_DSC_0015.MOV’
    file ’short_DSC_0016.MOV’
    file ’short_DSC_0017.MOV’
    file ’short_DSC_0018.MOV’
    file ’short_DSC_0019.MOV’
    

    Update because of wrong command

    I had mistyped the command. The right command has a -f in front of concat, which I found because the accepted answer was able to make the command work in a similar environment :

    ffmpeg -safe 0 -f concat -i files_to_combine -vcodec libx264 show.mp4
  • "Pixel format 'yuvj420p' is not supported" when converting image to video using CUDA hardware acceleration

    11 février 2020, par laurent

    I’m trying to convert an image to a video using CUDA hardware acceleration but I can’t get it to work.

    The basic command I have is this one :

    ffmpeg -y -hwaccel cuvid -i tests/MediaSamples/portrait_0.jpg -t 10 out.mp4

    And I’m getting this error :

    [AVHWFramesContext @ 0x32d3f00] Pixel format 'yuvj420p' is not supported
    [mjpeg @ 0x2d18480] Error initializing a CUDA frame pool
    cuvid hwaccel requested for input stream #0:0, but cannot be initialized.
    Error while decoding stream #0:0: Invalid argument

    I’ve tried setting the pixel format like so, but that didn’t help :

    ffmpeg -y -hwaccel cuvid -pix_fmt yuv420p -i tests/MediaSamples/portrait_0.jpg -t 10 out.mp4

    I’ve also tried many other flags but can’t get anything to work. Any idea what the issue might be ?

    For information this is the full log :

    ffmpeg version N-96615-gc35382a Copyright (c) 2000-2020 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609
     configuration: --enable-nonfree --disable-shared --enable-gpl --enable-openssl --enable-libx264 --enable-cuda-sdk --enable-nvenc --enable-cuda --enable-cuvid --enable-libnpp --extra-cflags='-I/usr/local/ssl/include -I/usr/local/cuda/include -I/usr/local/include -L/usr/local/ssl/lib -Wl,-rpath=/usr/local/ssl/lib' --extra-ldflags=-L/usr/local/cuda/lib64
     libavutil      56. 38.100 / 56. 38.100
     libavcodec     58. 67.101 / 58. 67.101
     libavformat    58. 37.100 / 58. 37.100
     libavdevice    58.  9.103 / 58.  9.103
     libavfilter     7. 73.100 /  7. 73.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Input #0, image2, from 'tests/MediaSamples/portrait_0.jpg':
     Duration: 00:00:00.04, start: 0.000000, bitrate: 40237 kb/s
       Stream #0:0: Video: mjpeg (Progressive), yuvj420p(pc, bt470bg/unknown/unknown), 1600x900 [SAR 72:72 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    [AVHWFramesContext @ 0x32d3f00] Pixel format 'yuvj420p' is not supported
    [mjpeg @ 0x2d18480] Error initializing a CUDA frame pool
    cuvid hwaccel requested for input stream #0:0, but cannot be initialized.
    Error while decoding stream #0:0: Invalid argument
    [libx264 @ 0x2d1e840] using SAR=1/1
    [libx264 @ 0x2d1e840] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x2d1e840] profile High, level 4.0
    [libx264 @ 0x2d1e840] 264 - core 148 r2643 5c65704 - 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=24 lookahead_threads=4 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
    Output #0, mp4, to 'out.mp4':
     Metadata:
       encoder         : Lavf58.37.100
       Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuvj420p(pc), 1600x900 [SAR 72:72 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
       Metadata:
         encoder         : Lavc58.67.101 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    frame=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
    video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    Conversion failed!
  • lavfi/spp : add "quality" option in runtime change path

    10 janvier 2020, par Jun Zhao
    lavfi/spp : add "quality" option in runtime change path
    

    it's stranage to use option "level" in runtime change path but used
    "quality" in option, add "quality" in runtime change path, it's more
    intuitive and keep the "level" for compatibility.

    Reviewe-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Jun Zhao <barryjzhao@tencent.com>

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_spp.c