Neither GUI or CLI work now ...

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Neither GUI or CLI work now ...

Post by Cristofayre »

Description of problem or question:
Whilst the GUI version WAS working - today I tried the CLI version - and now neither platform work!



Steps to reproduce the problem (If Applicable):

Source a Mp4 video file, remove the foreign scan from subtitle section, select ssa file. Set the output folder and name mp4, select encode


HandBrake version (e.g., 1.0.0):
1.3.3 (2020061300



Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows10



HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
Ram: 16367 MB, 
GPU Information:
  AMD Radeon HD 7700 Series - 26.20.12028.2
Screen: 1440x900
Temp Dir: C:\Users\Chris Brown\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Chris Brown\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[02:04:38] base preset: Fast 1080p30
[14:04:38] hb_init: starting libhb thread
[14:04:38] Starting work at: Fri Sep 25 14:04:38 2020
[14:04:38] 1 job(s) to process
[14:04:38] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "D:\\home\\cristofa\\video_subs\\short_vid\\aff_brand\\short_vid_test.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "64",
          "crop-right": "64",
          "crop-top": "0",
          "height": "720",
          "width": "1152"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\home\\cristofa\\video_subs\\short_vid\\aff_brand\\short_vid_blackend.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": true,
        "Default": false,
        "Forced": false,
        "ID": 0,
        "Offset": 0,
        "Track": -1,
        "Import": {
          "Codeset": "UTF-8",
          "Filename": "D:\\home\\cristofa\\video_subs\\short_vid\\aff_brand\\aff.ass",
          "Language": "eng",
          "Format": "SSA"
        }
      }
    ]
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[14:04:38] CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
[14:04:38]  - Intel microarchitecture Sandy Bridge
[14:04:38]  - logical processor count: 4
[14:04:38] Intel Quick Sync Video support: no
[14:04:38] hb_scan: path=D:\home\cristofa\video_subs\short_vid\aff_brand\short_vid_blackend.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\home\cristofa\video_subs\short_vid\aff_brand\short_vid_blackend.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(D:\home\cristofa\video_subs\short_vid\aff_brand\short_vid_blackend.mp4\) failed
[14:04:38] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[14:04:38] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\home\cristofa\video_subs\short_vid\aff_brand\short_vid_blackend.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-09-25T12:47:32.000000Z
  Duration: 00:01:10.08, start: 0.000000, bitrate: 2262 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 2103 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2020-09-25T12:47:32.000000Z
      handler_name    : Mainconcept MP4 Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 157 kb/s (default)
    Metadata:
      creation_time   : 2020-09-25T12:47:32.000000Z
      handler_name    : Mainconcept MP4 Sound Media Handler
