Re: [FFmpeg-user] To make a PTS, FFmpeg is truncating *up*

2024-02-15 Thread Diederick C. Niehorster
Hi Mark, On Thu, Feb 15, 2024, 19:42 Mark Filipak wrote: > Here is my first finding. > Can someone who reads 'C' code locate the code and investigate? > As told to you many times now, you need to provide a complete command line, with accessible input files, so that others can reproduce. Else

Re: [FFmpeg-user] lavfi-preview

2022-10-31 Thread Diederick C. Niehorster
Hi Paul, On Mon, Oct 31, 2022 at 11:51 AM Paul B Mahol wrote: > > On 10/31/22, Diederick C. Niehorster wrote: > > So more generally, how to preview and then edit the filter graph? > > If it played out and video is gone, just press Ctrl+Enter again > and after that Shi

Re: [FFmpeg-user] lavfi-preview

2022-10-31 Thread Diederick C. Niehorster
Hi Paul, On Mon, Oct 31, 2022 at 10:35 AM Paul B Mahol wrote: > > On 4/24/22, Bang He wrote: > > hwo to run it > > > > There are now binaries auto build for Windows and Linux and are ready > for download. > All for 64bit. This is super! Really nice to play with. I have trouble understanding

Re: [FFmpeg-user] failed to compile with av_ts2timestr

2022-05-29 Thread Diederick C. Niehorster
On Sun, May 29, 2022 at 4:04 AM Bang He wrote: > > my application code will call some ffmpeg api. > > here is my code which call ffmpeg api: > printf("pts %s\n", av_ts2timestr(packet.pts, stream->time_base)); > > error when compiled: > ffmpeg/include/libavutil/timestamp.h:76:83: error: taking

Re: [FFmpeg-user] Change device setting from CLI?

2022-04-11 Thread Diederick C. Niehorster
Hi Steve, On Mon, Apr 11, 2022, 11:47 Steve Russell wrote: > Ah, that's useful, thanks - I'll take a look at OBS Studio. > > I do, however, think there should be a way to do what I want with ffmpeg. > If the GUI tool can change the settings, it's hard to believe that there's > not a command

Re: [FFmpeg-user] lavfi-preview

2022-03-30 Thread Diederick C. Niehorster
Hi Paul, On Wed, Mar 30, 2022 at 1:53 PM Paul B Mahol wrote: > > Hello, > > I would like to inform you about the new tool, located here: > > https://github.com/richardpl/lavfi-preview > > It is GUI filtergraph editor and foremost ffmpeg's libavfilter filtergraph > preview tool. > > It is in

Re: [FFmpeg-user] Bad dst image pointers

2021-07-12 Thread Diederick C. Niehorster
av_frame_alloc alone is not enough, you also need to allocate the memory for the image data, e.g. using av_image_alloc see e.g. https://ffmpeg.org/doxygen/trunk/doc_2examples_2decoding_encoding_8c-example.html On Mon, Jul 12, 2021 at 1:09 PM 李罗 wrote: > > > I have already connected and opened

Re: [FFmpeg-user] help: I use av_err2str function in c++, it occurs " error: taking address of temporary array" when build.

2021-06-10 Thread Diederick C. Niehorster
That macro doesn't work in C++. use: char a[AV_ERROR_MAX_STRING_SIZE] = { 0 }; av_make_error_string(a, AV_ERROR_MAX_STRING_SIZE, errCode_); On Thu, Jun 10, 2021 at 12:40 PM 沈海煌 wrote: > > I use av_err2str function in c++, it occurs " error: taking address of > temporary array" when build. > >

[FFmpeg-user] dshow and gdigrab formats missing NOSEEK flags?

2021-05-24 Thread Diederick C. Niehorster
Dear Sir, Madam, I am trying to figure out whether a format is seekable. It was suggested to me to check the context->iformat (AVInputFormat) flags and whether read_seek/read_seek2 are non-NULL. That however does not work correctly for the dshow and gdigrab avdevice input formats, as these do not