Page 1 of 1

Fusion render node 17 comp script cannot load mp4

PostPosted: Tue Dec 21, 2021 2:37 pm
by tadeus
Hi, Im quite new to Fusion render node,

I prepared a comp script which is supposed to load an mp4 video file,
trim it, add some text over it, and lastly output the result as a new mp4 file.

But, when I run the script in the cmd of an Ubuntu server:
Code: Select all
sudo xvfb-run /opt/BlackmagicDesign/FusionRenderNode17/FusionRenderNode /srv/common/scripts/Pohorje_rogla_08.comp -render -verbose -quiet -clean -quit


I get the error, that the mp4 file cannot be loaded:
Code: Select all
Render started at Tue 3:35PM  (Range: 0.0 to 250.0)
Loader2 failed to load file "/srv/common/video/generic.mp4" (clip "/srv/common/video/generic.mp4" at frame 0)
Loader2 failed to load file "/srv/common/video/generic.mp4" (clip "/srv/common/video/generic.mp4" at frame 1) : No such file or directory
Resize1 cannot get Parameter for Input at time 0
Resize1 cannot get Parameter for Input at time 1
Saver1 cannot get Parameter for Input at time 0
Saver1 cannot get Parameter for Input at time 1
Saver1 failed at time 0
Saver1 failed at time 1
ERROR: Render failed at Tue 3:35PM! Last frame rendered: (none)!
Auto-exiting with errcode 10
Cleanup licenses


all the file paths are correct, ...

Re: Fusion render node 17 comp script cannot load mp4

PostPosted: Tue Dec 21, 2021 3:21 pm
by TheBloke
Have you confirmed you can load the same mp4 file in Fusion Studio? Maybe it contains a codec that Fusion doesn't support.

Use mediainfo to show what codecs are used in the MP4 and post the information here.

Re: Fusion render node 17 comp script cannot load mp4

PostPosted: Wed Dec 22, 2021 8:56 am
by tadeus
Yes, I tried to load the same file in the Fusion studio 17, and it loads and renders,
but with Fusion render node I still get the error...

With Mediainfo, for the specific mp4 file, I get the following report:
Code: Select all
{
"creatingLibrary": {
"name": "MediaInfoLib",
"version": "21.09",
"url": "https://mediaarea.net/MediaInfo"
},
"media": {
"@ref": "C:\\Users\\Tadej\\Documents\\Simple\\srek.mp4",
"track": [
{
"@type": "General",
"VideoCount": "1",
"AudioCount": "1",
"FileExtension": "mp4",
"Format": "MPEG-4",
"Format_Profile": "Base Media",
"CodecID": "mp42",
"CodecID_Compatible": "mp42/mp41/isom/avc1",
"FileSize": "4088289",
"Duration": "125.973",
"OverallBitRate_Mode": "VBR",
"OverallBitRate": "259630",
"FrameRate": "15.000",
"FrameCount": "1889",
"StreamSize": "36391",
"HeaderSize": "36375",
"DataSize": "4051914",
"FooterSize": "0",
"IsStreamable": "Yes",
"Encoded_Date": "UTC 2020-10-09 12:33:30",
"Tagged_Date": "UTC 2020-10-09 12:33:30",
"File_Created_Date": "UTC 2021-12-22 08:19:43.581",
"File_Created_Date_Local": "2021-12-22 09:19:43.581",
"File_Modified_Date": "UTC 2021-12-22 08:19:43.738",
"File_Modified_Date_Local": "2021-12-22 09:19:43.738"
},
{
"@type": "Video",
"StreamOrder": "0",
"ID": "1",
"Format": "AVC",
"Format_Profile": "High",
"Format_Level": "2.1",
"Format_Settings_CABAC": "Yes",
"Format_Settings_RefFrames": "8",
"CodecID": "avc1",
"Duration": "125.933",
"BitRate": "194682",
"Width": "320",
"Height": "240",
"Sampled_Width": "320",
"Sampled_Height": "240",
"PixelAspectRatio": "1.000",
"DisplayAspectRatio": "1.333",
"Rotation": "0.000",
"FrameRate_Mode": "CFR",
"FrameRate_Mode_Original": "VFR",
"FrameRate": "15.000",
"FrameCount": "1889",
"ColorSpace": "YUV",
"ChromaSubsampling": "4:2:0",
"BitDepth": "8",
"ScanType": "Progressive",
"StreamSize": "3064625",
"Encoded_Library": "x264 - core 161 r10 db0d417",
"Encoded_Library_Name": "x264",
"Encoded_Library_Version": "core 161 r10 db0d417",
"Encoded_Library_Settings": "cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=7 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=infinite / keyint_min=15 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=5 / qpmax=69 / qpstep=4 / vbv_maxrate=330 / vbv_bufsize=360 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00",
"Encoded_Date": "UTC 2020-10-09 12:33:30",
"Tagged_Date": "UTC 2020-10-09 12:33:30",
"colour_description_present": "Yes",
"colour_description_present_Source": "Container / Stream",
"colour_range": "Limited",
"colour_range_Source": "Container / Stream",
"colour_primaries": "BT.601 NTSC",
"colour_primaries_Source": "Container / Stream",
"transfer_characteristics": "BT.601",
"transfer_characteristics_Source": "Container / Stream",
"matrix_coefficients": "BT.601",
"matrix_coefficients_Source": "Container / Stream",
"extra": {
"CodecConfigurationBox": "avcC"
}
},
{
"@type": "Audio",
"StreamOrder": "1",
"ID": "2",
"Format": "AAC",
"Format_Commercial_IfAny": "HE-AAC",
"Format_Settings_SBR": "Yes (Explicit)",
"Format_AdditionalFeatures": "LC SBR",
"CodecID": "mp4a-40-2",
"Duration": "125.973",
"Source_Duration": "125.995",
"BitRate_Mode": "VBR",
"BitRate": "62697",
"Channels": "2",
"ChannelPositions": "Front: L R",
"ChannelLayout": "L R",
"SamplesPerFrame": "2048",
"SamplingRate": "48000",
"SamplingCount": "6046704",
"FrameRate": "23.438",
"FrameCount": "2953",
"Source_FrameCount": "2953",
"Compression_Mode": "Lossy",
"StreamSize": "987273",
"StreamSize_Proportion": "0.24149",
"Source_StreamSize": "987273",
"Source_StreamSize_Proportion": "0.24149",
"Encoded_Date": "UTC 2020-10-09 12:33:30",
"Tagged_Date": "UTC 2020-10-09 12:33:30",
"extra": {
"Source_Delay": "-20",
"Source_Delay_Source": "Container"
}
}
]
}
}

Re: Fusion render node 17 comp script cannot load mp4

PostPosted: Tue Jan 11, 2022 10:01 am
by tadeus
Any idea about this?
(btw, the filles srek.mp4 and generic.mp4 are the same file, I just renamed it in-between)