Re: [FFmpeg-user] Default Lanczos kernel?

2019-05-26 Thread Werner Robitza
On Tue, May 21, 2019 at 4:08 PM Werner Robitza wrote: > I was looking for some documentation for the Lanczos resampling > filter, but I cannot find any mention of the default value for the > alpha parameter. > Based on some debugging: the

[FFmpeg-user] Default Lanczos kernel?

2019-05-21 Thread Werner Robitza
All, I was looking for some documentation for the Lanczos resampling filter, but I cannot find any mention of the default value for the alpha parameter. I see this in swscale.h: For SWS_LANCZOS param[0] tunes the width of the window function I also see that SWS_PARAM_DEFAULT is 123456,

Re: [FFmpeg-user] ffprobe -show_frames values

2015-05-13 Thread Werner Robitza
On Wed, May 13, 2015 at 7:07 AM, Anatol anatol2...@gmail.com wrote: Werner, can you please shortly explain the no-scenecut issue. Without scenecut detection, if such event occurs in the middle of the GOP, as it usually does, the video quality till the end of the GOP will be rather compromised.

Re: [FFmpeg-user] ffprobe -show_frames values

2015-05-12 Thread Werner Robitza
On Mon, May 11, 2015 at 10:49 PM, Joel Lopez badassmexi...@gmail.com wrote: Could I just run my unaligned files through ffmpeg again with a set keyframe interval and disabled scene cut detection? Or do I need to scrap them and re-encode the source file and generate new files that are properly

Re: [FFmpeg-user] ffprobe -show_frames values

2015-05-12 Thread Werner Robitza
Make sure to disable '-g' option, occasionally x264 generates both forced and '-g', increasing the bitrate, reducing the quality and causing some other mess. There's no way to disable the -g option. If you don't use it, x264 will stick to the default values of keyint=250 and min-keyint=25.

Re: [FFmpeg-user] Encoding multiple files for adaptive bit rate streaming using RTMP and HLS

2015-05-12 Thread Werner Robitza
On Tue, May 12, 2015 at 1:25 AM, Joel Lopez badassmexi...@gmail.com wrote: Can I add a few lower versions to the mix and a higher one? Yes, you should do that. Can I realign the keyframes of the existing files? That's going to be hard. You're better off re-encoding from scratch with a fixed

Re: [FFmpeg-user] ffprobe -show_frames values

2015-05-12 Thread Werner Robitza
On Tue, May 12, 2015 at 2:45 PM, Christian Ebert blacktr...@gmx.net wrote: * Nicolas George on Tuesday, May 05, 2015 at 17:28:33 +0200 As an additional note, the second solution if by far preferable, because forcing the frame type too frequently ruins x264's bit allocation algorithms. As per

Re: [FFmpeg-user] Encoding multiple files for adaptive bit rate streaming using RTMP and HLS

2015-05-12 Thread Werner Robitza
On Tue, May 12, 2015 at 11:47 AM, Henk D. Schoneveld belca...@zonnet.nl wrote: Would you be so kind to explain why to NOT use the crf option? CRF is essentially a constant quality mode, which results in variable bitrate depending on the spatiotemporal complexity of the scenes. For streaming

Re: [FFmpeg-user] Encoding multiple files for adaptive bit rate streaming using RTMP and HLS

2015-05-12 Thread Werner Robitza
On Tue, May 12, 2015 at 3:16 PM, Henk D. Schoneveld belca...@zonnet.nl wrote: On 12 May 2015, at 13:50, Werner Robitza werner.robi...@gmail.com wrote: On Tue, May 12, 2015 at 11:47 AM, Henk D. Schoneveld belca...@zonnet.nl wrote: Would you be so kind to explain why to NOT use the crf option

Re: [FFmpeg-user] ffprobe -show_frames values

2015-05-05 Thread Werner Robitza
On Tue, May 5, 2015 at 12:05 AM, Joel Lopez badassmexi...@gmail.com wrote: Should I re-encode these videos or could they still work? I saw that it's be possible to force keyframes on an existing video. You need to re-encode them with either the force_key_frames option, or by setting the

