Re: [FFmpeg-user] Click-activated Stream Recording

2021-07-12 Thread Nicolas George
S. Helbig via ffmpeg-user (12021-07-12): > I'm wondering if there is a way for FFMPEG to handle click-activates > streams. I'm just experimenting at the moment. You are asking if FFmpeg contains a JavaScript engine. The answer is no. Regards, -- Nicolas George signature.asc Description: PG

[FFmpeg-user] Click-activated Stream Recording

2021-07-12 Thread S. Helbig via ffmpeg-user
Hello, I'm wondering if there is a way for FFMPEG to handle click-activates streams. I'm just experimenting at the moment. Youtube is a good example or this one here: http://ipcamlive.com/player/player.php?alias=leirvik ffmpeg -loglevel debug -hide_banner -i 'http://ipcamlive.com/player/player

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 c

[FFmpeg-user] Bad dst image pointers

2021-07-12 Thread 李罗
I have already connected and opened camera successfully. But I can not transfor frame data from AV_PIX_FMT_YUVJ422P to AV_PIX_FMT_BGR24 after decoding. As I call method sws_scale, 'bad dst iamge pointers' shows up. Any help will be appreciate, my code: AVFrame* pFrame, * pFrameYUV;