[Libav-user] Resampling pcm audio.

2018-06-13 Thread Hristo Ivanov
Hi. I am capturing video+audio of an IP camera(RTSP), transcoding it and saving it to file. The input looks like this: Input #0, rtsp, from 'rtsp://10.1.1.22/?line=1=1_line=1': Metadata: title : LIVE VIEW Duration: N/A, start: -0.001000, bitrate: N/A Stream #0:0: Video:

[Libav-user] Checking video files

2018-06-13 Thread Gabriele Greco
I'm trying to handle video errors in advance to avoid encoding broken files, to do it I want to decode the whole file and report if there are errors (ffmpeg 3.4.x). I use the "new" ffmpeg APIs, so my loop is basically while av_read_frame(input) > 0 { if (index == video) {

Re: [Libav-user] Link error of static libavcodec: libavcodec/eac3_core_bsf.c:39: undefined reference to `ff_ac3_parse_header'

2018-06-13 Thread Carl Eugen Hoyos
2018-06-12 5:19 GMT+02:00, nurupo : > I have built a static libavcodec and I'm trying to link it to an > application. I'm cross-compiling to Windows using mingw32-w64. When linking > the static libavcodec to my application I get the following errors: > >

Re: [Libav-user] Read RTCP lost packets info

2018-06-13 Thread Carl Eugen Hoyos
2018-06-11 16:17 GMT+02:00, Vitor Vanacor : > It seems to be something trivial, but I couldn't find a way to get the > information of the packets lost, usually sent by RTCP in RTP streams. > > I've seen this question ( >

Re: [Libav-user] Converting from one pixel format to another using the scale filter

2018-06-13 Thread Carl Eugen Hoyos
2018-06-11 13:19 GMT+02:00, Benjamin Pernot : > I would like to use the scale filter (based on swscale) to convert from one > pixel format to another, which means that I would like to be able to > specify to this filter the "dst_format" parameter (as well as "src_format" > parameter). >