Re: [FFmpeg-user] Question about ffmpeg and Unity

2022-06-15 Thread Yang Zhang
Hi, If you mean the when you using ffmpeg recording, it stopped unexpectedly. Please post ffmpeg's last a few lines error message, it should help for indicate why it's interrupted. On 6/15/22, 井澤拓海 wrote: > Nice to meet you. I am a programmer in Japan. > Please understand that this sentence is w

[FFmpeg-user] Audio out of sync after many Non-monotonous DTS in output stream warning

2020-03-22 Thread Yang Zhang
when I transcoding some live stream that comes from DVB, I got many warnings bellow and after a few hours, the audio out of sync. [tee @ 0x2998780] Non-monotonous DTS in output stream 0:0; previous: 27931, current: 27929; changing to 27932. This may result in incorrect timestamps in the output fil

Re: [FFmpeg-user] Is ffmpeg trac down?

2019-04-15 Thread Yang Zhang
I seen it's down in a few days ago, I thought it may be my internet problem before. now I can only use google cache to visit the page. On Tue, Apr 16, 2019 at 4:10 AM Carl Eugen Hoyos wrote: > > > Von meinem iPhone gesendet > > > Am 15.04.2019 um 21:48 schrieb Dennis Mungai : > > > > FFmpeg trac

Re: [FFmpeg-user] RES: A question on the Quadro P6000 and maximum simultaneous NVENC encodes in FFmpeg

2018-08-23 Thread Yang Zhang
issing documentation. > > On Fri, 24 Aug 2018 at 01:32, Yang Zhang wrote: > >> for some reason, the developer called it cuvid, but nvidia called it >> nvdec. so there is -hwaccel nvdec is a wrong option. >> >> On 8/24/18, Dennis Mungai wrote: >> > For full GP

Re: [FFmpeg-user] RES: A question on the Quadro P6000 and maximum simultaneous NVENC encodes in FFmpeg

2018-08-23 Thread Yang Zhang
he decoder > should be set to nvdec. > > On Fri, 24 Aug 2018 at 01:24, Yang Zhang wrote: > >> If you didn't specify -hwaccel option, then the full gpu transcoding >> is disabled. for example: >> >> 1. full gpu transcoding. >> $ ffmpeg -hwaccel

Re: [FFmpeg-user] RES: A question on the Quadro P6000 and maximum simultaneous NVENC encodes in FFmpeg

2018-08-23 Thread Yang Zhang
> > > On Fri, 24 Aug 2018 at 01:14, Yang Zhang wrote: > >> Yes, 25 hd1080p channels use -hwaccel cuvid options to do full hardware >> acceleration transcoding. other channels use the GPU encoding only. this >> should can let you transcoding more channels. and fix the s

Re: [FFmpeg-user] RES: A question on the Quadro P6000 and maximum simultaneous NVENC encodes in FFmpeg

2018-08-23 Thread Yang Zhang
eck, correct? > > Because what you're implying (by the bottleneck at decode side) would be a > limitation in how FFmpeg handles filter performance (hwupload, to be > exact), an issue that can be circumvented by eliminating hwaccel in decode. > > > > On Fri, 24 Aug 2018 at 0

Re: [FFmpeg-user] RES: A question on the Quadro P6000 and maximum simultaneous NVENC encodes in FFmpeg

2018-08-23 Thread Yang Zhang
The problem is even you using the Tesla P100, and you can see it has 3 NVENC chips inside it. but it has only 1 NVDEC chip, this is very very important. the bottleneck is at decoding side. this is why you got freezing or stutter problem. basically, perhaps you can use Tesla P100 encoding 75 hd1080p

Re: [FFmpeg-user] RES: A question on the Quadro P6000 and maximum simultaneous NVENC encodes in FFmpeg

