=== export_with_xvfb debug log ===
ppt_path     : /home/nityansco/public_html/scorm_dir/nityansco_nscorm_app/ppt_files/1773637198_Online_Sample_Animated_Style_Presentation.pptx
output_video : /home/nityansco/public_html/scorm_dir/nityansco_nscorm_app/ppt_outputs/27/full_presentation.mp4
display      : :156
slides       : 5
click_steps  : [2, 1, 1, 0, 0]
content_dur  : 24.0s
record_dur   : 27.0s
tmp_dir      : /tmp/ppt_xvfb_9y0qcgxg

[binaries]
  xvfb_bin   : /bin/Xvfb
  xdotool_bin: /bin/xdotool
  PATH       : (empty)

[pptx] prepared_pptx: /tmp/ppt_xvfb_9y0qcgxg/prepared_click_only.pptx

[env] DISPLAY=:156  HOME=/tmp/ppt_xvfb_9y0qcgxg

[xvfb] Starting :156
[xvfb] Running — pid=2713307

[wm] Trying openbox: ['/bin/openbox', '--sm-disable']
[wm] openbox running (pid=2713311)
[libreoffice] Starting --show /tmp/ppt_xvfb_9y0qcgxg/prepared_click_only.pptx
[libreoffice] pid=2713327

[wait_window] Polling (max 25s)...
[find_windows] Searching for LibreOffice window...
  $ xdotool search --classname soffice
    rc=1  stdout=''  stderr=''
  $ xdotool search --class Soffice
    rc=1  stdout=''  stderr=''
  $ xdotool search --class soffice
    rc=1  stdout=''  stderr=''
  $ xdotool search --name LibreOffice
    rc=1  stdout=''  stderr=''
  $ xdotool search --name Impress
    rc=1  stdout=''  stderr=''
  $ xdotool search --name Presentation
    rc=1  stdout=''  stderr=''
  $ xdotool search --onlyvisible --name 
    rc=0  stdout='1293\n2097166'  stderr=''
  → Strategy 'search --onlyvisible --name ' found 2 window(s): ['1293', '2097166']
  (broad search — skipping, using for info only)
  $ xdotool getwindowname 1293
    rc=0  stdout=''  stderr=''
  $ xdotool getwindowname 2097166
    rc=0  stdout='Openbox'  stderr=''
  → No LibreOffice window found with any strategy
[find_windows] Searching for LibreOffice window...
  $ xdotool search --classname soffice
    rc=0  stdout='6291457\n6291463\n6291491\n6291459'  stderr=''
  → Strategy 'search --classname soffice' found 4 window(s): ['6291457', '6291463', '6291491', '6291459']
[wait_window] Window(s) found after 2.1s: ['6291457', '6291463', '6291491', '6291459']
  $ xdotool getwindowname 6291457
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowclassname 6291457
    rc=1  stdout=''  stderr="/bin/xdotool: Unknown command: getwindowclassname\nRun '/bin/xdotool help' if you want a command list"
  $ xdotool getwindowname 6291463
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowclassname 6291463
    rc=1  stdout=''  stderr="/bin/xdotool: Unknown command: getwindowclassname\nRun '/bin/xdotool help' if you want a command list"
  $ xdotool getwindowname 6291491
    rc=0  stdout='VCL ImplGetDefaultWindow'  stderr=''
  $ xdotool getwindowclassname 6291491
    rc=1  stdout=''  stderr="/bin/xdotool: Unknown command: getwindowclassname\nRun '/bin/xdotool help' if you want a command list"
  $ xdotool getwindowname 6291459
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowclassname 6291459
    rc=1  stdout=''  stderr="/bin/xdotool: Unknown command: getwindowclassname\nRun '/bin/xdotool help' if you want a command list"

[ready] waited=4.1s  wids=['6291457', '6291463', '6291491', '6291459']

[activate] Activating window(s): ['6291457', '6291463', '6291491', '6291459']
  $ xdotool windowactivate --sync 6291457
    rc=0  stdout=''  stderr='XGetWindowProperty[_NET_WM_DESKTOP] failed (code=1)\nXGetWindowProperty[_NET_ACTIVE_WINDOW] failed (code=1)'
  → Activated window 6291457
[activate] active_wid=6291457

  $ xdotool getwindowname 6291457
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowname 6291463
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowname 6291491
    rc=0  stdout='VCL ImplGetDefaultWindow'  stderr=''
  $ xdotool getwindowname 6291459
    rc=0  stdout='LibreOffice 7.3'  stderr=''
[mode_check] Window titles: {'6291457': 'LibreOffice 7.3', '6291463': 'LibreOffice 7.3', '6291491': 'VCL ImplGetDefaultWindow', '6291459': 'LibreOffice 7.3'}
[mode_check] *** EDITOR MODE DETECTED ***
             All windows have LibreOffice editor titles.
             The slideshow has NOT started yet.
             Sending F5 to start the presentation...
  $ xdotool key --window 6291457 --clearmodifiers F5
    rc=0  stdout=''  stderr=''
[mode_check] F5 sent to window 6291457
[mode_check] Waiting 5s for slideshow to start...
[find_windows] Searching for LibreOffice window...
  $ xdotool search --classname soffice
    rc=0  stdout='6291457\n6291463\n6291491\n6291708\n6301040\n6295539\n6301024'  stderr=''
  → Strategy 'search --classname soffice' found 7 window(s): ['6291457', '6291463', '6291491', '6291708', '6301040', '6295539', '6301024']
  $ xdotool getwindowname 6291457
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowname 6291463
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowname 6291491
    rc=0  stdout='VCL ImplGetDefaultWindow'  stderr=''
  $ xdotool getwindowname 6291708
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowname 6301040
    rc=0  stdout='LibreOffice 7.3'  stderr=''
  $ xdotool getwindowname 6295539
    rc=0  stdout='Tip of the Day: 1/223'  stderr=''
  $ xdotool getwindowname 6301024
    rc=0  stdout='Presenting: prepared_click_only'  stderr=''
[mode_check] Windows after F5: {'6291457': 'LibreOffice 7.3', '6291463': 'LibreOffice 7.3', '6291491': 'VCL ImplGetDefaultWindow', '6291708': 'LibreOffice 7.3', '6301040': 'LibreOffice 7.3', '6295539': 'Tip of the Day: 1/223', '6301024': 'Presenting: prepared_click_only'}
[mode_check] Slideshow window(s) found: ['6295539', '6301024']
[ffmpeg] Starting recording for 27.0s
[advance] Starting slide advancement loop
[advance] Starting: 5 slides, click_steps=[2, 1, 1, 0, 0]
[advance] ANIM_WAIT_BEFORE_FIRST=2.0s, ANIM_WAIT_BETWEEN_STEPS=3.0s
[advance] wids=['6295539', '6301024']
[advance] ffmpeg_start_time provided: True

[advance] ── Slide 1/5: 2 click group(s) + 1 advance = 3 arrow(s)
[advance] Waiting 2.0s for slide to render...
[advance] → Click group 1/2: sending Right Arrow
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS
[advance] → Click group 2/2: sending Right Arrow
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS
[advance] → Advance arrow → slide 2: sending Right Arrow (t=8.538s since FFmpeg start)
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS

[advance] ── Slide 2/5: 1 click group(s) + 1 advance = 2 arrow(s)
[advance] Waiting 2.0s for slide to render...
[advance] → Click group 1/1: sending Right Arrow
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS
[advance] → Advance arrow → slide 3: sending Right Arrow (t=13.574s since FFmpeg start)
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS

[advance] ── Slide 3/5: 1 click group(s) + 1 advance = 2 arrow(s)
[advance] Waiting 2.0s for slide to render...
[advance] → Click group 1/1: sending Right Arrow
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS
[advance] → Advance arrow → slide 4: sending Right Arrow (t=18.610s since FFmpeg start)
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS

[advance] ── Slide 4/5: 0 click group(s) + 1 advance = 1 arrow(s)
[advance] Waiting 2.0s for slide to render...
[advance] → Advance arrow → slide 5: sending Right Arrow (t=20.629s since FFmpeg start)
[send_key] Sending Right Arrow...
  $ xdotool key --window 6295539 --clearmodifiers Right
    rc=0  stdout=''  stderr=''
  → Key sent successfully to window 6295539
[advance]   result: SUCCESS

[advance] ── Slide 5/5: last slide — static hold
[advance] Waiting 2.0s for slide to render...

[advance] All slides driven — xdotool job done
[advance] actual_advances (relative to FFmpeg start): [8.538, 13.574, 18.61, 20.629]
[ffmpeg] Waiting for FFmpeg to finish...
[ffmpeg] Finished


=== xvfb.log ===
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

[output] /home/nityansco/public_html/scorm_dir/nityansco_nscorm_app/ppt_outputs/27/full_presentation.mp4  size=71779 bytes
[timings] boundary_source: actual_advances
[timings] boundaries        : [0.0, 8.538, 13.574, 18.61, 20.629, 27.0]
[timings] clip_starts        : [0.0, 10.038, 15.074, 20.11, 22.129]
[timings] slide_durations    : [8.538, 5.036, 5.036, 2.019, 6.371]
[timings] transition_durations: [0.0, 0.0, 0.0, 0.0, 0.0]
[done] Export successful
