Re: [FFmpeg-devel] [PATCH] Notify user when encode a CBR mp3 file without "-write_xing false". This may result in mp3 file duration incorect on ios safari browser and webview. I try to fix it but it c

2017-04-22 Thread sharp bai
ios safari browser support the xing header, and the duration of the mp3 file with xing header is correct. But with "Info" replaced "Xing" in xing header in CBR mode, ios safari browser does not skip the first frame and using the first frame header(the bitrate in header has changed to enlarge frame

Re: [FFmpeg-devel] [PATCH] [PATCH] avdevice/avfoundation: add scaleFactor attribute for avfoundation

2017-08-18 Thread sharp bai
Thank you for your patient. I will follow your direction. Question 1: Your patch misses to cover the scale factor in case of a device name string given by the user. The problem in mac os the screen to be catpured in avfoundation not have a real name. Only video device in avfoundation has a name.

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-09-04 Thread sharp bai
We have tested on iOS 12 and other version. Only on iOS 11 this crash occurs, regardless using which device such as iPhone 8, iPhone X or iPhone 7. Aman Gupta 于2019年9月4日周三 上午7:48写道: > > > > On Mon, Aug 12, 2019 at 11:50 PM sharpbai wrote: >> >> On iOS 11, encoding a frame may return error with