Forum Replies Created

Page 15 of 24
  • Michael Rampe

    November 2, 2010 at 9:07 am in reply to: ffmpeg multiplex pcm audio

    ****please post more information****

    A header read on the output (ffmpeg -i video-mux.mpg) as well as the relevant stream mapping info from the encode run would be helpful.

    Michael

  • Michael Rampe

    November 2, 2010 at 9:04 am in reply to: Video conversion app access via web page

    FFmpeg will run on Unix or windows based servers. You will, however, need to write an interface in your favorite language.

    Michael

  • Michael Rampe

    October 27, 2010 at 11:00 pm in reply to: FFmpeg 2 pass encoding

    My mistake. There is a mismatch in the video presets.

    -vpre fast_firstpass should be used with -vpre fast in the second pass instead of -vpre normal as I posted. It also appears that normal is not in the current SVN anymore.

    Most of the libx264 presets are “matched” by a fast first pass preset and they need to be used together to work properly.

    Check inside the ffpresets folder within your FFmpeg install to see the available presets for your build.

    Michael

  • Michael Rampe

    October 22, 2010 at 9:13 pm in reply to: FFmpeg 2 pass encoding

    [Jack Passmore] “ffmpeg -i video.avi -pass 1 -ab 320k -acodec libfaac -vcodec libx264 -vpre fast_firstpass -vf “crop=1440:1080:240:0,scale=640:480″ -b 2000k -bt 2000k -threads 0 video.mp4”

    This is doing the first pass only. For 2 pass libx264 using your example as a base:

    ffmpeg -i video.avi -an -vcodec libx264 -vpre fast_firstpass -b 2000k -bt 2000k -vf “crop=1440:1080:240:0,scale=640:480” -pass 1 -threads 0 /dev/null && ffmpeg -i video.avi -ab 320k -acodec libfaac -vcodec libx264 -vpre normal -b 2000k -bt 2000k -vf “crop=1440:1080:240:0,scale=640:480” -pass 2 -threads 0 video.mp4

    NOTE: this is all one line.

    First pass: ignore audio and write to null as you will not use this video. libx264 generates it’s own log file which will be used in the second pass. Use && to run the second ffmpeg line if the first one is successful. Second pass: write audio and video to output format.

    Michael

  • Michael Rampe

    October 3, 2010 at 6:47 am in reply to: FFMPEG and Flumotion

    There does appear to be a FFmpeg plug-in for GStreamer hosted on the GStreamer site.
    QUOTE: “GStreamer FFmpeg plug-in contains one plugin with a set of elements using the FFmpeg library code. It contains most popular decoders as well as very fast colorspace conversion elements.”
    https://gstreamer.freedesktop.org/modules/gst-ffmpeg.html

    Flumotion works on top of GStreamer to my understanding. Not sure if this will help in your situation but shows promise as there is some “collaboration” going on. It might be an idea to raise your issue with Flumotion and/or GStreamer…

    Michael

  • Michael Rampe

    October 1, 2010 at 1:57 am in reply to: ffmpeg scaling issue

    [Jack Passmore]
    ffmpeg -i video.avi -vf “crop=240:0:1440:1080” -vf “scale=640:480” video_crop_resize.mp4
    I can’t figure out why I’m not getting a 4:3 630x480 video file without letterboxing…”

    [Jack Passmore] “This command will change the 1920×1080 letterboxed video to a 1140x1080 4:3 video correctly:
    ffmpeg -i video.avi -vf “crop=240:0:1440:1080″ video_crop.mp4”

    (careful with number typos, it can get very confusing;-)

    Your command line will only use the last instance of -vf as it is only meant to be specified once per input.

    The correct usage of -vf is comma separated commands with branches separated by semi-colons.

    In your case (no branches):
    ffmpeg -i video.avi -vf “crop=240:0:1440:1080,scale=640:480” video_crop_resize2.mp4

    BONUS TIP:
    …using libavfilter for a watermark (with a branch):
    (bug1.tif=50×100 file saved with transparency from p-shop)

    Using SoC libavfilter [1.20. 0]
    -vf “movie=0:tiff:bug1.tif [watermark];\
    [in] [watermark]overlay=1600:700:1[out]”

    or the hack using SVN libavfilter [1.39. 0] if you get an error with the overlay:
    -vf “movie=0:tiff:logo5.tif,pad=1920:1080:1600:700:0x00000000 [watermark];\
    [in] [watermark]overlay=0:0:1[out]”

    …and it works with multiple separate or nested branches as well.

    Michael

  • Michael Rampe

    September 30, 2010 at 7:46 am in reply to: ffmpeg error

    [Larry Todd] “as part of the videodownloadhelper preference page there is an option to show the conversion log. it is there that i found the reference to ffmpeg.”

    I had a quick look into this. The source FFmpeg used as part of this application add-on is hosted at https://www.downloadhelper.net/ffmpeg-src.tar.gz as per the FFmpeg license requirements. (This is a perfect example to justify those sometimes argued requirements for the necessity of hosting the source used by the distributor rather than linking to FFmpeg.)

    [Larry Todd] “”cannot get resampling text””
    I cannot find this warning in the FFmpeg source. What I can find is “Cannot get resampling context”. This relates to the scaler context having a problem with the input or output width, height or colorspace (pix_fmt).

    You have a few options.
    1. You can download the FFmpeg source and see if you can replicate the problem and post full version/error information.
    2. Contact the developer of “videodownloadhelper” and ask them to look into it.
    3. Convert to a high bitrate “intermediate” format/codec that does work and recompress to the required output with other software (FFmpeg recommended)
    4. My old favorite (now mostly redundant), use screen capture software;-)

    Michael

  • Michael Rampe

    September 29, 2010 at 11:23 pm in reply to: ffmpeg error

    [Larry Todd] “i not sure i understand your question “is this a command line program””

    FFmpeg is a command line program. I run it on it’s own in a terminal in a *nix environment. Using it this way, you get a lot more information on the error and can thus more easily diagnose problems such as these.

    I have had a look through the “videodownloadhelper” website yet find no reference to FFmpeg…
    The “license” of the program, if you could call it that, only states “You are free to use Video DownloadHelper with any of the applications or services offered by Mozilla. All Other Rights Reserved.” Again, no reference to FFmpeg.

    Can you point me to where you found out this uses FFmpeg?

    Michael

  • Michael Rampe

    September 29, 2010 at 8:59 pm in reply to: FFMPEG and Flumotion

    possible. Is this for live streaming or on demand?

  • Michael Rampe

    September 29, 2010 at 8:58 pm in reply to: live stream

    Not a lot of experience using FFserver. Post full outputs from the process you are using.

    Michael

Page 15 of 24

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy