Re: [Libav-user] avformat_find_stream_info times out on rtp stream
Is it also reproducible with "./ffmpeg -i rtp://hostname:port"? Carl Eugen Think there is an issue Version 2.6.8 from linuxtech repo is working Version 3.1.3 from ffmpeg is not Not exactly sure but here is my test case. Create rtp stream with ffmpeg 3.1.3 Tried to ffprobe stream with ffmpeg 3.1.3 and 2.6.8 Results https://gist.github.com/LinuxwitChdoCtOr/3099b6e68bd5597776e33f3a56c74251 I can also view the stream with VLC using old ffmpeg_libs Thanks cco ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user
Re: [Libav-user] avformat_find_stream_info times out on rtp stream
Is this timeout a known bug? Is there an rtp issue? Is the issue reproducible with current FFmpeg git head? Dunno, in ofline lab, will try tomorrow Is it also reproducible with "./ffmpeg -i rtp://hostname:port"? Is it also reproducible if you build with "./configure && make"? Carl Eugen Hangs ffprobe -i rtp://227.1.1.1:5000 http://ffmpeg.org/releases/ffmpeg-3.1.3.tar.bz2 configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --extra-cflags=-I../Nvidia --disable-crystalhd --enable-gnutls --enable-decoder=aac --enable-pthreads --enable-shared --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect --enable-nvenc Linux linux2 2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 18:30:56 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17) yasm 1.2.0 Thanks cco ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user
Re: [Libav-user] Querying v4l2 devices
avdevice_list_input_sources works. Thank you! сб, 17 сент. 2016 г. в 1:33, 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_mallocz(s->iformat->priv_data_size); > > if (s->iformat->priv_class) { > > *(const AVClass**)s->priv_data= s->iformat->priv_class; > > av_opt_set_defaults(s->priv_data); > > } > > } else > > s->priv_data = NULL; > > > > > > Maybe ff_alloc_input_device_context function should be moved to > > libavdevice's public API > > Ignore this answer, it should work but manipulates private fields > You should use avdevice_list_input_sources. If still not working then > please attach some *.c file so i can test it locally. > ___ > Libav-user mailing list > Libav-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/libav-user > ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user