Open sfahadshahzad opened 1 year ago
Hi,
I used DiviSuite 20.4 for analyzing the stream. ETR290 (Priority 1 and Priority) is clean.
What kind of errors do you see?
Hi,
I am getting this error on receiving side.
Regards,
Fahad
Please take a look at my config file as I am getting video source from Decklink SDI in SD (PAL) and upscaled to HD (1080i50).
{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.Hosting.Lifetime": "Information" } }, "ffmpeg": { "LogLevel": 40, "Raw": "", "Input": { "Device": "decklink", "Name": "DeckLink Quad (5)", "Channels": 2, "Format": "pal", "RawFormat": "yuv422p10", "VideoInput": "sdi", "AudioInput": "embedded", "DrawBars": false, "QueueSize": 1073741824 }, "FilterComplex": [ "[0:v]yadif", ], "Maps": [ "0:v", "0:a", ], "Encoders": [ { "Codec": "libx264", "Bitrate": 4000, "Preset": "faster", "Profile": "high", "Level": "4.0", "Flags": [ "+ilme", "+ildct", "+cgop" ], "CustomArguments": [ { "Name" : "minrate", "Value": "4000k" }, { "Name" : "maxrate", "Value": "4000k" }, { "Name" : "bufsize", "Value": "152k" }, { "Name" : "pix_fmt", "Value": "yuv420p" }, { "Name" : "s", "Value": "1920x1080" }, { "Name" : "aspect", "Value": "16:9" }, { "Name" : "tune", "Value": "zerolatency" }, { "Name" : "top", "Value": 1 }, { "Name" : "color_range", "Value": "tv" }, { "Name" : "colorspace", "Value": "bt709" }, { "Name" : "color_primaries", "Value": "bt709" }, { "Name" : "color_trc", "Value": "bt709" }, { "Name" : "x264-params", "Value": "nal-hrd=cbr:force-cfr=1" }, { "Name" : "bf", "Value": 5 }, { "Name" : "qmin", "Value": 10 }, { "Name" : "qmax", "Value": 30 }, { "Name" : "qdiff", "Value": 4 } ] }, { "Codec": "libfdk_aac", "Bitrate": 192, "CustomArguments": [
]
}
],
"BitstreamFilter": {
"video": [ "h264_mp4toannexb" ],
"audio": []
},
"GlobalOptions": [
{ "Name" : "flush_packets", "Value": 0 },
{ "Name" : "rtbufsize", "Value": "2000M" }
],
"Muxer": {
"mpegts": {
"TransportStreamId": 1,
"OriginalNetworkId": 1,
"ServiceId": 1,
"StartPid": 336,
"PmtStartPid": 4096,
"PcrPeriod": 20,
"PatPeriod": "0.10",
"SdtPeriod": "0.25",
"NitPeriod": "0.5",
"MuxRate": 5000,
"Metadata": {
"service_provider": "GEOTV",
"service_name": "GEO-NEWS-HD",
"title": "IMC"
},
"Flags": [
"+pat_pmt_at_frames",
"+system_b",
"+nit"
],
"Output": {
"Protocol": "udp",
"Address": "192.168.9.201",
"Port": 9105,
"Options": [
{ "Name" : "pkt_size", "Value": 1316 },
{ "Name" : "ttl", "Value": 15 },
{ "Name" : "bitrate", "Value": 50000000 },
{ "Name" : "localaddr", "Value": "192.168.9.201" }
]
}
}
}
}
}
Regards,
Fahad
I just discovered that when not using scale filter all errors gone and it is working fine with SD PAL output.
Regards,
Fahad
Hi, In the screenshot above, I don't see any flow related issues, just a loss of TS sync which is usually when packet loss. You are sure that the stream does not packet lost. What is the number of CC errors? How loaded is the CPU on your transcoder?
or You could try to find a stable operation in the ffmpeg, after which I will make changes to the code
Regards,
Can you provide me the json config example to generate HD video using scale filter as I am working with PAL source need to convert into HD.
Regards,
Fahad
Hi,
Hope you are doing well.
I am getting priority 1 & 2 errors on mpegts stream analyzer.
Regards,
Fahad