[14:04:38] scan: decoding previews for title 1
[14:04:38] scan: audio 0x1: aac, rate=44100Hz, bitrate=157568 English (AAC LC) (2.0 ch) (157 kbps)
[14:04:38] scan: 10 previews, 1280x720, 25.000 fps, autocrop = 0/0/64/64, aspect 16:9, PAR 1:1
[14:04:38] scan: supported video decoders: avcodec qsv
[14:04:38] libhb: scan thread found 1 valid title(s)
[14:04:38] Starting Task: Encoding Pass
[14:04:38] [ass] Shaper: FriBidi 1.0.7 (SIMPLE) HarfBuzz-ng 2.6.4 (COMPLEX)
[14:04:39] [ass] Using font provider directwrite
[14:04:39] work: only 1 chapter, disabling chapter markers
[14:04:39] job configuration:
[14:04:39]  * source
[14:04:39]    + D:\home\cristofa\video_subs\short_vid\aff_brand\short_vid_blackend.mp4
[14:04:39]    + title 1, chapter(s) 1 to 1
[14:04:39]    + container: mov,mp4,m4a,3gp,3g2,mj2
[14:04:39]    + data rate: 2262 kbps
[14:04:39]  * destination
[14:04:39]    + D:\home\cristofa\video_subs\short_vid\aff_brand\short_vid_test.mp4
[14:04:39]    + container: MPEG-4 (libavformat)
[14:04:39]      + align initial A/V stream timestamps
[14:04:39]  * video track
[14:04:39]    + decoder: h264
[14:04:39]      + bitrate 2103 kbps
[14:04:39]    + filters
[14:04:39]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[14:04:39]      + Decomb (mode=39)
[14:04:39]      + Framerate Shaper (mode=2:rate=27000000/900000)
[14:04:39]        + frame rate: 25.000 fps -> peak rate limited to 30.000 fps
[14:04:39]      + Subtitle renderer ()
[14:04:39]      + Crop and Scale (width=1152:height=720:crop-top=0:crop-bottom=0:crop-left=64:crop-right=64)
[14:04:39]        + source: 1280 * 720, crop (0/0/64/64): 1152 * 720, scale: 1152 * 720
[14:04:39]    + Output geometry
[14:04:39]      + storage dimensions: 1152 x 720
[14:04:39]      + pixel aspect ratio: 1 : 1
[14:04:39]      + display dimensions: 1152 x 720
[14:04:39]    + encoder: H.264 (libx264)
[14:04:39]      + preset:  fast
[14:04:39]      + profile: main
[14:04:39]      + level:   4.0
[14:04:39]      + quality: 22.00 (RF)
[14:04:39]      + color profile: 1-1-1
[14:04:39]  * subtitle track 1, English [SSA] (track 0, id 0xff000000, Text) -> Render/Burn-in, offset: 0
[14:04:39]  * audio track 1
[14:04:39]    + decoder: English (AAC LC) (2.0 ch) (157 kbps) (track 1, id 0x1)
[14:04:39]      + bitrate: 157 kbps, samplerate: 44100 Hz
[14:04:39]    + mixdown: Stereo
[14:04:39]    + dither: none
[14:04:39]    + encoder: AAC (libavcodec)
[14:04:39]      + bitrate: 160 kbps, samplerate: 44100 Hz
Could not open the SSA subtitle file 'D:\home\cristofa\video_subs\short_vid\aff_brand\aff.ass'

Failure to initialise thread 'SSA Subtitle Decoder'
[14:04:39] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[14:04:39] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[14:04:39] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[14:04:39] vfr: lost time: 0 (0 frames)
[14:04:39] vfr: gained time: 0 (0 frames) (0 not accounted for)
[14:04:39] aac-decoder done: 0 frames, 0 decoder errors
[14:04:39] Finished work at: Fri Sep 25 14:04:39 2020
[14:04:39] libhb: work result = 3

# Encode Completed ...
I thought it might be because I had the preset on 1080p when a 720p file. That made no difference. I checked the SSA had PlayResX and PlayResY set correctly - yes.

