Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • Error while generating video thumbnail in laravel

    13 décembre 2017, par jack

    I am using ffmpeg and Pawlox/video-thumbnail package to generate thumbnail. I have already installed both ffmpeg and pawlox/video-thumbnail.

    Here is my code.

    VideoThumbnail::createThumbnail(url('/storage/app/accident_report_videos/ynvO5D9GzUJsLPj8vPlyiOEND0ag9MeFGr4NFu5k.mp4'), asset('thumbnAils'), '111.jpg', 2, 600, 600);
    

    Error:

    error:getimagesize(http://54.255.240.102/storage/app/accident_report_videos/thumbs/ynvO5D9GzUJsLPj8vPlyiOEND0ag9MeFGr4NFu5k.jpg): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
    

    Video path and thumbnail path are both right. But it is using thumbnail method in videothumbnail.php to create thumbnail. This function is generating thumbnail. So after that it calls resizeCropImage() function in which they uses getimagesize() funtion. And getiamgesize() function does not get image from because it is never generated.

  • Using ffprobe in Android

    13 décembre 2017, par Sirojiddin Komolov

    I'm using Ffmpeg via this link and works fine, but it failures when I try to use "ffprobe" commands to get video info. For example, currently I'm using these lines of codes :

    ffmpeg.execute("ffprobe -v quiet -print_format json -show_format -show_streams some.mp4",
     new ExecuteBinaryResponseHandler() { ... });
    

    Above code lines don't work and ExecuteBinaryResponseHandler's onFailure method get called. But reason message of onFailure is empty. I don't know what I'm doing wrong. Any idea?

  • why changed volume after merge ? in ffmpeg. How to turn off change volume [duplicate]

    13 décembre 2017, par Нодирбек Раззоков

    This question already has an answer here:

    why changed volume after the merge? in FFmpeg.

    How to turn off change volume. I need an original volume of music after the merge.

    please check my command

    ffmpeg -i song.mp3 -i mix.mp3 -filter_complex \"[1]adelay=10000|10000[b];[0][b]amix=2,volume='1-max(0.25*(t-13),0)'\" -ac 2 -i cover.jpg -c copy -id3v2_version 3 -codec:a libmp3lame -q:a 4 -b:a 128k -y output.mp3
    
  • Unable to receive RTP payload type 96 without an SDP file describing it

    13 décembre 2017, par BanaSong

    How can I use SDP files in iOS FFmpeg? I've tried this:

    char *url = "rtp://127.0.0.1:1234"; 
    AVFormatContext *oc = NULL; 
    avformat_open_input(&oc, url, NULL , NULL); 
    

    But I get the following error:

    [rtp @ 028568e0] Unable to receive RTP payload type 96 without an SDP file describing it.

  • FFMPEG : Creating a video, which has the maximum value per pixel of n-input videos

    13 décembre 2017, par LighthouseZGZ

    Imagine a collection of short videos, each one showing a shooting star.

    I would like to get a composite video of all shooting stars. Not in sequence, at the same time. The (x,y) pixel of the nth frame in the output video should have the maximum value for that (x,y) pixel of the same frame in all the videos.

    I know how to do that using images and imagemagick:

    magick *.bmp -evaluate-sequence max output.bmp

    I need something similar for video. Frame by frame.

    Any help would be appreciated. Thanks.