Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (14)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (2088)

  • fluent-ffmpeg error : ffmpeg exited with code 1 : At least one output file must be specified

    18 septembre 2023, par 김동환

    I'm trying to create a simple video from several images on node js.

    


    const ffmpeg = require('fluent-ffmpeg');

ffmpeg().input('input.txt')
.inputOption(["-f concat"])
.outputOptions("-c:v libx264 -r 30 -pix_fmt yuv420p")
.output('output.mp4')
.on('start', (commandLine) => {
console.log(`FFmpeg command: ${commandLine}`);
})
.on('end', () => {
console.log('completed');
}).on('error', (err) => {
console.error('error occurred: ' + err.message);
}).run();


    


    and input.txt is

    


    file 'test1.png'
duration 2
file 'test2.png'
duration 30
file 'test3.png'
duration 4


    


    I don't know why but this code doesn't work. but if i copy and paste the code from $commandLine, it works !!??

    


    PS C:\\Users\\donghwan\\Documents\\GitHub\\create_video\\src\> node test.js
FFmpeg command: ffmpeg -f concat -i input.txt -y -c:v libx264 -r 30 -pix_fmt yuv420p output.mp4
error occurred: ffmpeg exited with code 1: At least one output file must be specified

PS C:\\Users\\donghwan\\Documents\\GitHub\\create_video\\src\> ffmpeg -f concat -i input.txt -y -c:v libx264 -r 30 -pix_fmt yuv420p output.mp4
ffmpeg version 2023-08-20-git-f0b1cab538-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers

and so on...


    


    I'm so confused and i tried to find any other reason for this but i couldn't find anything.

    


  • Live stream failed on Youtube

    20 septembre 2023, par kuldeep chopra

    We are currently running an AWS container that utilizes FFmpeg for live streaming while concurrently saving the stream as an MP4 file. However, we encountered an issue during a recent live stream session that was functioning correctly until approximately 13 minutes in, at which point FFmpeg reported the following error logs :

    


    ffmpeg [flv @ 0x555c4bdfe680] Failed to update header with correct duration.
2023-09-07T23:06:38.490+05:30 [flv @ 0x555c4bdfe680] Failed to update header with correct filesize.
2023-09-07T23:06:38.491+05:30 failed => rtmp://a.rtmp.youtube.com/live2/key......
2023-09-07T23:06:38.491+05:30 ffmpeg [tee @ 0x555c48843700] Slave muxer #1 failed: Broken pipe, continuing with 1/2 slaves.


    


    It's worth noting that we have conducted hundreds of live streams on YouTube without encountering this error before ; this is the first occurrence of such an issue.

    


    We would greatly appreciate it if you could investigate and provide insights into the underlying problem causing these error messages.

    


  • ffmpeg : Decoding error : Invalid data found when processing input (.CR2 file)

    16 septembre 2023, par PZL

    I am writing a script to process .CR2 images taken with my Canon EOS M5 camera, but am running into this error (using ffmpeg on Windows) :

    


    $ ../ffmpeg/bin/ffmpeg -i input/397.cr2 output.jpg
ffmpeg version 2023-09-07-git-9c9f48e7f2-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 19.100 / 58. 19.100
  libavcodec     60. 26.100 / 60. 26.100
  libavformat    60. 11.100 / 60. 11.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9. 11.100 /  9. 11.100
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
Input #0, tiff_pipe, from 'input/397.cr2':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: tiff, rgb24, 6000x4000 [SAR 1:1 DAR 3:2], 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[tiff @ 00000202bd01b8c0] rps 0 invalid
[vist#0:0/tiff @ 00000202bd01c600] Decoding error: Invalid data found when processing input
[swscaler @ 00000202bf6df340] deprecated pixel format used, make sure you did set range correctly
[vost#0:0/mjpeg @ 00000202bd00e800] No filtered frames for output stream, trying to initialize anyway.
[vost#0:0/mjpeg @ 00000202bd00e800] No information about the input framerate is available. Falling back to a default value of 25fps. Use the -r option if you want a different framerate.
Output #0, image2, to 'output.jpg':
  Metadata:
    encoder         : Lavf60.11.100
  Stream #0:0: Video: mjpeg, yuvj444p(pc, progressive), 6000x4000 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.26.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[vist#0:0/tiff @ 00000202bd01c600] Decode error rate 1 exceeds maximum 0.666667
[out#0/image2 @ 00000202bd0104c0] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/image2 @ 00000202bd0104c0] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A    
Conversion failed!


    


    The .CR2 file can be opened normally in Photoshop and Windows Photo Viewer (with the raw image extension).

    


    I can get around this issue by converting the image to JPEG using another program, but I would to work with the original file if possible.