Reuben Martin
Forum Replies Created
-
Reuben Martin
August 17, 2012 at 9:56 pm in reply to: Compiling ffmpeg just to capture single frameshttps://ffmpeg.org/trac/ffmpeg/wiki/CompilationGuide
using the help option with the configure script will give you a listing of all the features and options that can be enabled or disabled
-
Reuben Martin
August 2, 2012 at 1:28 am in reply to: combining two .mov files to play along side of one anotherFirst check that the build you are using supports that filter.
To get a listing of available filters:
ffmpeg -filters -
Why do you need to do 2 pass encoding? The only reason you would want to do 2 pass encoding is if you have to shoe-horn a video into a limited space like optical media.
2 pass doesn’t do anything to improve quality. All it does is help the encoder better determine where in the video is the best place to degrade the quality in order to make it small enough to fit within the target size.
Use CRF mode. It will probably result in a file that is more uniform in quality and smaller in size.
-
If the width and height given by ffprobe are incorrect, then I would suggest writing a bug report to get it fixed; and include a sample video that demonstrates the problem.
https://www.ffmpeg.org/bugreports.html
-
Reuben Martin
July 12, 2012 at 1:21 pm in reply to: Getting Tunneled RTSP from IP camera behind a ProxyIt looks like your connection is getting reset each time you try to connect.
You might try to see if port 80 or 8080 or something similar is open. Given that it’s being sent on an http transport, it might be serving that up on a standard http port.
Also, I forgot to mention in the previous post, I don’t think ffmpeg supports accessing via a remote http proxy. (If it does I’ve never used it) However, I’m fairly certain that VLC can do that. And you can call vlc from the command line (cvlc) and dump the output similar to what you are trying to do with ffmpeg.
You can configure all that in the GUI interface first to make sure it can access it correctly. (HTTP proxy settings are in the advanced settings)
Hope that helps.
-
Reuben Martin
July 12, 2012 at 4:48 am in reply to: Getting Tunneled RTSP from IP camera behind a ProxyThat tutorial you linked to is for routing an ssh connection through an http tunnel. That really has nothing to do with what you’re trying to do, you wouldn’t need an ssh server.
But, more to the point, I mis-understood what you meant by “tunneling”. People do use the term tunneling to describe what you’re talking about, but I think that is a misleading term for it. “RTSP over HTTP” or “RTSP using HTTP transport” would be a more accurate description.
ffmpeg can pull down rtsp over http with a similar command to normal rtsp streams, it’s just that you need to the rtsp_transport flag.
ffmpeg -rtsp_transport http -i rtsp://server:8080/video.mp4 .....See the man pages for more info.
-
Reuben Martin
July 11, 2012 at 1:00 am in reply to: Getting Tunneled RTSP from IP camera behind a ProxyTry using something like the httptunnel client to bind a local port to the tunnel, and then connect ffmepg to the local port. https://www.nocrew.org/software/httptunnel.html
-
ffmpeg no longer tries to map options to those available with libx64, which is confusing when the names are different and different options are available between versions.
Use the “-x264opts” followed by key=value pairs, using “:” as a delimiter.
Example (from the man page):
ffmpeg -i foo.mpg -vcodec libx264 -x264opts keyint=123:min-keyint=20 -an out.mkvFor a list of all x264 options:
x264 --fullhelp -
I would pester whoever provides the virtual OS image to upgrade their ffmpeg package. You don’t want to use ffmpeg to do this because it is strictly an encoder, so it always needs an output file. i.e. you will be re-encoding, or for best case scenario, copying the file each time you do this, which for a virtual host is a big waste of resources just to find out the width and height of the video. Especially if you are providing it for general public access and expect it to scale gracefully.
Perhaps ancient versions supported a “-vstats” option without requiring a file output back before the ffprobe utility was created, but if so that documentation is no longer easy to find.
I have a feeling that this is probably a very old version of ffmpeg, so in order to provide anything useful for you, you’ll probably need to post the terminal output that is generated for the command you are using. (in your case, what do you get from “echo $result;”)
-
ffmpeg -y -i 0001.mp4 -i audio.mp3 -map 0:0 -map 1:0 -c:v copy -c:a libmp3lame -ar 44100 -aq 0 withaudio.mp4