Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • How to put watermak on video with FFMPEG,without resizing the watermark becuase of video resolution ?

    27 septembre 2013, par Shahbaz Younis

    Im looking for a way that the watermark picutre does not get resized,if the video resolution is high or less.Right now i have this problem,if i upload a video like 720p the watermak is really small and when i upload a video that is 240p the watermak is really big.I would just like it to be only one size.Can it do that automatically ? So no matter what the resolution is the of the video the image does not resizes and stays where i put it ? here's the code im using right now

    if ($ffmpeg_ver == "old") {
                        $watermark = '-vf "movie='.$tv_logo_path.' [watermark]; [in][watermark] overlay=10:10 [out]" ';
                } else { 
                        $watermark = '-i '.$tv_logo_path.' -filter_complex "overlay=10:10" ';
                }
    
  • Convert and stream videos [on hold]

    26 septembre 2013, par user969068

    I am going to develop a php script on linux based server which will be used to upload videos on server and stream to users. I have seen many open source free/paid libraries available with flash,html5 etc players. After research I have decided to go with ffmpeg to convert videos and use jwPlayer with RTMP protocol to stream videos.

    I am not much familiar with streaming concept but I have researched a lot on this subject since few days, so last I thought to ask here if I am going the correct way to achieve my goals, which are listed below:

    1. My main concern is to start streaming videos as soon page is loaded.
    2. Convert videos after upload ( Found ffmpeg for this purpose is well suited )
    3. Seeking video should be faster (which after searching I found is good with RTMP protocol)

    Please can someone guide me if I am going in the right direction by choosing ffmpeg, jwplayer with RTMP protocol. Thanks a lot for any guidance.

  • ffmpeg : How to assign an empty soundtrack to a video ?

    26 septembre 2013, par Jim Miller

    I'm using ffmpeg to build a short hunk of video from a machine-generated png. This is working, but the video now needs to have a soundtrack (an [audio] field) for some of the other things I'm doing with it. I don't actually want any sound in the video, so: is there a way to get ffmpeg to simply set up an empty soundtrack property in the video, perhaps as part of the call that creates the video? I guess I could make an n-second long silent mp3 and bash it in, but is there a simpler / more direct way? Thanks!

  • android ffmpeg compilation error

    26 septembre 2013, par aqavi_paracha

    I'm following the steps at AndroidFFmpeg to compile FFmpeg for Android. When I type ./build_android.sh, I get the following error.

    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: &
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: ffmpeg/AndroidFFmpeg/FFmpegLibrary/jni/vo-amrwbenc/../ffmpeg-build/armeabi
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... 
    configure: error: unsafe absolute working directory name
    

    I'm not getting any clue of what is going wrong. Need little help

    Thanks

  • Encoding and reading ID3 tags

    26 septembre 2013, par bartull

    I'm reading mp3 ID3 tags using ffmpeg, short example:

    AVDictionaryEntry* tag = av_dict_get(fc->metadata, "title", NULL, 0)
    std::string title(tag->value);
    

    In what way can I get information about the encoding of the read value? I can't figure it out.

    Thanks