Forum Discussion

DanielT-63812a5's avatar
DanielT-63812a5
Community Member
2 years ago

Adaptive video not working

I have a project that contains a lot of videos. But when I try to use the adaptive publish quality, the publish gives an error report as soon as the first video is generated the compression.

Someone having issues with it? I`ve already tryed different format files for my videos, but can`t find anyone that works

  • This message bellow got my attention, but I couldn`t solve it

    x264 [error]: malloc of size 7088768 failed
    Error submitting video frame to the encoder
    [aac @ 07a76cc0] Qavg: 65376.491
    [aac @ 07a76cc0] 2 frames left in the queue on closing
    Conversion failed!

  • try to compress your video outsite storyline e.g. with handbrake

    preset  "Fast" should be ok for a test

    import this video in storyline and deactivate Compression

  • <?xml version="1.0" encoding="utf-16"?>
    <ErrorReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <UserId>aid|46b80d90-6ee6-4f15-a292-98c6e955a110</UserId>
    <HardwareId>UF381-HHU18-U3VQT-YRP3T-VV3UA</HardwareId>
    <Message>Error encoding video:
    Command: -y -i "C:\Users\Daniel\AppData\Local\Temp\Articulate\Storyline\6cTUn8UhTvI\6FHTdGF68KX.mp4" -vf scale=1920x1080,setdar=dar=1920/1080 -r 29.97003 -keyint_min 59 -g 59 -sc_threshold 0 -c:v libx264 -pix_fmt yuv420p -c:a aac -b:a 56k -ac 1 -ar 22050 -map 0:v:0 -crf:0 17 -map 0:v:0 -crf:1 23 -map 0:v:0 -crf:2 29 -map 0:a:0 -var_stream_map "a:0,agroup:main,default:1 v:0,agroup:main v:1,agroup:main v:2,agroup:main" -f hls -hls_time 2 -hls_playlist_type vod -hls_flags independent_segments -master_pl_name "main.m3u8" -hls_segment_filename "C:\Users\Daniel\Documents\My Articulate Projects\Regulamentação Aeronáutica\story_content\video_6FHTdGF68KX_56_1920x1080.hls\stream_%vdata%06d.ts" "C:\Users\Daniel\Documents\My Articulate Projects\Regulamentação Aeronáutica\story_content\video_6FHTdGF68KX_56_1920x1080.hls\stream_%v.m3u8"
    Output: ffmpeg version n5.1-6-gffaf606130-20220809 Copyright (c) 2000-2022 the FFmpeg developers
    built with gcc 12.1.0 (crosstool-NG 1.25.0.55_3defb7b)
    configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=i686-w64-mingw32- --arch=i686 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --enable-avisynth --enable-libdav1d --disable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --disable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --disable-libsvtav1 --enable-libtwolame --disable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20220809
    libavutil 57. 28.100 / 57. 28.100
    libavcodec 59. 37.100 / 59. 37.100
    libavformat 59. 27.100 / 59. 27.100
    libavdevice 59. 7.100 / 59. 7.100
    libavfilter 8. 44.100 / 8. 44.100
    libswscale 6. 7.100 / 6. 7.100
    libswresample 4. 7.100 / 4. 7.100
    libpostproc 56. 6.100 / 56. 6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Daniel\AppData\Local\Temp\Articulate\Storyline\6cTUn8UhTvI\6FHTdGF68KX.mp4':
    Metadata:
    major_brand : mp42
    minor_version : 512
    compatible_brands: mp42iso2avc1mp41
    creation_time : 2023-03-19T20:51:50.000000Z
    encoder : HandBrake 1.6.1 2023012300
    Duration: 00:00:10.09, start: 0.000000, bitrate: 1454 kb/s
    Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1444 kb/s, 29.97 fps, 29.97 tbr, 90k tbn (default)
    Metadata:
    creation_time : 2023-03-19T20:51:50.000000Z
    handler_name : VideoHandler
    vendor_id : [0][0][0][0]
    Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
    Metadata:
    creation_time : 2023-03-19T20:51:50.000000Z
    handler_name : Stereo
    vendor_id : [0][0][0][0]
    Stream mapping:
    Stream #0:0 -&gt; #0:0 (h264 (native) -&gt; h264 (libx264))
    Stream #0:0 -&gt; #0:1 (h264 (native) -&gt; h264 (libx264))
    Stream #0:0 -&gt; #0:2 (h264 (native) -&gt; h264 (libx264))
    Stream #0:1 -&gt; #0:3 (aac (native) -&gt; aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 083891c0] using SAR=1/1
    [libx264 @ 083891c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 083891c0] profile High, level 4.0, 4:2:0, 8-bit
    [libx264 @ 083891c0] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=30 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=59 keyint_min=30 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=17.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libx264 @ 0838a480] using SAR=1/1
    [libx264 @ 0838a480] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0838a480] profile High, level 4.0, 4:2:0, 8-bit
    [libx264 @ 0838a480] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=30 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=59 keyint_min=30 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libx264 @ 08375b80] using SAR=1/1
    [libx264 @ 08375b80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 08375b80] profile High, level 4.0, 4:2:0, 8-bit
    [libx264 @ 08375b80] 264 - core 164 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=30 lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=59 keyint_min=30 scenecut=0 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=29.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [mpegts @ 46300540] frame size not set
    Output #0, hls, to 'C:\Users\Daniel\Documents\My Articulate Projects\Regulamentação Aeronáutica\story_content\video_6FHTdGF68KX_56_1920x1080.hls\stream_%v.m3u8':
    Metadata:
    major_brand : mp42
    minor_version : 512
    compatible_brands: mp42iso2avc1mp41
    encoder : Lavf59.27.100
    Stream #0:0(und): Video: h264, yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn (default)
    Metadata:
    creation_time : 2023-03-19T20:51:50.000000Z
    handler_name : VideoHandler
    vendor_id : [0][0][0][0]
    encoder : Lavc59.37.100 libx264
    Side data:
    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:1(und): Video: h264, yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn (default)
    Metadata:
    creation_time : 2023-03-19T20:51:50.000000Z
    handler_name : VideoHandler
    vendor_id : [0][0][0][0]
    encoder : Lavc59.37.100 libx264
    Side data:
    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:2(und): Video: h264, yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn (default)
    Metadata:
    creation_time : 2023-03-19T20:51:50.000000Z
    handler_name : VideoHandler
    vendor_id : [0][0][0][0]
    encoder : Lavc59.37.100 libx264
    Side data:
    cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
    Stream #0:3(eng): Audio: aac (LC), 22050 Hz, mono, fltp, 56 kb/s (default)
    Metadata:
    creation_time : 2023-03-19T20:51:50.000000Z
    handler_name : Stereo
    vendor_id : [0][0][0][0]
    encoder : Lavc59.37.100 aac
    frame= 1 fps=0.0 q=0.0 q=0.0 q=0.0 size=N/A time=00:00:00.41 bitrate=N/A speed=17.3x
    frame= 69 fps=0.0 q=0.0 q=0.0 q=0.0 size=N/A time=00:00:02.69 bitrate=N/A speed=5.09x
    x264 [error]: malloc of size 7088768 failed
    Error submitting video frame to the encoder
    [aac @ 0862c480] Qavg: 65536.000
    [aac @ 0862c480] 2 frames left in the queue on closing
    Conversion failed!
    </Message>
    <StackTrace> at void ku.a(VideoPublishArgs A_0, a A_1, string A_2)
    at IEnumerable&lt;string&gt; ku.f(VideoPublishArgs A_0)
    at object ku.EncodeVideoAndGetCacheableItem(VideoPublishArgs e)
    at object kx.a(VideoPublishArgs A_0, string A_1)
    at EncodeAndSaveResults kx.EncodeAndSave(VideoPublishArgs e)
    at EncodeAndSaveResults kv.EncodeAndSave(VideoPublishArgs e)
    at a Articulate.Design.Video.Publish.VideoPublisher.a(VideoPublishArgs A_0)
    at bwObjectData Articulate.Design.Video.Publish.VideoPublisher.CreateObjectData(VideoPublishArgs e, bool addEvents)
    at bwObjectData Articulate.Design.DataModel.Shapes.Controls.Video&lt;TModel&gt;.CreateObjectDataInstance(ObjectDataEventArgs2 e)
    at bwObjectData Articulate.Design.DataModel.Shapes.Controls.Video&lt;TModel&gt;.CreateStageObjectDataInstance(ObjectDataEventArgs2 e)
    at void Articulate.Design.DataModel.Shapes.Shape&lt;TModel&gt;.CreateStageObjectDataInstance(IPlayerService service, bwStageObject stageObj, bwSlideBase slide)
    at bwStageObject Articulate.Design.DataModel.Shapes.Shape&lt;TModel&gt;.GetStageObject(IPlayerService service, bwSlideBase slide)
    at bwStageObject Articulate.Design.DataModel.Shapes.Shape&lt;TModel&gt;.Articulate.Player.IPlayerShape.GetStageObject(IPlayerService service, bwSlideBase slide)
    at void Articulate.Player.PlayerContentPublisher.a(IEnumerable&lt;IPlayerShape&gt; A_0, bwSlideBase A_1)
    at bwSlide Articulate.Player.PlayerContentPublisher.CreateSlideObject(IPlayerSlide slide, bwISlideContainer sceneobj)
    at void Articulate.Player.PlayerContentPublisher.CreateBridgewaterSlide(PlayerWriterSettings settings, IPlayerSlide slide, bwISlideContainer sceneobj)
    at bool Articulate.Player.PlayerContentPublisher.CreateContentScenes(PlayerWriterSettings settings, IPlayerContentProvider contentProvider)
    at bwContent Articulate.Player.PlayerWriter.WriteContent(IPlayerContentProvider contentProvider)
    at bool Articulate.Player.PlayerWriter.Write(IPlayerContentProvider contentProvider)
    at void s9.p()
    at void Articulate.Design.Publish.TargetContext+PublishBackgroundWorker.OnDoWork(DoWorkEventArgs e)
    at void Articulate.ComponentModel.STABackgroundWorker.a(object A_0)</StackTrace>
    </ErrorReport>

  • I`ve try it in the first video of the training, and still cant go foward

     

    the error appears after this message

  • next try - rename your course (set a new title without special chars)

    C:\Users\Daniel\Documents\Adobe\Creative Cloud Files\WIP\RA\Regulamentação Aeronáutica\story_content\video_5nbiOTWVHUC_56_1920x1080.hls\stream_%v.m3u8

    if this not help - what happens, if you import one of your videos into a new emtpy storyline file and publish?

  • KarenCote's avatar
    KarenCote
    Community Member

    In answer to Jürgen's question, yes, our LMS has enabled HLS video streaming.