Re: [FFmpeg-user] ffprobe -show_frames values

2015-05-01 Thread Werner Robitza
On Thu, Apr 30, 2015 at 5:26 PM, Joel Lopez badassmexi...@gmail.com wrote: Thanks for the help. It's making a bit of sense now. It looks like my keyframes are 1/3 of a second. Is less than 2 seconds apart ok? For adaptive streaming the keyframes should be at regular intervals. That means,

Re: [FFmpeg-user] Making conditional statements with FFMPEG

2015-04-30 Thread Werner Robitza
On Thu, Apr 30, 2015 at 3:04 PM, Werner Robitza werner.robi...@gmail.com wrote: There are many ways to get Bash on Windows. I should add that you can also transform this into a Windows Batch file, or a Java program that does the looping and executes ffmpeg. What's important is that ffmpeg on its

Re: [FFmpeg-user] Making conditional statements with FFMPEG

2015-04-30 Thread Werner Robitza
On Thu, Apr 30, 2015 at 2:22 PM, Chris Zecco cze...@mreach.com wrote: Thanks Moritz, Would I enter this right into my command prompt, or would I create a separate file to run this statement from? I keep getting an error saying File unexpected at this time. Apologies for any ignorance. I am

Re: [FFmpeg-user] getting error

2015-04-21 Thread Werner Robitza
On Tue, Apr 21, 2015 at 1:42 PM, aryan singh aryan...@gmail.com wrote: configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame

Re: [FFmpeg-user] getting error

2015-04-21 Thread Werner Robitza
On Tue, Apr 21, 2015 at 9:24 PM, Nicolas George geo...@nsup.org wrote: Le duodi 2 floréal, an CCXXIII, Werner Robitza a écrit : This may or may not work depending on how you built x265. It will work if the system is correctly configured and x265 is properly installed, but this mailing-list

Re: [FFmpeg-user] Fail to concatenate 2 videos

2015-04-21 Thread Werner Robitza
On Tue, Apr 21, 2015 at 10:01 AM, babeman92 brem...@cvz.es wrote: avconv Please note that this is an FFmpeg mailing list. You are using avconv from the Libav project, which is similar to FFmpeg but a different project. This mailing list is for issues with the ffmpeg command from the FFmpeg

Re: [FFmpeg-user] How to pass -x264opts value with embedded colon in option value

2015-04-19 Thread Werner Robitza
On Thu, Apr 16, 2015 at 8:29 PM, David Favor da...@davidfavor.com wrote: Looked through the docs Please look more carefully: x264opts (N.A.) Set any x264 option, see x264 --fullhelp for a list. Argument is a list of key=value couples separated by :. In filter and psy-rd options that use

Re: [FFmpeg-user] Building FFMPEG and enabling x265

2015-04-15 Thread Werner Robitza
On Wed, Apr 15, 2015 at 12:38 PM, Nicolas George geo...@nsup.org wrote: Le sextidi 26 germinal, an CCXXIII, Werner Robitza a écrit : What's not correct? Your installation of x265. In what way, then? How else should I install it? Of course I know that it does not include x265. Hence my

Re: [FFmpeg-user] Building FFMPEG and enabling x265

2015-04-15 Thread Werner Robitza
On Wed, Apr 15, 2015 at 2:17 PM, Clément Bœsch u...@pkh.me wrote: On Tue, Apr 14, 2015 at 03:41:49PM +0200, Alexander Martin Dethof wrote: Do that for x265 (or find the equivalent) and use make install (no root needed, you have write perm in $HOME/ffmpeg_build). This will deploy a .pc file

Re: [FFmpeg-user] Building FFMPEG and enabling x265

2015-04-15 Thread Werner Robitza
On Wed, Apr 15, 2015 at 9:57 AM, Nicolas George geo...@nsup.org wrote: I also tried to modify the PKG_CONFIG_PATH var to In the future, look for the .pc files instead of trying random values. If you mean $HOME/ffmpeg_sources/x265/build/linux, then the .pc file is actually there. $ find ~

