Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Gyan Doshi
On 23-02-2021 12:40 pm, Mark Filipak (ffmpeg) wrote: On 2021-02-23 01:38, Carl Zwanzig wrote: You missed mentioning the program clock reference (PCR) of the -ts. -And- many references to PTS directly say that it's contained in a -ts (which if the -ts contains a -ps, is correct). The

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Mark Filipak (ffmpeg)
On 2021-02-23 01:38, Carl Zwanzig wrote: You missed mentioning the program clock reference (PCR) of the -ts. -And- many references to PTS directly say that it's contained in a -ts (which if the -ts contains a -ps, is correct). The answers are in a GIF illustration (not text) in the H.262

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Carl Zwanzig
You missed mentioning the program clock reference (PCR) of the -ts. -And- many references to PTS directly say that it's contained in a -ts (which if the -ts contains a -ps, is correct). The question is: What does ffmpeg use as its TB in the decoder and pipeline? Read the source code? It's

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Mark Filipak (ffmpeg)
On 2021-02-23 01:08, Mark Filipak (ffmpeg) wrote: On 2021-02-23 00:41, Carl Zwanzig wrote: -snip- ... 'Presentation time stamps have a resolution of 90kHz", so at 29.97fps the PTSs should be 3003.003... apart. Since they're whole numbers, that would be 3003, 6006, etc with an extra +1 every

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Mark Filipak (ffmpeg)
On 2021-02-23 00:41, Carl Zwanzig wrote: -snip- If you're starting with mpeg-ps or -ts, ... There's no such thing as PTS in mpeg-ts. The transport stream sets the SCR (System Clock Reference) (aka TB) but the PTSs are in the presentation stream, stored as integer ticks of the SCR. I've been

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Carl Zwanzig
(just saw Mark's latest as I was about to press send) On 2/22/2021 9:01 PM, Jim DeLaHunt wrote: The time base can be represented as a rational number, e.g. 1001/3 Usually expressed as the frame rate- 3/1001 (for NTSC). If you're starting with mpeg-ps or -ts, 'Presentation time stamps

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Mark Filipak (ffmpeg)
On 2021-02-23 00:01, Jim DeLaHunt wrote: On 2021-02-22 18:53, Mark Filipak (ffmpeg) wrote: Are these correct? ffmpeg PTS resolution is 1ms.… This at least is not correct AFAIK. Thanks, Jim. I certainly didn't expect such a lengthy response. I'll respond more verbosely. The Presentation

Re: [FFmpeg-user] PTS resolution

2021-02-22 Thread Jim DeLaHunt
On 2021-02-22 18:53, Mark Filipak (ffmpeg) wrote: Are these correct? ffmpeg PTS resolution is 1ms.… This at least is not correct AFAIK. The Presentation Time Stamp (PTS) value which FFmpeg associates with video frames and audio data is a 64-bit integer. There is an associated time base

[FFmpeg-user] ?????? how to call atadenoise function in ffmpeg

2021-02-22 Thread xsy_xsy
thx for your answer, Is there any guidance to make ffmepg and rundoc/examples/filter_audio.c on macOS ? And I want to use atadenoise in video process rather than audio process --原始邮件-- 发件人: "Carl Eugen Hoyos"https://ffmpeg.org/contact.html#MailingLists - the

[FFmpeg-user] AV Sync issue Live Stream

2021-02-22 Thread KRISHNAKUMAR N K
Hi I am doing a rtmp push of a live stream from a MIP/UDP input. The feed push works fine even for a few weeks, but suddenly I could see AV sync issues. I need to stop and start the feed each and every time, for the feed to work again. I see only the following log lines. Can someone give me a way

[FFmpeg-user] PTS resolution

2021-02-22 Thread Mark Filipak (ffmpeg)
Are these correct? ffmpeg PTS resolution is 1ms. DVD & BD PTS resolution is 0.01[1..]ms (i.e. 90x). The PTS difference between 24Hz & 23.976Hz is 0.0416[6..]ms. The PTS difference between 30Hz & 29.970Hz is 0.03[3..]ms. Thanks, Mark. -- In the 1970s, a year at Ohio State Univ = 1 month of

Re: [FFmpeg-user] how to call atadenoise function in ffmpeg

2021-02-22 Thread Carl Eugen Hoyos
Am Mo., 22. Feb. 2021 um 14:21 Uhr schrieb xsy_xsy <366366...@qq.com>: > > how to use atadenoise with source code See doc/examples/filter_audio.c > by transplanting it to a video engine. > Is there any example to call function "ff_atadenoise_init_x86" in > "FFmpeg/libavfilter/atadenoise.h" As

Re: [FFmpeg-user] Do I really need libaom?

2021-02-22 Thread Carl Eugen Hoyos
Am Mo., 22. Feb. 2021 um 13:18 Uhr schrieb Alexander Dyagilev : > We need to give our users an ability to convert arbitrary video > files to MP4. > > Some of these files uses AV1 codec. > > I've enabled the use of libdav1d library (which contains decoder only). > > Do we really need to include

[FFmpeg-user] linear loudnorm

2021-02-22 Thread Jonathan Baecker
Hello! I'm trying to nomalize an audio file with FFmpeg. I'm using the loudnorm filter. The source loudness is -23 LUFS and I want to make it -17 LUFS. As far as I know, loudnorm has 2 modes of normalizing audio: linear and dynamic (analysing small parts vs. analysing the whole file). The

[FFmpeg-user] how to call atadenoise function in ffmpeg

2021-02-22 Thread xsy_xsy
how to use atadenoise with source code by transplanting it to a video engine. Is there any example to call function "ff_atadenoise_init_x86" in "FFmpeg/libavfilter/atadenoise.h" ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] Do I really need libaom?

2021-02-22 Thread Alexander Dyagilev
Hello, We need to give our users an ability to convert arbitrary video files to MP4. Some of these files uses AV1 codec. I've enabled the use of libdav1d library (which contains decoder only). Do we really need to include libaom too? Is it OK (for a generic user purposes) to convert from