Community discussions

just joined
Topic Author
Posts: 1
Joined: Fri May 18, 2018 11:54 am

Problem with thread access in ffmpeg

Fri May 18, 2018 12:00 pm

Good day!
There is a problem that I already despaired of solving.
I have a server that broadcasts various video streams. Also there is a receiver - ffmpeg. It records streaming video, splits it into files and imposes graphics.
When the gateway is a server with FreeBSD, everything is in order.
As soon as I replace it with a Mikrotik, the flow begins to interrupt and write. At the same time - it all works.
What is the problem and where to dig?
I ask for help!

Mikrotik: RouterBOARD 1100
FFMPEG parameters:

ffmpeg -i rtmp://194.*.*.*:1935/**/****** -vf "drawtext='fontfile=/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf: text=%{localtime}': r=23.976: x=(w-tw)/2: y=h-(2*lh): fontcolor=white: box=1: boxcolor=0x00000099" -vcodec libx264 -x264opts bitrate=1500:vbv-maxrate=1500:vbv-bufsize=3000:nal-hrd=vbr -crf 0 -preset faster -f segment -segment_time 1800 -segment_format ts "capture-%03d.ts"

I suspect that there is a queue overflow, but what and where ...
Thank you!

Who is online

Users browsing this forum: Joe1vm, mjs, Sob and 30 guests