Re: [FFmpeg-user] MPEG-DASH

2015-02-10 Thread Werner Robitza
On Tue, Feb 10, 2015 at 3:23 PM, Knapek Miroslav kna...@mmsw.cz wrote: I would like to kindly ask you for help. I try to encode my first mpeg-dash video using these steps: http://www.dash-player.com/blog/2014/11/mpeg-dash-content-generation-using-mp4box-and-x264/. I use panasonic camcoder

Re: [FFmpeg-user] Frame rates and video accelerated

2015-02-09 Thread Werner Robitza
On Sat, Feb 7, 2015 at 6:05 PM, Cristiano Chieppa cristiano.chie...@gmail.com wrote: I save the raw frames (NALs) in a file (some frames grabbed from a camera) and I invoke the ffmpeg from the sw - like a batch program - to encode the raw H264 in MP4. The conversion works well. Out of

Re: [FFmpeg-user] Add black on both side with 1024x576

2015-02-09 Thread Werner Robitza
On Mon, Feb 9, 2015 at 3:32 PM, thibault75 thiba...@capitalvision.fr wrote: I've got some video in 4/3 and other one in 16/9. I want to transcode this video to 1024x576 which is 16/9 ratio. If it's a 4/3 i want black to be add on each side of the video and if it's a 16/9 i just want video to

Re: [FFmpeg-user] Frame rates and video accelerated

2015-02-09 Thread Werner Robitza
On Mon, Feb 9, 2015 at 9:10 PM, chie...@elmaxsrl.it wrote: I'm pretty sure that the raw H264 hasn't the timestamps. The NAL units themselves, no, but AFAIK the SPS can indicate the time base according to the VUI information in Annex E of H.264. So you have to make sure that this is present

Re: [FFmpeg-user] clipping bug on h264 files made by ffmpeg same version

2015-02-04 Thread Werner Robitza
On Wed, Feb 4, 2015 at 8:58 PM, S Andreason sandrea...@gmail.com wrote: I didn't get any reply to my Jan22 report, so I'm sending this again with working examples, and freshly compiled ffmpeg code: Good report, but have you considered posting an official bug report? = https://trac.ffmpeg.org

Re: [FFmpeg-user] error in ffmpeg

2015-02-04 Thread Werner Robitza
On Wed, Feb 4, 2015 at 8:42 AM, Mohammad Shakir shaki...@gmail.com wrote: I want to rebrodcast this stream on udp but getting error, please help me to resolve this problem. Do you even need the bitstream filter here? ___ ffmpeg-user mailing list

Re: [FFmpeg-user] I am confused between your FFMPEG and Sourcefordge FFMPEG

2015-01-26 Thread Werner Robitza
On Mon, Jan 26, 2015 at 4:58 PM, Dani A danix4u-at-yahoo@ffmpeg.org wrote: So can someone amazing show me how I can install both the latest FFMPEG library from FFMPEG.org and the PHPvideotoolkit v2 on my CENTOS/ Cpanel? My server is live and I do not want to start testing stuff on it.

Re: [FFmpeg-user] I am confused between your FFMPEG and Sourcefordge FFMPEG

2015-01-26 Thread Werner Robitza
On Mon, Jan 26, 2015 at 5:35 PM, Nicolas George geo...@nsup.org wrote: So if you plan to run code that REQUIRES ffmpeg-php to work, my guess is that you will need to run ffmpeg-php with whatever ancient version of ffmpeg is available for your CentOS. To add to the confusion, there is also

Re: [FFmpeg-user] Adding Audio to a video without re-encoding?

2015-01-25 Thread Werner Robitza
On Sun, Jan 25, 2015 at 7:15 AM, meino.cra...@gmx.de wrote: I have an video file (h264), which is without audio. I want to add music to it and have an audio file of the correct length. Is it possible to add that audio file to the video file without re-encoding one or both files? And if yes,