My graphics card reported no errors (surely it doesn't rely on that as different people use different graphic cards) Also seems strange that it's trying to read a DVD library when working with mp4. And - unless the src is embedded within the app or HandbrakeCLI.exe, I have no 'src/libluray...' on my Windows machine
Woodstock
Veteran User
Posts: 3790
Joined: Tue Aug 27, 2013 6:39 am

Re: Neither GUI or CLI work now ...

Post by Woodstock »

Could not open the SSA subtitle file 'D:\home\cristofa\video_subs\short_vid\aff_brand\aff.ass'

Failure to initialise thread 'SSA Subtitle Decoder'
Is that path valid? If it isn't, that's where your problem is.
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

This one was a "schoolboy error" The path WAS valid ... but I'd removed the [Script Info] part from the top of the ASS file.

It now works in GUI version. However, the exact same video, exact same ASS file - all together in the same folder as "HandbrakeCLI.exe" results in "no title found"

I did read somewhere that the CLI version needs "previews" before it will run, so will try that later. (Whereas the GUI version will 'stat' the video file, the CLI won't even do that initial stage!)
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

There is a saying "Can't see the wood for the trees". If I'd seen that line re "Could not open the SSA ..." might have saved a bit of time!

This is the CLI I'm using:
HandBrakeCLI.exe -i "D:\home\cristofa\video_subs\short_vid\aff_brand\short_video_blackend.mp4" -N --ssa-burn "D:\home\cristofa\video_subs\short_vid\aff_brand\aff.ass" -o "D:\home\cristofa\video_subs\short_vid\aff_brand\test.mp4" As I say, can't even stat the video.
rollin_eng
Veteran User
Posts: 3558
Joined: Wed May 04, 2011 11:06 pm

Re: Neither GUI or CLI work now ...

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
User avatar
Rodeo
HandBrake Team
Posts: 12604
Joined: Tue Mar 03, 2009 8:55 pm

Re: Neither GUI or CLI work now ...

Post by Rodeo »

CLI writes the log to stderr, FWIW. Since it won't start there won't be much output anyway, but we still need to see it.
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

Just to clarify, when posting the HB log, do I re-edit the intitial post at the top, on post it in the "comment" section as per this reply. (In UK, it's currently 1:30 = lunchtime !! Will post again after about 3:00)

To paraphrase at present, it tells me it can't open DVD, then gets to part where trying a stream, tells me it cannot stat, tells me title(0) cannot be found, and then tells me no titles available.

As say: Will post full log this afternoon.
User avatar
Rodeo
HandBrake Team
Posts: 12604
Joined: Tue Mar 03, 2009 8:55 pm

Re: Neither GUI or CLI work now ...

Post by Rodeo »

Cristofayre wrote: Sat Sep 26, 2020 8:32 am There is a saying "Can't see the wood for the trees". If I'd seen that line re "Could not open the SSA ..." might have saved a bit of time!

This is the CLI I'm using:
HandBrakeCLI.exe -i "D:\home\cristofa\video_subs\short_vid\aff_brand\short_video_blackend.mp4" -N --ssa-burn "D:\home\cristofa\video_subs\short_vid\aff_brand\aff.ass" -o "D:\home\cristofa\video_subs\short_vid\aff_brand\test.mp4" As I say, can't even stat the video.
Name doesn't match your GUI log, see highlighted.
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

"Oh golly, miss Molly !!" I've been working on this on aand off for about 5hrs total now ... and totally missed that spelling error !!

Guess what! Corrected that, and worked perfectly!

I am truly grateful for your input.
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

Or at least, it creates the videos even if it doesn't add the subtitle file in the last 10 seconds ... but at we're getting there!
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

As stated above, it is creating the video, but the subtitle track is not being added. I have enclosed the log below. (I don't know much about this program, but I'm wondering if subgtitleList[] (array?) should contain the filename of the ass file. (I'm probably missing a flag or some such (-s, -F, -N ???) ... HandBrakeCLI.exe -i ShortVidBlackend.mp4 --ssa-burn aff.ass -o test.mp4 (-s, -F, -N ???)

Code: Select all

[15:22:00] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[15:22:01] hb_init: starting libhb thread
[15:22:01] thread 1 started ("libhb")
HandBrake 1.3.3 (2020061300) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening ShortVidBlackend.mp4...
[15:22:01] CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
[15:22:01]  - Intel microarchitecture Sandy Bridge
[15:22:01]  - logical processor count: 4
[15:22:01] Intel Quick Sync Video support: no
[15:22:01] hb_scan: path=ShortVidBlackend.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image ShortVidBlackend.mp4
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(ShortVidBlackend.mp4\) failed
[15:22:01] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[15:22:01] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ShortVidBlackend.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-09-25T15:22:45.000000Z
  Duration: 00:01:10.08, start: 0.000000, bitrate: 2245 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 2086 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2020-09-25T15:22:45.000000Z
      handler_name    : Mainconcept MP4 Video Media Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 157 kb/s (default)
    Metadata:
      creation_time   : 2020-09-25T15:22:45.000000Z
      handler_name    : Mainconcept MP4 Sound Media Handler
[15:22:01] scan: decoding previews for title 1
[15:22:01] scan: audio 0x1: aac, rate=44100Hz, bitrate=157568 English (AAC LC) (2.0 ch) (157 kbps)
[15:22:01] scan: 10 previews, 1280x720, 25.000 fps, autocrop = 0/0/64/64, aspect 16:9, PAR 1:1
[15:22:01] scan: supported video decoders: avcodec qsv
Scanning title 1 of 1, preview 10, 100.00 %[15:22:01] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 1:
  + stream: ShortVidBlackend.mp4
  + duration: 00:01:10
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 25.000 fps
  + autocrop: 0/0/64/64
  + chapters:
    + 1: duration 00:01:10
  + audio tracks:
    + 1, English (AAC LC) (2.0 ch) (157 kbps) (iso639-2: eng)
  + subtitle tracks:
[15:22:02] Starting work at: Sat Sep 26 15:22:02 2020

[15:22:02] 1 job(s) to process
[15:22:02] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 128,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3",
            "copy:eac3",
            "copy:dtshd",
            "copy:dts",
            "copy:mp3",
            "copy:truehd",
            "copy:flac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 10,
                    "Ticks": 6307003
                },
                "Name": ""
            }
        ],
        "ChapterMarkers": false,
        "File": "test.mp4",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "m4v"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 12,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 64,
                    "crop-right": 64,
                    "crop-top": 0,
                    "height": 720,
                    "width": 1152
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "ShortVidBlackend.mp4",
        "Range": {
            "End": 1,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 1,
        "ColorTransfer": 1,
        "Encoder": "x264",
        "Level": "auto",
        "Options": "",
        "Preset": "medium",
        "Profile": "auto",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 22.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[15:22:02] Starting Task: Encoding Pass
[15:22:02] Skipping vfr filter
[15:22:02] job configuration:
[15:22:02]  * source
[15:22:02]    + ShortVidBlackend.mp4
[15:22:02]    + title 1, chapter(s) 1 to 1
[15:22:02]    + container: mov,mp4,m4a,3gp,3g2,mj2
[15:22:02]    + data rate: 2245 kbps
[15:22:02]  * destination
[15:22:02]    + test.mp4
[15:22:02]    + container: MPEG-4 (libavformat)
[15:22:02]  * video track
[15:22:02]    + decoder: h264
[15:22:02]      + bitrate 2086 kbps
[15:22:02]    + filters
[15:22:02]      + Crop and Scale (width=1152:height=720:crop-top=0:crop-bottom=0:crop-left=64:crop-right=64)
[15:22:02]        + source: 1280 * 720, crop (0/0/64/64): 1152 * 720, scale: 1152 * 720
[15:22:02]    + Output geometry
[15:22:02]      + storage dimensions: 1152 x 720
[15:22:02]      + pixel aspect ratio: 1 : 1
[15:22:02]      + display dimensions: 1152 x 720
[15:22:02]    + encoder: H.264 (libx264)
[15:22:02]      + preset:  medium
[15:22:02]      + profile: auto
[15:22:02]      + level:   auto
[15:22:02]      + quality: 22.00 (RF)
[15:22:02]      + color profile: 1-1-1
[15:22:02]  * audio track 1
[15:22:02]    + decoder: English (AAC LC) (2.0 ch) (157 kbps) (track 1, id 0x1)
[15:22:02]      + bitrate: 157 kbps, samplerate: 44100 Hz
[15:22:02]    + mixdown: Stereo
[15:22:02]    + dither: triangular
[15:22:02]    + encoder: AAC (libavcodec)
[15:22:02]      + bitrate: 128 kbps, samplerate: 44100 Hz
[15:22:02] sync: expecting 1751 video frames
[15:22:02] encx264: encoding at constant RF 22.000000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1, 4:2:0, 8-bit
[15:22:02] sync: first pts video is 0
[15:22:02] sync: Chapter 1 at frame 1 time 0
[15:22:02] sync: first pts audio 0x1 is 0
Encoding: task 1 of 1, 95.09 % (161.30 fps, avg 174.40 fps, ETA 00h00m01s)[15:22:11] reader: done. 1 scr changes
Encoding: task 1 of 1, 99.94 % (179.83 fps, avg 177.30 fps, ETA 00h00m00s)[15:22:11] work: average encoding speed for job is 177.296722 fps
Encoding: task 1 of 1, 99.94 % (179.83 fps, avg 177.30 fps, ETA 00h00m00s)[15:22:12] aac-decoder done: 3018 frames, 0 decoder errors
[15:22:12] h264-decoder done: 1751 frames, 0 decoder errors
[15:22:12] sync: got 1751 frames, 1751 expected
[15:22:12] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:8     Avg QP:12.86  size: 58886
x264 [info]: frame P:473   Avg QP:18.78  size:  1245
x264 [info]: frame B:1270  Avg QP:26.25  size:   172
x264 [info]: consecutive B-frames:  2.5%  1.5%  3.1% 93.0%
x264 [info]: mb I  I16..4: 53.6% 16.7% 29.7%
x264 [info]: mb P  I16..4:  0.5%  0.7%  0.3%  P16..4:  1.4%  0.5%  0.3%  0.0%  0.0%    skip:96.2%
x264 [info]: mb B  I16..4:  0.3%  0.1%  0.0%  B16..8:  1.4%  0.1%  0.0%  direct: 0.2%  skip:97.9%  L0:46.4% L1:50.9% BI: 2.8%
x264 [info]: 8x8 transform intra:30.6% inter:31.8%
x264 [info]: coded y,uvDC,uvAC intra: 15.4% 13.7% 11.7% inter: 0.2% 0.4% 0.2%
x264 [info]: i16 v,h,dc,p: 57% 40%  2%  0%
 Ei8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 11% 62%  1%  0%  0%  0%  0%  0%
nxc2o6d4i n[gi:n ftoa]s:k  i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 37% 10%  3%  3%  3%  3%  3%  4%
1x 2o6f4  1[,i n9f9o.]9:4  i8c dc,h,v,p: 63% 25% 12%  1%
%x 2(6147 9[.i8n3f of]p:s ,Weighted P-Frames: Y:3.6% UV:3.4%
 xa2v6g4  1[7i7n.f3o0] :f pref P L0: 65.8% 13.2% 14.9%  5.9%  0.2%
sx,2 6E4T A[ i0n0fho0]0:m 0ref B L0: 70.6% 27.6%  1.8%
0xs2)64 [info]: ref B L1: 95.3%  4.7%
x264 [info]: kb/s:146.03
[15:22:12] mux: track 0, 1751 frames, 1278187 bytes, 145.83 kbps, fifo 2048
[15:22:12] mux: track 1, 3019 frames, 1019601 bytes, 116.33 kbps, fifo 4096
[15:22:12] Finished work at: Sat Sep 26 15:22:12 2020

[15:22:12] libhb: work result = 0

Encode done!

HandBrake has exited.
You entered 56789
D:\home\cristofa\video_subs\short_vid\aff_brand>
rollin_eng
Veteran User
Posts: 3558
Joined: Wed May 04, 2011 11:06 pm

Re: Neither GUI or CLI work now ...

Post by rollin_eng »

You need —ssa-file in your command.
User avatar
Rodeo
HandBrake Team
Posts: 12604
Joined: Tue Mar 03, 2009 8:55 pm

Re: Neither GUI or CLI work now ...

Post by Rodeo »

--ssa-file /path/to/file.ass --ssa-burn
Cristofayre
Posts: 9
Joined: Thu Sep 24, 2020 11:56 am

Re: Neither GUI or CLI work now ...

Post by Cristofayre »

Thanks to "rolin_eng" and "rodeo" for giving me the correct path. Sorry for the late reply, been trying to get Powershell to work with FFMPEG with similar "flag" / path problems. (I have two parts; one is somthing affilates can download to create a personalised video - which is what I am using HandbrakeCLI for - and the main app program) ** I wish HB extracted audio from video, I could then switch to HB-CLI completely
rollin_eng
Veteran User
Posts: 3558
Joined: Wed May 04, 2011 11:06 pm

Re: Neither GUI or CLI work now ...

Post by rollin_eng »

Cristofayre wrote: Tue Sep 29, 2020 4:59 pm I wish HB extracted audio from video, I could then switch to HB-CLI completely
What do you mean?
Post Reply