Re: [Libav-user] API Settings

2018-01-23 Thread Allan Rosner
Hi, The parameters I am referring to are constant chunk sizes, audio frame rates, video frame rates and key frames. Support for the media server provider, Wowza, has informed my company that those parameters are too variable, therefore causing buffering issues. What av_dict_set and/or av_opt_set s

[Libav-user] libavformat Realtime Best Practice

2018-01-23 Thread Steve Sisak
I’m in the process of writing to a wrapper for libavformat to record from an H.264/AAC RTSP stream on macOS/iOS and have some questions on how to start/stop the stream and respond to discontinuities cleanly (i.e. without large hiccups). I’m using libavformat solely for the RTSP implementation an

Re: [Libav-user] MUX Synchronize dts/pts/basetime does it mandatory?

2018-01-23 Thread Corey Taylor
On Tue, Jan 23, 2018 at 1:19 AM, kckang wrote: > //this code is not work > > dts = av_gettime() / 1000; > dts = dts * 25; > printf( "DTS:%l",dts); > dts = av_gettime(); > int duration = 20; // 20 > if(m_prevAudioDts > 0LL) { > duration = dts - m_prevAudioDts; > } >

Re: [Libav-user] How to get the last frame from a filter graph?

2018-01-23 Thread Tobias Rapp
On 23.01.2018 09:12, Corey Taylor wrote: On Tue, Jan 23, 2018 at 2:04 AM, Tobias Rapp wrote: Hi, in my application I have problems getting the last frame out of a filter graph when the filter chain includes the yadif filter. The application is based on the filtering_video.c example and I can r

Re: [Libav-user] How to get the last frame from a filter graph?

2018-01-23 Thread Corey Taylor
On Tue, Jan 23, 2018 at 2:04 AM, Tobias Rapp wrote: > Hi, > > in my application I have problems getting the last frame out of a filter > graph when the filter chain includes the yadif filter. The application is > based on the filtering_video.c example and I can reproduce it when adding > the yadif

[Libav-user] How to get the last frame from a filter graph?

2018-01-23 Thread Tobias Rapp
Hi, in my application I have problems getting the last frame out of a filter graph when the filter chain includes the yadif filter. The application is based on the filtering_video.c example and I can reproduce it when adding the yadif filter there (see attached file). How can I make sure to