Recherche avancée

Médias (91)

Sur d’autres sites (330)

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

    


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

    


  • Not able to install ffmpeg vlc rubberband anything in my centOS stream 9 [closed]

    16 septembre 2023, par Yash Goyal

    sudo dnf install ffmpeg

    


    Last metadata expiration check : 0:15:12 ago on Saturday 16 September 2023 05:22:51 PM.
Error :
Problem : package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8()(64bit), but none of the providers can be installed

    


      

    • package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8(LIBAVFILTER_8)(64bit), but none of the providers can be installed
    • 


    • package libavfilter-free-5.1.3-1.el9.x86_64 from epel requires librubberband.so.2()(64bit), but none of the providers can be installed
    • 


    • package ffmpeg-libs-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires librubberband.so.2()(64bit), but none of the providers can be installed
    • 


    • conflicting requests
    • 


    • nothing provides ladspa needed by rubberband-3.1.3-1.el9.x86_64 from epel
(try to add '—skip-broken' to skip uninstallable packages or '—nobest' to use not only best candidate packages)
[root@yashgoyal yash]# sudo dnf install ffmpeg —skip-broken
Last metadata expiration check : 0:15:17 ago on Saturday 16 September 2023 05:22:51 PM.
Dependencies resolved.
    • 


    


    Problem : package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8()(64bit), but none of the providers can be installed

    


      

    • package ffmpeg-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires libavfilter.so.8(LIBAVFILTER_8)(64bit), but none of the providers can be installed
    • 


    • package libavfilter-free-5.1.3-1.el9.x86_64 from epel requires librubberband.so.2()(64bit), but none of the providers can be installed
    • 


    • package ffmpeg-libs-5.1.3-1.el9.x86_64 from rpmfusion-free-updates requires librubberband.so.2()(64bit), but none of the providers can be installed
    • 


    • conflicting requests
    • 


    • nothing provides ladspa needed by rubberband-3.1.3-1.el9.x86_64 from epel
================================================================================
Package Arch Version Repository Size
================================================================================
Skipping packages with broken dependencies :
ffmpeg x86_64 5.1.3-1.el9 rpmfusion-free-updates 1.7 M
ffmpeg-libs x86_64 5.1.3-1.el9 rpmfusion-free-updates 7.8 M
libavfilter-free x86_64 5.1.3-1.el9 epel 1.4 M
rubberband x86_64 3.1.3-1.el9 epel 364 k
    • 


    


    Transaction Summary

    


    Skip 4 Packages

    


    Nothing to do.
Complete !

    


    this is the problem i am facing i tried everything that is available on internet but not able to fix it