Re: [Libav-user] FFMpeg Question about paket pts, dts and duration parameters

2020-04-28 Thread Denis Gottardello
*./ffmpeg -i rtsp://192.168.1.11:554/onvif1 test.mpg* it works, with this output: Input #0, rtsp, from 'rtsp://192.168.1.11:554/onvif1':

Re: [Libav-user] FFMpeg Question about paket pts, dts and duration parameters

2020-04-28 Thread Carl Eugen Hoyos
Am Di., 28. Apr. 2020 um 16:57 Uhr schrieb Denis Gottardello : > > > > > > Hi, after having implemented the remuxing.c example my program works with > file to file but not with rtsp camera to file. Does it work with ffmpeg (the application)? Does the rtsp demuxer returns any useful timestamps

[Libav-user] FFMpeg Question about paket pts, dts and duration parameters

2020-04-28 Thread Denis Gottardello
Hi, after having implemented the remuxing.c example my program works with file to file but not with rtsp camera to file. I think that the problem is related to the following lines of code: /Packet.pts= av_rescale_q_rnd(Packet.pts, pAVStreamIn->time_base, pAVStreamOut->time_base,