Hi!
I have a serious problem to solve.
My task is to record from udp stream(4K HECV) and encode it to a mxf file.
My CPU is Intel(R) Xeon(R) Gold 5122 [email protected]



The situation of the udp stream:

The ffmpeg I used 
from https://github.com/BtbN/FFmpeg-Builds/commit/86af523883173be93c69d1170d1f78f79dc5e9f8
 .
The command I used is:
ffmpeg -y -threads 6 -i 
"udp://@225.1.2.150:6150?overrun_nonfatal=1&fifo_size=50000000" -threads 32 
-qscale:v 2 -alternate_scan 1 -f mxf "G:\4k.xmf"


Now the speed is lower than 1.0x after running for a while(about 10minutes). 
Maybe this is due to the temperature of the cpu gradually increasing.
The picture above displays the performance of CPU when we specify threads=6 for 
decoding and threads=32 for encoding.
I found that the speed would be 1.0x if I just recorded it to a .hecv file. But 
now I want to encode the stream to a .mxf file in real time. But as you can 
see, if I tried to encode it in real time, the speed of decoding and encoding 
would always be lower than 1.0x (around 0.98x). After running this command for 
about 3 hours, the recording and encoding process will be stopped.


How to solve it? I expect that the speed is 1.0x by speeding up encoding or 
other ways. 
Or anyone knows that how to record the udp stream without re-encoding to a 
.hecv file and meanwhile encode the .hecv file to a .mxf file? 
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to