2018-08-23 Thread Yang Zhang
Hi, I have a software for provide Nvidia GPU based transcoding. first of all, you don't have to use P6000, it's expensive. and same transcoding performance can be done with GTX 1060 or 1070. each 1060 can transcoding 25 hd1080 or 40 hd720 or 60+ hd480 channels. so basically, 4 GTX 1060 can transc

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Yang Zhang
at 4:32 AM, Dennis Mungai wrote: > Also, can you provide the output of vainfo? > > On 27 July 2018 at 09:27, Yang Zhang wrote: > > > It will cause you get the "partial HW acceleration" error message > > always. there is a patch fix the problem I remember, but I coul

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Yang Zhang
It will cause you get the "partial HW acceleration" error message always. there is a patch fix the problem I remember, but I couldn't find the patch in the latest FFmpeg On 7/27/18, qw wrote: > Hi, > > > I use the following command, which reports error: > > > ffmpeg -nostdin -y -hwaccel qsv -c:v

Re: [FFmpeg-user] ffmpeg 4.0 fails to transcoding one 4k clip

2018-07-27 Thread Yang Zhang
add -init_hw_device qsv before "-g 300". also I as known. in the ffmpeg-4.0, there is a bug in the h264_qsv and hevc_qsv codec. On 7/27/18, qw wrote: > Hi, > > > I use the following command, which reports error: > > > ffmpeg -nostdin -y -hwaccel qsv -c:v h264_qsv -i src_AVC_4K.mp4 -b:a 8 > -a

Re: [FFmpeg-user] Failed creating CUDA context for NVENC

2018-07-19 Thread Yang Zhang
e/nvidia-patch/ ? > > On Thu, Jul 19, 2018 at 8:40 AM Yang Zhang wrote: > >> Also, I noticed a change on Nvidia Matrix website. I remember previous >> matrix says 1070ti only 1 NVENC chip. but now it says some 1060ti and >> 1070ti has 2 NVENC chips. and the strangest thin

Re: [FFmpeg-user] Failed creating CUDA context for NVENC

2018-07-19 Thread Yang Zhang
about 80 MB for full gpu based SD channels transcoding. but the new model used 130 MB. On Thu, Jul 19, 2018 at 9:36 PM, Yang Zhang wrote: > Sure, > > I am using the latest 390.24 driver. I build the ffmpeg by myself. I > patched the Nvidia driver by forcing FFmpeg link to patched nv

Re: [FFmpeg-user] Failed creating CUDA context for NVENC

2018-07-19 Thread Yang Zhang
er published by NVIDIA or did you modify anything in > it? Also, can you please share your full ffmpeg command string that you use > for transcoding 60 SD channels for the sake of the community? > > Regards, > > Yugandhar > > On Thu, Jul 19, 2018 at 8:19 AM Yang Zhang wrote:

Re: [FFmpeg-user] Failed creating CUDA context for NVENC

2018-07-19 Thread Yang Zhang
I got this error before. the error code 0x2 is indicate no enough gpu memory. perhaps you can see the output of nvidia-smi tool indicate the gpu is still left 1GB or more. perhaps nvidia-smi's output is not exactly. or the nvidia driver limited it. my previous test is GTX 1070ti 8GB can transcodin

Re: [FFmpeg-user] configuration error when cross compile ffmpeg for arm

2017-09-22 Thread Yang Zhang
I am not a expert, but the problem seems is caused by libx264.so, please try install both 32 and 64 bit libx264. and try again On 9/20/17, 云雀 <645924...@qq.com> wrote: > Hi, > > Hope this mail found you well! > > I planed to cross compiling C++ program from my PC(Ubuntu 64 bits) to > Inforce 6540(

Re: [FFmpeg-user] FFmpeg交叉编译openssl时出错

2017-09-22 Thread Yang Zhang
openssl include header is missing, please check directory /usr/include, make sure there is header file "openssl/ssl.h", otherwise, you need install openssl first I think. On 9/19/17, l...@tybofone.com wrote: > Dear FFmpeg org, > > complie the ffmpeg with openssl error: > BEGIN /tmp/f

[FFmpeg-user] Bitrate Problem About Tee Pseudo-muxer

2017-06-02 Thread Yang Zhang
Hi, I am trying use tee muxer to output sample stream to multiple destinations. everything seems works fine. but the bitrate is always show N/A, and ffprobe show bitrate=N/A also. here is the simplest tee muxer command I am using: *ffmpeg -i test.mp4 -vcodec h264_qsv -c:v h264 -f tee -map 0:v [f