Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Video with drop frames with ffmpeg

    28 mai 2018, par Gabe Mata

    I am recording videos using ffmpeg in a production environment almost non-stop for 15 hours a day. Sometimes the videos are freezing for a few seconds.

    I believe the hardware is adequate. It is an i7 with 16GB ram and windows 10. The videos are on average about 2:00 minute each.

    This happens a few times a day 10 or so that I am awarded.

    Here is a link to one of the videos that froze:

    https://drive.google.com/open?id=1q6R2l1AkCko-uh2KZ6X8AChdGU5XBOy7

    It freezes at 0:03 and then restarts at 0:16

    Here is the ffmpeg command I am using:

    ffmpeg -i "rtsp://10.0.131.2/media/video1" -f segment -segment_time 9000 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -map 0 gabe.mp4

    Can I decreases the quality of the videos so videos don't randomly freeze?

    Would recording without audio help the videos not randomly freeze?

    Thanks,

    Gabe

  • Capture Image from Serial Camera FFMPEG

    28 mai 2018, par Jomanuel Ponferrada

    I have a serial camera plugged-in on my linux os. I would like to capture image using FFMPEG but the all example are webcam and ip camera. I also visit this link to see the list of devices https://www.ffmpeg.org/ffmpeg-devices.html. But i cant see the serial camera examples. My serial cam location is on /dev/ttyS0. In my C++ program i can capture image from my serial camera..

    Tnx for the help in advance :)

  • How can I install brew (or ffmpeg) on Heroku ?

    28 mai 2018, par Donovant

    As per the title, I'd like to know whether and how to install brew, because I need to install ffmpeg lib

    I tried what it's written here:

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
    
    test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
    test -d /home/linuxbrew/.linuxbrew && PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
    test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
    echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile
    

    but then brew is still not found:

    bash: brew: command not found
    
  • ffmpeg vp9 not setting constant quality

    28 mai 2018, par cclloyd

    I'm running ffmpeg to convert a 4k hevc video to vp9 but no matter what setting I use, it always comes out horrible quality and the same filesize.

    Command:

    ffmpeg -y -i /tmp/longsample.mkv -threads 6 -c:a libopus -c:v libvpx-vp9 -crf 30 /tmp/vp9-30.mkv
    ffmpeg -y -i /tmp/longsample.mkv -threads 6 -c:a libopus -c:v libvpx-vp9 -crf 15 /tmp/vp9-15.mkv
    ffmpeg -y -i /tmp/longsample.mkv -threads 6 -c:a libopus -c:v libvpx-vp9 -crf 0 /tmp/vp9-0.mkv
    

    I'm using the ffmpeg:latest on docker.

  • picking a frame and an overlapping audio from a video

    28 mai 2018, par RAVI

    I know how to extract frames and audio from a video using ffmpeg.

    But what I want to is, to pick a random frame in that video, and then picking a random 1 second audio clip that overlaps in time with the sampled frame.

    As of now I'm doing this by preprocessing the videos for frames and audio, but that is consuming a lot of disk-space.

    So is there a easier way of achieving this?