Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • FFMPEG : Cut out last 10 seconds of wave/mp3

    28 septembre 2013, par Morten Hjort

    I'm using ffmpeg to convert my files from wave to mp3. But for a new service I need to cut out the last 10 seconds of some of the songs (for piracy issues), no matter how long they are. I've only found information about doing this when the length of the track has been known, but for this I need to do it automatically.

    Does anyone know which command to use? If I can fade-out 5 seconds before that would be optimal!

  • Setting up multi webcam streaming

    28 septembre 2013, par Moritz Mädler

    we are currently planning to connect all our offices via webcams selectable from a website. So I guess the setup could be something like this:

    Webcam 1 \
    Webcam 2 - > Streamserver -> Webserver displaying html5 Video 
    Webcam n /
    

    I've made first tests from streaming from Windows using VLC to a central ffserver, but the results where rather bad (after 1-2 frames the stream stopped).

    Do you have any suggestions on - which stream software I can use on the client/webcam site (Linux or Windows) - which software I can use on the server side (Linux) for collecting and recoding streams?

    Thanks,

    Moritz

  • Converting mp2's to mpeg transport stream

    27 septembre 2013, par JonathanC

    The application of this is for HTTP Live Streaming. (audio only)

    I have two 10-second mp2 files that are continuous (they are encoded one after the other but if spliced together play as one seamless file). I would like to create two mpeg-2 transport streams from these files. Unfortunately, when I do the following:

    ffmpeg -i 0.mp2 0.ts
    

    The output is successful but I get the following:

    [mp3 @ 0x7fcc2a006600] max_analyze_duration 5000000 reached at 5015510 microseconds
    [mp3 @ 0x7fcc2a006600] Estimating duration from bitrate, this may be inaccurate
    

    Also, if I create the m3u8 manifest file with 0.ts and 1.ts, there is a space between the two.

    Because I am creating the playlist dynamically, I don't have access to both files at the same time, otherwise I would simply concatenate and then segment the file after conversion.

    What am I missing here? Is there a different way that I should be encoding the mp2's? I am using twolame and doing 10 seconds at a time.

  • Mp4 takes too long to start

    27 septembre 2013, par user2783132

    I'm converting my video to mp4 H.264 with ffmpeg than changing the moov atom to front with qt-faststart, so I can stream the video.

    Everything works fine with small videos 5-10 minute, but when it comes to large ones 1-2 hrs it can take a significant time to start playing. it loads 6-10mb and only than start playing the video.

    In flv that's not the case, it plays immediately no matter how large the video is. How can i fix that?

  • FFMPEG multi bitrate wowza live streaming keyframe alignment

    27 septembre 2013, par Michael Dietriech

    I tried live streaming with ffmpeg to wowza but even though i use -r 25 -g 50 -keyint_min 50 -sc_threshold 0, the keyframes don't seem to be aligned at the same place of the stream for all the outputs so when Wowza makes chunks for HLS out of it, the keyframes don't get alligned at the beginning of each chunk.

    Any suggestions?