Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (86)

Sur d’autres sites (15293)

  • How can I play a video from the CLI with no output of video or audio

    1er janvier 2023, par Gary

    I have 1000s of video files and I know some of them are corrupted. I want to be able to detect corrupted files with a bash script, I tried using FFmpeg with error logging :

    


    ffmpeg -v error -i "vid.avi" -f null - 2>"vid.log"


    


    The output doesn't seem to be very useful though, some files which report errors play without any problems. The only way to know for sure seems to be to watch the video to see if there is any corruption or if it crashes the media player.

    


    I would like to be able to automate the "watching" by playing the video from the command line and detecting the corruption or crashing there but I can't find a way to run it without outputting the video and audio.

    


    I have tried FFplay but I can only disable one of the outputs not both :

    


    ffplay -nodisp "vid.avi"
ffplay -vn "vid.avi"


    


    These disable the video :

    


    ffplay -an "vid.avi"


    


    This disables the audio but I can't combine them, when I do I get an error :

    


    Failed to open file 'vid.avi' or configure filtergraph


    


    I have tried using the vlc/cvlv suggestions I have found but none have worked, it still opens a graphical interface just with no controls.

    


    Is there any way to do this ?

    


  • How to add a text containing the dynamic current time of the video into video,when finished catching each frame using ffmpeg ?

    12 septembre 2016, par breakHeart

    How to solve it ? I hope to solve it by using a function, no command. I hope someone can help me ?

  • How to extract video embedded subtitle from a video URL and show in a text widget in flutter ?

    24 mars 2024, par badshah badmas

    I'm using flutter VLC player to play videos in my flutter app. I want to change the subtitle size dynamically in my video. But Flutter VLC player did not provide the function to change subtitle size dynamically. So I would like to extract the subtitle from the video and show it in a text widget instead of VLC player's subtitle. Can someone help me to extract the subtitle from the video URL ? Or any other method to solve this issue ?

    


    I have tried to extract subtitles using ffmpegkit .

    


     await FFmpegKit.executeAsync('-i $url -map 0:s:0 -codec:s srt $outputPath');


    


    This code returns a blank srt file.