Re: [FFmpeg-user] FFMPEG sidechaincompress not working as it should?

2018-01-07 Thread Paul B Mahol
On 1/8/18, Carl Eugen Hoyos wrote: > 2017-10-23 7:03 GMT+02:00 Frank @ Taapo : > >> ffmpeg.exe -i temp_music.aif -i temp_voice.aif -filter_complex >> "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.1:ratio=5[bg]; > >> [bg][mix]amerge[fin*al]" -map [final] final.mp3 > > The letter "n

[FFmpeg-user] Lossless and colour preserving pix_fmt?

2018-01-07 Thread Jim DeLaHunt
Hello, ffmpeg'rs: I'm trying to overlay animated GIFS onto one white background, with some text at the top.  I'm looking for an incantation which a) does the job and b) leaves all the colours of the animated gifs unchanged. What options tell ffmpeg not to mess with the colour values, not to

Re: [FFmpeg-user] partial file restore from tape

2018-01-07 Thread Carl Eugen Hoyos
2018-01-08 4:03 GMT+01:00 Swami Kevala : > We write large HD video files (MXF) to LTO tape. We want to develop a > solution where we can restore a subclip alone from the tape. (This is > commonly referred to as PFR - partial file restore) (I wonder if mxf is the original format that you received

[FFmpeg-user] partial file restore from tape

2018-01-07 Thread Swami Kevala
Hi, We write large HD video files (MXF) to LTO tape. We want to develop a solution where we can restore a subclip alone from the tape. (This is commonly referred to as PFR - partial file restore) I understand the -ss and -t options can be used to cut out a subclip - but this is only when the enti

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Carl Eugen Hoyos
2018-01-08 1:40 GMT+01:00 Carl Eugen Hoyos : > 2018-01-08 1:33 GMT+01:00 Jim DeLaHunt : >> On 2018-01-07 16:24, Carl Eugen Hoyos wrote: >>> >>> 2018-01-08 1:12 GMT+01:00 Jim DeLaHunt : On 2018-01-07 15:20, Carl Eugen Hoyos wrote: > > ...[snip]... > I hope this helps, I will cl

[FFmpeg-user] MPEG-2 to H264 jerky output - soccer match

2018-01-07 Thread José María Infanzón
The outputs of the encoder is mpeg-2 and is encoded to h.264. Running ffprobe on the encoder output we have: Input #0, mpegts, from 'udp://@224.2.2.2:1005': Duration: N/A, start: 5006.384056, bitrate: 5256 kb/s Program 1025 Metadata: service_name: DTV4 service_provider:

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Carl Eugen Hoyos
2018-01-08 1:33 GMT+01:00 Jim DeLaHunt : > On 2018-01-07 16:24, Carl Eugen Hoyos wrote: >> >> 2018-01-08 1:12 GMT+01:00 Jim DeLaHunt : >>> >>> On 2018-01-07 15:20, Carl Eugen Hoyos wrote: ...[snip]... I hope this helps, I will close your ticket (and try to explain there). >> >>

Re: [FFmpeg-user] Autorotation issues - portrait orientation screen

2018-01-07 Thread Davood Falahati
>> So what I want is: >>Turn off the autorotation for files with >>rotation flag It's been a long time since ffmpeg automatically applies display_matrix side data to the video stream. Have you tried -noautorotate option in your script? Thank you, Davood Falahati ___

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Jim DeLaHunt
On 2018-01-07 16:24, Carl Eugen Hoyos wrote: 2018-01-08 1:12 GMT+01:00 Jim DeLaHunt : On 2018-01-07 15:20, Carl Eugen Hoyos wrote: ...[snip]... I hope this helps, I will close your ticket (and try to explain there). Sorry, this was apparently misleading: I am happy to try to explain the misund

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Carl Eugen Hoyos
2018-01-08 1:12 GMT+01:00 Jim DeLaHunt : > On 2018-01-07 15:20, Carl Eugen Hoyos wrote: >> >> ...[snip]... >> I hope this helps, I will close your ticket >> (and try to explain there). Sorry, this was apparently misleading: I am happy to try to explain the misunderstandings about formats and FFmp

Re: [FFmpeg-user] FFMPEG sidechaincompress not working as it should?

2018-01-07 Thread Carl Eugen Hoyos
2017-10-23 7:03 GMT+02:00 Frank @ Taapo : > ffmpeg.exe -i temp_music.aif -i temp_voice.aif -filter_complex > "[1:a]asplit=2[sc][mix];[0:a][sc]sidechaincompress=threshold=0.1:ratio=5[bg]; > [bg][mix]amerge[fin‌al]" -map [final] final.mp3 The letter "n‌" in the name of the output pad is another le

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Jim DeLaHunt
On 2018-01-07 13:29, Moritz Barsnick wrote: On Sun, Jan 07, 2018 at 12:55:20 -0800, Jim DeLaHunt wrote: Harrumph. "Just try it first" is practical advice for this project, it seems. LOL. I was just referring to doubts regarding the documentation. OTOH, some details are not or cannot be explaine

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Jim DeLaHunt
On 2018-01-07 15:20, Carl Eugen Hoyos wrote: ...[snip]... I hope this helps, I will close your ticket (and try to explain there). This response shows one of the reasons why the ffmpeg project has poor documentation. This ticket[1] points out deficiencies in the documentation. The developer's

Re: [FFmpeg-user] Autorotation issues - portrait orientation screen

2018-01-07 Thread Carl Eugen Hoyos
2018-01-08 0:37 GMT+01:00 Andrey Goreev : > I have 1920x1080 videos with rotation flag 90. After I use this command: > > ffmpeg -hide_banner -loglevel "${loglevel}" -y -i "${f}" -f mp4 -c:a "${ca}" > -b:a "${ba}" -c:v "${cv}" -crf "${crf}" -preset "${preset}" -map_metadata 0 > "${f%.*}_${suffix}

[FFmpeg-user] Autorotation issues - portrait orientation screen

2018-01-07 Thread Andrey Goreev
Hello, I have 1920x1080 videos with rotation flag 90. After I use this command: ffmpeg -hide_banner -loglevel "${loglevel}" -y -i "${f}" -f mp4 -c:a "${ca}" -b:a "${ba}" -c:v "${cv}" -crf "${crf}" -preset "${preset}" -map_metadata 0 "${f%.*}_${suffix}.mp4" where: cv="libx264" crf="23" preset=

Re: [FFmpeg-user] Combine 2 small GIF images to small animated GIF, fails with "Decoder (codec none) not found for input stream #0:0"

2018-01-07 Thread Carl Eugen Hoyos
2018-01-07 8:02 GMT+01:00 Jim DeLaHunt : > % ffmpeg -f image2 -i blue_%d.gif This did work in the past but at the same time, most gif files were not supported at all so it is very unlikely that current behaviour will change in the future (work-arounds are trivial depending on what your gif files

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Carl Eugen Hoyos
2018-01-07 8:08 GMT+01:00 Jim DeLaHunt : > I'm reading the documentation for the image2 demuxer[1]. It has three > examples, in section 20.9.1 Examples. > > ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv > ffmpeg -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv > ffmpeg -framerate 10 -p

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Moritz Barsnick
On Sun, Jan 07, 2018 at 12:55:20 -0800, Jim DeLaHunt wrote: > Harrumph. "Just try it first" is practical advice for this project, it > seems. LOL. I was just referring to doubts regarding the documentation. OTOH, some details are not or cannot be explained, so when a user poses a complicated "how

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Jim DeLaHunt
On 2018-01-07 11:01, Moritz Barsnick wrote: On Sat, Jan 06, 2018 at 23:08:32 -0800, Jim DeLaHunt wrote: ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv ffmpeg -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv Those examples la

Re: [FFmpeg-user] Combine 2 small GIF images to small animated GIF, fails with "Decoder (codec none) not found for input stream #0:0"

2018-01-07 Thread Jim DeLaHunt
On 2018-01-07 00:16, Gyan Doshi wrote: GIFs have a dedicated demuxer and don't work via the image2 demuxer. Thank you for your reply, Gyan. Oh wow, this seems like a pretty significant limitation on the image2 demuxer, and a deficiency in the documentation that this isn't mentioned. I've f

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Gyan Doshi
On 1/8/2018 12:31 AM, Moritz Barsnick wrote: I *believe* the detail that is missed in the documentation is that the use of a pattern "implies" the image2 demuxer (or muxer, if used as output). Apparently with such a high priority that I can't even open a single image named "%03d.jpg" without the

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Moritz Barsnick
On Sun, Jan 07, 2018 at 10:16:55 -0800, Jim DeLaHunt wrote: > And the term "demuxer" may be complicating things. The documentation for > `image2` describes it as a "demuxer"[1]. But elsewhere, I think the > FFmpeg documentation describes the operation of extracting multiple > still frames from a

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Moritz Barsnick
On Sat, Jan 06, 2018 at 23:08:32 -0800, Jim DeLaHunt wrote: > ffmpeg -framerate 10 -i 'img-%03d.jpeg' out.mkv > ffmpeg -framerate 10 -start_number 100 -i 'img-%03d.jpeg' out.mkv > ffmpeg -framerate 10 -pattern_type glob -i "*.png" out.mkv > > Those examples lack a `-f image2` option. I would expec

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Jim DeLaHunt
On 2018-01-07 00:48, Gyan Doshi wrote: On 1/7/2018 12:38 PM, Jim DeLaHunt wrote: Those examples lack a `-f image2` option. I would expect that option to be there; after all, isn't the image2 format exactly what this section is trying to explain? FFmpeg probes the input to determine its form

Re: [FFmpeg-user] FFMPEG sidechaincompress not working as it should?

2018-01-07 Thread Paul B Mahol
On 10/23/17, Frank @ Taapo wrote: > I have been trying to get sidechaining to work with FFMPEG, but my complex > filter skills are lacking. > > I'm running two aif files into ffmpeg, hoping the voice would "duck" the > background music when the voice-over is speaking. But I get an error with > thi

Re: [FFmpeg-user] image2 examples missing `-f image2`, can that be right?

2018-01-07 Thread Gyan Doshi
On 1/7/2018 12:38 PM, Jim DeLaHunt wrote: Those examples lack a `-f image2` option. I would expect that option to be there; after all, isn't the image2 format exactly what this section is trying to explain? FFmpeg probes the input to determine its format. Adding the `-f` option for an input

Re: [FFmpeg-user] Combine 2 small GIF images to small animated GIF, fails with "Decoder (codec none) not found for input stream #0:0"

2018-01-07 Thread Gyan Doshi
GIFs have a dedicated demuxer and don't work via the image2 demuxer. Try the concat demuxer, or ingest the two GIFs separately and use the concat filter. Regards, Gyan ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/lis