Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • FFMPEG : add marquee like text overlay

    18 septembre 2013, par user2792594

    I want to grab a video from v4l2 device, add overlay of moving text and stream it to vlc, how can i do this ? Is there any way to add dynamic overlay using ffmpeg.

  • Cocoa FFmpeg seamlessly loop video

    18 septembre 2013, par Marius

    I've seen many people having issues with getting videos to loop seamlessly on iOS. If it's a video that you provide with your app (in other words, if you have control over the file itself), there's a way of getting around the problem - by providing the video as self-contained, looped MOV file. And it works like a charm. The way you do it is:

    • open an MP4 video in QT (QT7 works fine)
    • re-save it as self-contained movie
    • command + a, command + c and then command + v a bunch of times
    • save

    This will create a slightly bigger file than the original.

    So now I've just gotten curious: could the same thing be done in FFmpeg? If so, how would one take an MP4 video, save it as self-contained MOV and loop it for around 60 minutes, without actually cloning video data and only increasing the file size slightly?

  • Parsing m3u, pls and asx files on server

    18 septembre 2013, par shaish

    i'm looking for a way to get information about an audio streaming URL from the server side.

    i'm currently using ffprobe to get the information, but it only works on the actual stream URLs - i'm looking for an (easy?) way to make it work on urls pointing to playlists.

    i've asked this question before with reference to the ffmpeg library and couldn't find an answer - so i'm thinking maybe i should use an external parser and feed the results into ffprobe.

    Thanks!

  • Merge video clip

    18 septembre 2013, par Priyal

    I am trying concat two video clips of different bitrate like :

    ffmpeg -i 1.mp4 -sameq 1.mpg
    ffmpeg -i 2.mp4 -sameq 2.mpg
    cat 1.mpg 2.mpg | ffmpeg -f mpeg -i - -sameq -vcodec mpeg4 output.mp4
    

    But when I run output.mp4, audio is not properly synchronised.

    Audio gets either muted or overlapped.

    I also tried using mp4box with ffmpeg:

    ffmpeg -i D:\n.mp4 -c:v libx264 -vf scale=426:238 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts D:\1.ts
    
    ffmpeg -i D:\new.mp4 -c:v libx264 -vf scale=426:238 -r 60 -c:a aac -ar 48000 -b:a 160k -strict experimental -f mpegts D:\2.ts
    
    mp4box -cat D:\1.mp4 -cat D:\2.mp4 D:\13.mp4
    

    But faced similar issue.

    I also tried tsMuxer to join video clip but audio and video was not synchronised. There was delay between them.

    Please suggest the solution (can be other than ffmpeg) to join video of different bitrate and resolution.

    Thanks in advance

  • Any script to convert the mp3 into video with some image [on hold]

    18 septembre 2013, par user2788262

    I try to make website that convert the mp3 file into the mp4 (video) file with image?? how to do that??

    i try ffmpeg.but did not work. any other solution for that. plz help

    i see there are lost of site doing that like

    http://www.tunestotube.com/

    http://www.mp32tube.com/

    how they do it ??

    i try with ffmpeg but failed plz help me any scripting lugggage??