Re: [FFmpeg-user] dynamic image overlay

2015-01-23 Thread Werner Robitza
On Fri, Jan 23, 2015 at 3:28 AM, Mark mwambler-at-yahoo@ffmpeg.org wrote: Thanks for responding. I'd like to alter the overlay image / watermark based on an external condition. So far I've tried pointing the image input to an http servlet that will alter the image data. Didn't work as

[FFmpeg-user] How to use the dashenc muxer?

2015-01-23 Thread Werner Robitza
Is there any documentation on how to actually use the dashenc muxer? More specifically, how multiple representations can be added to an adaptation set? Or is it just limited to one video/audio stream at the time? I would hope that some documentation is added until the next release.

Re: [FFmpeg-user] dynamic image overlay

2015-01-22 Thread Werner Robitza
On Thu, Jan 22, 2015 at 10:28 PM, Mark Ambler mwambler-at-yahoo@ffmpeg.org wrote: Hi All,Found this thread on the mailing list from back in 2012. Was it ever implemented? if yes... any command line samples out there? https://ffmpeg.org/pipermail/ffmpeg-user/2012-August/008703.html It

Re: [FFmpeg-user] X264 and Smooth Text

2015-01-19 Thread Werner Robitza
On Mon, Jan 19, 2015 at 7:49 AM, Robert Nagy rona...@gmail.com wrote: However, at the first 1-2 seconds of the video the text looks quite a bit worse and then pops to better quality. Is there some setting I can use so that x264 uses a higher bitrate at the beginning of a clip as to avoid the

Re: [FFmpeg-user] Image Conversion TIFF JPEG with yuv422 chroma subsampling

2015-01-19 Thread Werner Robitza
On Mon, Jan 19, 2015 at 6:05 PM, Andrea Rastelli a.raste...@rbw-cgi.it wrote: $ ffmpeg.exe -pix_fmt yuv422p -i in.tif out.jpg -q 1 Set -q before specifying the output filename. -pix_fmt specified before -i will try to read the input with said format. That doesn't make a lot of sense here.

Re: [FFmpeg-user] Rawvideo Stream

2014-12-31 Thread Werner Robitza
On Wed, Dec 31, 2014 at 4:16 AM, Yafes Sahin yafes7-at-yahoo...@ffmpeg.org wrote: So what is the right way of streaming raw-input from a camera or any raw-video source. I'd capture the raw data, wrap it in UDP packets, and send it manually over the wire. You could do this very easily with any

Re: [FFmpeg-user] Packet header is not contained in global metadata when segmenting and encoding x264

2014-07-29 Thread Werner Robitza
On Wed, Jul 23, 2014 at 4:02 PM, Christian Ebert blacktr...@gmx.net wrote: If it's about avoiding intermediate files, encode to mpegts directly and pipe it to the segmenter: ffmpeg -i input.mp4 -f mpegts -c:a copy -c:v libx264 - | \ ffmpeg -i - -c copy -map 0 -f segment -segment_time 5

[FFmpeg-user] Packet header is not contained in global metadata when segmenting and encoding x264

2014-07-23 Thread Werner Robitza
I have an x264-encoded MP4 file which I'd like to segment into MPEG-TS. ffmpeg -y -i tmp/tmpPass2.mp4 -c:v libx264 -acodec copy -map 0 -f segment -bsf h264_mp4toannexb -segment_time 5 -segment_format mpegts ./tsSegmentsDisplay/SRC04_Q1_%05d.ts The original was encoded with: ffmpeg -y -i

Re: [FFmpeg-user] Packet header is not contained in global metadata when segmenting and encoding x264

2014-07-23 Thread Werner Robitza
On Wed, Jul 23, 2014 at 2:46 PM, Christian Ebert blacktr...@gmx.net wrote: I guess you just want to copy (-c copy both video and audio), not re-encode (-c:v libx264) I do want to re-encode (for various reasons, one being that I need another keyframe interval).