![]() ![]() I’m not 100% sure, but is it possible the line 387 (c->max_b_frames = 0 ) is the issue? It sets fixed b-frames value to zero, so only I-frames are used and that is actually the same as setting “keyint=1” (only use I-frames)? Maybe some other parameter is the issue. I tried to parse the parameters to CasparCG (keyint=25, g=25), but it seems the keyint parameter is ignored for some reason. Same result happens if I enter “-x264opts keyint=1” or “g=1” to direct ffmpeg command. It seems like gop size or keyint are somehow fixed at very low values (0 or 1). ![]() ![]() However, I have found the issue with that CasparCG version. The version I’m using (please check the link in the first post) uses latest ffmpeg 4.0 - 32bit shared libraries. I pasted the screenshots with ffmpeg and CasparCG configurations for This isn’t true. The erratic PCR-interval only happens with libx264 video codec, but if I use mpeg2video codec it works perfectly ok. What could be the reason for this situation? Is there maybe any special ffmpeg parameter which is set by default with ffmpeg, but CasparCG ignores it for some reason or isn’t set at all? Is it possible there’s something in the source code? The CasparCG created stream is without any errors, but PCR-interval jumps from 1ms to 30ms all the time. I parsed the ffmpeg parameters above to CasparCG and created the following config: This command above produces perfect CBR (libx264, aac) UDP MpegTS stream with perfect PCR interval around 30ms. I’m using same ffmpeg version for testing. Current ffmpeg shared libraries version is 4.0. I’m using CasparCG version 2.0.6 with TVPlay ( ). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |