Re: [Libav-user] Querying v4l2 devices

2016-09-16 Thread Lukasz Marek
On 17.09.2016 00:08, Lukasz Marek wrote: I guess input device private data is not initialized, try to add this code right after formatContext->iformat=inputFormat, just replace s with formatContext if (s->iformat->priv_data_size > 0) { s->priv_data = av_mal

Re: [Libav-user] Querying v4l2 devices

2016-09-16 Thread Lukasz Marek
On 16.09.2016 23:39, Timur Guseynov wrote: Hi. I wrote the code for getting a list of input devices: avdevice_register_all(); AVFormatContext*formatContext=avformat_alloc_context(); AVInputFormat*inputFormat=NULL; while((inputFormat=av_input_video_device_next(inputFormat))) { formatContext

Re: [Libav-user] Adaptive bit rate support with ffmpeg

2015-08-06 Thread Lukasz Marek
W dniu czwartek, 6 sierpnia 2015 Ramanathan Annamalai < ramanathan.jeev...@gmail.com> napisał(a): > Can some one help me with some pointers on what I am doing wrong ? > HLS demuxed in ffmpeg doesn't scale quality for bandwidth. It is exposing all qualities as separate streams (combined into progr

Re: [Libav-user] sws_scale slow on arm with big resolution

2015-08-06 Thread Lukasz Marek
W dniu środa, 5 sierpnia 2015 Olivier Roger napisał(a): I have identified sws_scale as the bottleneck. On a samsung tablet > > with a 2500*1600 display it take more than 100ms to convert YUV to RGB > > causing huge latency in the video stream. > > Is there a way to speed up this conversion ? It d

Re: [Libav-user] Deep copy of AVCodecContext

2015-04-22 Thread Lukasz Marek
W dniu wtorek, 21 kwietnia 2015 Zahir Dhada napisał(a): > Hi all, > But I cannot seem to find anything on how to make a deep copy of the > AVCodecContext. > > Any help in the matter would be appreciated. > I didn't even try to understant your use case, but there is such function. It may be not

Re: [Libav-user] Question about avdevice_list_devices() using.

2015-01-15 Thread Lukasz Marek
On 20 August 2014 at 16:16, Mike Charikov wrote: > Hi! > > > > I try to use avdevice_list_devices() for getting list of video devices, > but don’t clearly understand, how to do that properly. How should I > properly init AVFormatContext for calling avdevice_list_devices()? > > > > Tried something