[FFmpeg-user] How do you keep all video metadata when transcoding using ffmpeg?

2023-09-29 Thread Stéphane Archer
This includes: - EXIF - IPTC - XMP - other metadata type I may not be aware of that my camera writes when creating the file -- Best Regards, Stephane Archer ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ff

[FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
This is an ffmpeg architecture question, so I don't have a specific log. When concatenating involving only demuxing and muxing, I sometimes get "buffer underflow". Why underflow? It's not a real time process. ___ ffmpeg-user mailing list ffmpeg-user@ffmp

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Reindl Harald
Am 29.09.23 um 16:33 schrieb Mark Filipak: This is an ffmpeg architecture question, so I don't have a specific log. but you have real outputs When concatenating involving only demuxing and muxing, I sometimes get "buffer underflow". Why underflow? It's not a real time process. you are lo

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 10:38 AM Reindl Harald wrote: > Am 29.09.23 um 16:33 schrieb Mark Filipak: > > This is an ffmpeg architecture question, so I don't have a specific log. > > but you have real outputs > > > When concatenating involving only demuxing and muxing, I sometimes get > > "buffer und

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Paul B Mahol
On 9/29/23, Mark Filipak wrote: > On Fri, Sep 29, 2023 at 10:38 AM Reindl Harald > wrote: >> Am 29.09.23 um 16:33 schrieb Mark Filipak: >> > This is an ffmpeg architecture question, so I don't have a specific log. >> >> but you have real outputs >> >> > When concatenating involving only demuxing

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 11:01 AM Paul B Mahol wrote: -snip- > Buffer underflow - something is too small in size. So there is unused, > wasteful space left. That's not correct. > Also could mean decoder and/or demuxer did not processed whole buffer. That's not underflow. That can be produced by

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Paul B Mahol
On 9/29/23, Mark Filipak wrote: > On Fri, Sep 29, 2023 at 11:01 AM Paul B Mahol wrote: > -snip- >> Buffer underflow - something is too small in size. So there is unused, >> wasteful space left. > > That's not correct. > >> Also could mean decoder and/or demuxer did not processed whole buffer. > >

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 11:36 AM Paul B Mahol wrote: > > On 9/29/23, Mark Filipak wrote: > > On Fri, Sep 29, 2023 at 11:01 AM Paul B Mahol wrote: > > -snip- > >> Buffer underflow - something is too small in size. So there is unused, > >> wasteful space left. > > > > That's not correct. > > > >>

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Paul B Mahol
On 9/29/23, Mark Filipak wrote: > On Fri, Sep 29, 2023 at 11:36 AM Paul B Mahol wrote: >> >> On 9/29/23, Mark Filipak wrote: >> > On Fri, Sep 29, 2023 at 11:01 AM Paul B Mahol wrote: >> > -snip- >> >> Buffer underflow - something is too small in size. So there is unused, >> >> wasteful space le

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 11:01 AM Paul B Mahol wrote: -snip- > Now I wonder what is wrong using concat demuxer. There you go, Paul. That's the right question. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread H. Vidal, Jr.
Semantics are a little different presumably but the concept is the same: presumably, an underflow condition exists when a consuming process may have the expectation of available data but cannot satisfy that consumption because of (presumably then unavailable, perhaps by error) lack of producer dat

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 11:48 AM H. Vidal, Jr. wrote: > > Semantics are a little different presumably but the concept > is the same: presumably, an underflow condition exists when > a consuming process may have the expectation of available data > but cannot satisfy that consumption because of (pre

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig
On 9/29/2023 8:42 AM, Mark Filipak wrote: I do need help. I didn't write ffmpeg. But you can pull down the code and read the concat muxer, which shouldn't be difficult if you've down real-time coding. There have been more than a couple of times when simply searching for the error message led

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 12:05 PM Carl Zwanzig wrote: > > On 9/29/2023 8:42 AM, Mark Filipak wrote: > > I do need help. I didn't write ffmpeg. > > But you can pull down the code I could... > and read the concat muxer, Yes... > which shouldn't be difficult if you've down real-time coding. I don

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 12:05 PM Carl Zwanzig wrote: -snip- I'll try. Carl, please enlighten me: If I '-bsf:v setts...' that appears to only affect video. Duh... Is there a global 'setts'-type directive that will simultaneously fix up PTSs/DTSs/time_base for video, audio, subtitles, and chapters

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig
On 9/29/2023 9:29 AM, Mark Filipak wrote: On Fri, Sep 29, 2023 at 12:05 PM Carl Zwanzig wrote: But you can pull down the code I could... and read the concat muxer, Yes... which shouldn't be difficult if you've down real-time coding. I don't read 'C'. My code is micro. It's not diffic

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig
On 9/29/2023 9:45 AM, Mark Filipak wrote: Carl, please enlighten me: If I '-bsf:v setts...' that appears to only affect video. Duh... -bsf[:stream_specifier] bitstream_filters (output,per-stream) :a will do the audio, :s for subtitles, etc (that's in the doc) Is there a global 'setts'-type d

[FFmpeg-user] 'forcing output' //523971 times

2023-09-29 Thread Mark Filipak
Audio is way out of sync. Video freezes. Kindly look at the log (attached due to webmail size limit) and tell me what I did wrong. Note: Previous snipping did not snip the chapters. Ignore that for now. Thank you, Mark. ffmpeg started on 2023-09-29 at 14:01:18 Report written to "ffmpeg-202

Re: [FFmpeg-user] 'forcing output' //523971 times

2023-09-29 Thread Devin Heitmueller
On Fri, Sep 29, 2023 at 2:51 PM Mark Filipak wrote: > > Audio is way out of sync. Video freezes. > Kindly look at the log (attached due to webmail size limit) and tell > me what I did wrong. > Note: Previous snipping did not snip the chapters. Ignore that for now. You generally can't set the audi

Re: [FFmpeg-user] 'forcing output' //523971 times

2023-09-29 Thread Mark Filipak
Hey Devin, On Fri, Sep 29, 2023 at 3:20 PM Devin Heitmueller wrote: > You generally can't set the audio PTS in that manner, Did I make a mistake? How would you do it? > as it blindly > assumes that an audio packet will contain exactly 2000 samples (which > it very likely will not, depending on

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 12:59 PM Carl Zwanzig wrote: > > On 9/29/2023 9:45 AM, Mark Filipak wrote: > > > Carl, please enlighten me: > > If I '-bsf:v setts...' that appears to only affect video. Duh... > > -bsf[:stream_specifier] bitstream_filters (output,per-stream) > :a will do the audio, :s for

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Paul B Mahol
On 9/29/23, Mark Filipak wrote: > On Fri, Sep 29, 2023 at 12:59 PM Carl Zwanzig wrote: >> >> On 9/29/2023 9:45 AM, Mark Filipak wrote: >> >> > Carl, please enlighten me: >> > If I '-bsf:v setts...' that appears to only affect video. Duh... >> >> -bsf[:stream_specifier] bitstream_filters (output,p

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Carl Zwanzig
On 9/29/2023 2:25 PM, Mark Filipak wrote: On Fri, Sep 29, 2023 at 12:59 PM Carl Zwanzig wrote: -bsf[:stream_specifier] bitstream_filters (output,per-stream) :a will do the audio, :s for subtitles, etc (that's in the doc) No, it's not in the doc. It surely is, that's where I quoted it from

Re: [FFmpeg-user] buffer underflow (?)

2023-09-29 Thread Mark Filipak
On Fri, Sep 29, 2023 at 6:35 PM Carl Zwanzig wrote: > On 9/29/2023 2:25 PM, Mark Filipak wrote: > > On Fri, Sep 29, 2023 at 12:59 PM Carl Zwanzig wrote: > >> -bsf[:stream_specifier] bitstream_filters (output,per-stream) > >> :a will do the audio, :s for subtitles, etc > >> (that's in the doc) > >