[FFmpeg-user] DASH Setting Fragment/Segment size properly

2020-09-24 Thread Ghaffar Ahmed
How to set the segment size and fragment size properly. I have played around with the settings but can't seem to achieve what i require ffmpeg -re -i "XXX.mxf" -pix_fmt yuv420p -vsync 1 -map 0:v:0 -map 0:a:0 -c:a aac -c:v libx264 -use_template 1 -use_timeline 1 -init_seg_name "init-stream$Repr

[FFmpeg-user] MPEGTS changes the duration of my video

2020-09-24 Thread Mar Andrés López
Dear all, When I process my video with ffmpeg and I set the format to mpegts, ¿why It changes the duration of my video from 00:00:04.56 to 00:00:04.00? ffmpeg -i video.mpg -map 0 -f mpegts out.mpg ffmpeg output for video.mpg: Duration: 00:00:04.56, start: 6916.00, bitrate: 4617 kb/s

Re: [FFmpeg-user] HOW TO APPLY LOUDNESS R128 PROFILE

2020-09-24 Thread Paul B Mahol
On Wed, Sep 23, 2020 at 03:30:25PM +0200, Marco Mircoli wrote: > Thanks Motitz, >this is a one pass norm. > Is there a way to implement 2 pass? Yes there is a way, you can search google among other things. First run loudnorm to get report of loudness values, after that use that reported value

Re: [FFmpeg-user] Correct conversion of yuvj420p?

2020-09-24 Thread Paul B Mahol
On Wed, Sep 23, 2020 at 11:31:43PM +0200, Peter B. wrote: > Hi Ted, > > On 11.09.20 14:03, Ted Park wrote: > > > > My problem is, that I have literally hundreds (actually more than > > > > 1000+) of > > > > these H.264/yuvj420p files that are to be auto-converted to archival > > > > FFV1, > > >

[FFmpeg-user] av_interleaved_write_frame(): Invalid argument

2020-09-24 Thread Mar Andrés López
Dear all, I want to set the same timestamps in my video.mpg which has a video stream and a klv data stream, when I perform this command: ffmpeg -vsync drop -i video.mpg -map 0 -codec copy -f mpegts output.mpg [mpegts @ 01ee5461df40] Timestamps are unset in a packet for stream 1. This is

[FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
How do I change the colour actually used as the chromakey colour? I am creating remap filters to do various image mappings and would like undefined pixels to be black rather than green. Apologies in advance if I simply didn't search the documentation sufficiently well. _

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 13:50 schrieb Paul Bourke: How do I change the colour actually used as the chromakey colour? I am creating remap filters to do various image mappings and would like undefined pixels to be black rather than green. Apologies in advance if I simply didn't search the documentation su

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul B Mahol
On Thu, Sep 24, 2020 at 07:50:32PM +0800, Paul Bourke wrote: > How do I change the colour actually used as the chromakey colour? > I am creating remap filters to do various image mappings and would > like undefined pixels to be black rather than green. If you switch to last ffmpeg version, there i

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
Hmmm ffmpeg -i Ajanta_cave26b.jpg -i x.pgm -i y.pgm -lavfi remap=fill=green a.png I get [Parsed_remap_0 @ 0x7fd6cac05200] Option 'fill' not found [AVFilterGraph @ 0x7fd6cae1c5c0] Error initializing filter 'remap' with args 'fill=green' Error initializing complex filters. Option not found ffmpeg

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 14:30 schrieb Paul Bourke: Hmmm ffmpeg -i Ajanta_cave26b.jpg -i x.pgm -i y.pgm -lavfi remap=fill=green a.png I get [Parsed_remap_0 @ 0x7fd6cac05200] Option 'fill' not found [AVFilterGraph @ 0x7fd6cae1c5c0] Error initializing filter 'remap' with args 'fill=green' Error initiali

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
Figured as much, installed 4.3.1 ... works a treat, thanks! I sent you an image but was too large and got blocked. On Thu, Sep 24, 2020 at 8:33 PM Michael Koch wrote: > > Am 24.09.2020 um 14:30 schrieb Paul Bourke: > > Hmmm > > > > ffmpeg -i Ajanta_cave26b.jpg -i x.pgm -i y.pgm -lavfi remap=fill

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
> Also, I really dunno why people keep using remap filter with its only > available neighbour pixel interpolator. Yeah, not ideal. I don't use it for images, I have my own solution for that with supersampling antialising. But for movie conversion, what is the alternative? I on occasion - Extract

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Michael Koch
Am 24.09.2020 um 14:52 schrieb Paul Bourke: Also, I really dunno why people keep using remap filter with its only available neighbour pixel interpolator. Yeah, not ideal. I don't use it for images, I have my own solution for that with supersampling antialising. But for movie conversion, what is

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul B Mahol
On Thu, Sep 24, 2020 at 08:52:44PM +0800, Paul Bourke wrote: > > Also, I really dunno why people keep using remap filter with its only > > available neighbour pixel interpolator. > > Yeah, not ideal. > > I don't use it for images, I have my own solution for that with > supersampling antialising.

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
> Nice idea, what upscaling methods you use? Do you use swscale by any chance? Not sure I understand. I don't upscale the movie/image, rather my code that creates the remap filters just creates the maps 2,3,4 times bigger than I eventually plan to use. > And what filters for upscaling and later d

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
The unfolded icosahedron is obviously not one of the options yet. Maybe some demand for it in the future, becoming increasingly popular in the machine learning game. On Thu, Sep 24, 2020 at 9:05 PM Michael Koch wrote: > > Am 24.09.2020 um 14:52 schrieb Paul Bourke: > >> Also, I really dunno why p

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-24 Thread Firas Shahin via ffmpeg-user
Well, I just tried that command you suggested, but it still skipped whenever it fetched a new TS. And it couldn’t be my connection speed as I have more than a Gbps internet speed. But this tells me that it must be the software versions, since you didn’t have any issues. I’ll update the software

[FFmpeg-user] FFmpeg on live streaming to Android devices

2020-09-24 Thread Leonardo Pagotto
Hello everyone, I'm working to have UDP live streams sent to Android setopboxes, it has to be 720p CBR 5Mbps @25fps HEVC. Source is UDP 1080p UDP H264. I've tried several settings but none of them seems to work, video starts to play then stops. My server runs os Ubuntu 18.04 Server Edition and it

Re: [FFmpeg-user] Howto specify needed options for ffmpeg

2020-09-24 Thread Thomas Seilund via ffmpeg-user
On 9/23/20 10:42 PM, Carl Eugen Hoyos wrote: Am Mi., 23. Sept. 2020 um 17:24 Uhr schrieb Thomas Seilund via ffmpeg-user : Now I write to udp and not to a local file with this command: raspivid -t 0 -b 1000 -n -o udp://239.255.42.42:5004 Connecting to 239.255.42.42:5004...connected, sendin

Re: [FFmpeg-user] KLV in ffmpeg

2020-09-24 Thread Devin Heitmueller
Hello Mar, I took a look at the sample you sent me privately, and it looks like the KLV data is present in the output file (using the command line you specified in your original email). Could you run the following and provide the output: ffprobe -show_packets out.mpg |grep stream_index=1|wc (wh

[FFmpeg-user] VP8 encoding performances

2020-09-24 Thread Emmanuel Dreyfus
Hello I am looking for ways to improve VP8 encoding performance. I work with 5 mn long, 5 MB large MPEG4 test video. Here is the codec information from ffprobe Duration: 00:05:08.20, start: 0.00, bitrate: 150 kb/s Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 32000 Hz, mono, fl

Re: [FFmpeg-user] MPEGTS changes the duration of my video

2020-09-24 Thread Carl Zwanzig
On 9/24/2020 12:41 AM, Mar Andrés López wrote: When I process my video with ffmpeg and I set the format to mpegts, ¿why It changes the duration of my video from 00:00:04.56 to 00:00:04.00? Please include the complete command line and output when asking a question. If you're not using a really

Re: [FFmpeg-user] ffplay struggling with this station!

2020-09-24 Thread Carl Zwanzig
On 9/24/2020 6:29 AM, Firas Shahin via ffmpeg-user wrote: But this tells me that it must be the software versions, since you didn’t have any issues. Always try with the current ffmpeg (and please do not top-post replies). Later, z! ___ ffmpeg-user

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Mark Filipak (ffmpeg)
On 09/24/2020 09:21 AM, Paul Bourke wrote: Nice idea, what upscaling methods you use? Do you use swscale by any chance? Not sure I understand. I don't upscale the movie/image, rather my code that creates the remap filters just creates the maps 2,3,4 times bigger than I eventually plan to use.

Re: [FFmpeg-user] VP8 encoding performances

2020-09-24 Thread Carl Eugen Hoyos
Am Do., 24. Sept. 2020 um 17:13 Uhr schrieb Emmanuel Dreyfus : > > Hello > > I am looking for ways to improve VP8 encoding performance. I work with 5 > mn long, 5 MB large MPEG4 test video. Here is the codec information from > ffprobe > > Duration: 00:05:08.20, start: 0.00, bitrate: 150 kb/s

Re: [FFmpeg-user] av_interleaved_write_frame(): Invalid argument

2020-09-24 Thread Carl Eugen Hoyos
Am Do., 24. Sept. 2020 um 11:42 Uhr schrieb Mar Andrés López : > I want to set the same timestamps in my video.mpg which has a video > stream and a klv data stream, when I perform this command: > > ffmpeg -vsync drop -i video.mpg -map 0 -codec copy -f mpegts output.mpg Complete, uncut console out

Re: [FFmpeg-user] Howto specify needed options for ffmpeg

2020-09-24 Thread Carl Eugen Hoyos
Am Do., 24. Sept. 2020 um 16:18 Uhr schrieb Thomas Seilund via ffmpeg-user : > > > On 9/23/20 10:42 PM, Carl Eugen Hoyos wrote: > > Am Mi., 23. Sept. 2020 um 17:24 Uhr schrieb Thomas Seilund via > > ffmpeg-user : > > > >> Now I write to udp and not to a local file with this command: > >> > >> raspi

Re: [FFmpeg-user] HOW TO APPLY LOUDNESS R128 PROFILE

2020-09-24 Thread Marco Mircoli
Thank you! Il giorno gio 24 set 2020 alle ore 09:54 Paul B Mahol ha scritto: > On Wed, Sep 23, 2020 at 03:30:25PM +0200, Marco Mircoli wrote: > > Thanks Motitz, > >this is a one pass norm. > > Is there a way to implement 2 pass? > > Yes there is a way, you can search google among other thin

Re: [FFmpeg-user] chroma colour

2020-09-24 Thread Paul Bourke
> >> Nice idea, what upscaling methods you use? Do you use swscale by any > >> chance? > > Not sure I understand. I don't upscale the movie/image, rather my code > > that creates the remap filters just creates the maps 2,3,4 times > > bigger than I eventually plan to use. > Hi, Paul. Can you tell