Re: [Libav-user] may I use ffmpeg API just for decoding

2018-03-26 Thread YIRAN LI
2018-03-24 21:13 GMT+11:00 YIRAN LI : > Hi guys, > > > Want to confirm one thing. May I write my own demuxer (for example for > AVI) and only use ffmpeg API for video/audio decoding? > > > Thanks > ​ Hi guys, I've found an example video_decode_example@avcodec.c (mine is

[Libav-user] Audio stream is longer than video when muxing

2018-03-26 Thread Michael IV
Hi. I will ask again,as nobody answered. I am performing muxing,based on muxing.c example.But in my case the audio comes from a file,which sometimes is longer (in terms of duration) then the video stream. For some reason,even that I am checking and comparing current times of both streams,at the