HandbrakeCLI Encode failed (error 3)

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
svibs
Posts: 2
Joined: Tue Jun 23, 2020 11:41 pm

HandbrakeCLI Encode failed (error 3)

Post by svibs »

I have a number of VIDEO_TS folders that I'm attempting to transcode to MP4s that are failing with the following error:
Encode failed (error 3)

What's odd it that the transcode succedes if I use the full Handbrake application instead of HandbrakeCLI

Here's what may command args look like:

Code: Select all

HandbrakeCLI.exe  --input "\\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!" --main-feature --output "\\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!\Blue Man Group: How To Be a Megastar Live.mp4"  --format av_mp4 -m -e x264


and here's what the console output looks like:

Code: Select all

Microsoft Windows [Version 10.0.18363.900]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>cd "C:\TFS\Main\Source\MyMovies2LibraryConfigTool\MyMovies2LibraryConfigTool\bin\Debug\Dependencies"

C:\TFS\Main\Source\MyMovies2LibraryConfigTool\MyMovies2LibraryConfigTool\bin\Debug\Dependencies>HandbrakeCLI.exe  --input "\\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!" --main-feature --output "\\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!\Blue Man Group: How To Be a Megastar Live.mp4"  --format av_mp4 -m -e x264
[19:34:52] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[19:34:53] hb_init: starting libhb thread
[19:34:53] thread 1 started ("libhb")
HandBrake 1.3.3 (2020061300) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!...
[19:34:53] CPU: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
[19:34:53]  - Intel microarchitecture Kaby Lake
[19:34:53]  - logical processor count: 8
[19:34:53] Intel Quick Sync Video support: yes
[19:34:53]  - Intel Media SDK hardware: API 1.30 (minimum: 1.3)
[19:34:53]  - H.264 encoder: yes
[19:34:53]     - preferred implementation: hardware (any) via D3D11
[19:34:53]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[19:34:53]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
[19:34:53]     - preferred implementation: hardware (any) via D3D11
[19:34:53]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[19:34:53] hb_scan: path=\\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!, title_index=0
Scanning title 1 of 1, 0.00 %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(\\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!\) failed
[19:34:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! for reading
libdvdread: Device \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! inaccessible, CSS authentication not available.
Scanning title 1 of 1, 0.00 %libdvdnav: Unable to open device file \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Scanning title 1 of 1, 0.00 %libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! for reading
libdvdread: Device \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! inaccessible, CSS authentication not available.
Scanning title 1 of 1, 0.00 %[19:34:55] scan: DVD has 1 title(s)
[19:34:55] scan: scanning title 1
Scanning title 1 of 1, 50.00 %[19:34:56] scan: duration is 01:28:26 (5306400 ms)
[19:34:56] pgc_id: 1, pgn: 1: pgc: 00000000067AAEA0
[19:34:56] scan: checking audio 1
[19:34:56] scan: id=0xa0bd, lang=English (LPCM), 3cc=eng ext=0
[19:34:56] scan: title 1 has 23 chapters
[19:34:56] scan: chap 1, 180834 ms
[19:34:56] scan: chap 2, 278000 ms
[19:34:56] scan: chap 3, 313000 ms
[19:34:56] scan: chap 4, 363000 ms
[19:34:56] scan: chap 5, 284000 ms
[19:34:56] scan: chap 6, 144000 ms
[19:34:56] scan: chap 7, 251000 ms
[19:34:56] scan: chap 8, 44400 ms
[19:34:56] scan: chap 9, 242600 ms
[19:34:56] scan: chap 10, 339800 ms
[19:34:56] scan: chap 11, 348200 ms
[19:34:56] scan: chap 12, 196000 ms
[19:34:56] scan: chap 13, 61000 ms
[19:34:56] scan: chap 14, 197000 ms
[19:34:56] scan: chap 15, 182066 ms
[19:34:56] scan: chap 16, 365934 ms
[19:34:56] scan: chap 17, 200333 ms
[19:34:56] scan: chap 18, 271000 ms
[19:34:56] scan: chap 19, 282667 ms
[19:34:56] scan: chap 20, 315000 ms
[19:34:56] scan: chap 21, 172000 ms
[19:34:56] scan: chap 22, 263500 ms
[19:34:56] scan: chap 23, 11066 ms
[19:34:56] scan: aspect = 16:9
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Scanning title 1 of 1, 50.00 %ERROR: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
Scanning title 1 of 1, 50.00 %[19:35:03] scan: decoding previews for title 1
Scanning title 1 of 1, preview 1, 50.00 %libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Scanning title 1 of 1, preview 1, 50.00 %[19:35:03] scan: title angle(s) 1
Scanning title 1 of 1, preview 1, 55.00 %[19:35:06] scan: audio 0xa0bd: LPCM, rate=48000Hz, bitrate=1536000 English (LPCM) (2.0 ch) (1536 kbps)
Scanning title 1 of 1, preview 10, 100.00 %[19:35:12] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/0/2, aspect 16:9, PAR 32:27
Scanning title 1 of 1, preview 10, 100.00 %[19:35:12] libhb: scan thread found 1 valid title(s)
Searching for main feature title...
 + Title (0) index 1 has length 5306sec
Found main feature title 1
+ Using preset: CLI Default
+ title 1:
  + index 1
  + duration: 01:28:26
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 0/0/0/2
  + chapters:
    + 1: duration 00:03:01
    + 2: duration 00:04:38
    + 3: duration 00:05:13
    + 4: duration 00:06:03
    + 5: duration 00:04:44
    + 6: duration 00:02:24
    + 7: duration 00:04:11
    + 8: duration 00:00:44
    + 9: duration 00:04:03
    + 10: duration 00:05:40
    + 11: duration 00:05:48
    + 12: duration 00:03:16
    + 13: duration 00:01:01
    + 14: duration 00:03:17
    + 15: duration 00:03:02
    + 16: duration 00:06:06
    + 17: duration 00:03:20
    + 18: duration 00:04:31
    + 19: duration 00:04:43
    + 20: duration 00:05:15
    + 21: duration 00:02:52
    + 22: duration 00:04:24
    + 23: duration 00:00:11
  + audio tracks:
    + 1, English (LPCM) (2.0 ch) (1536 kbps) (iso639-2: eng)
  + subtitle tracks:
[19:35:12] Starting work at: Tue Jun 23 19:35:12 2020

[19:35:12] 1 job(s) to process
[19:35:12] 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": 3,
                    "Seconds": 1,
                    "Ticks": 16275060
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 38,
                    "Ticks": 25020000
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 13,
                    "Ticks": 28170000
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 3,
                    "Ticks": 32670000
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 44,
                    "Ticks": 25560000
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 24,
                    "Ticks": 12960000
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 11,
                    "Ticks": 22590000
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 44,
                    "Ticks": 3996000
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 3,
                    "Ticks": 21834000
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 40,
                    "Ticks": 30582000
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 48,
                    "Ticks": 31338000
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 16,
                    "Ticks": 17640000
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 1,
                    "Ticks": 5490000
                },
                "Name": "Chapter 13"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 17,
                    "Ticks": 17730000
                },
                "Name": "Chapter 14"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 2,
                    "Ticks": 16385940
                },
                "Name": "Chapter 15"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 6,
                    "Ticks": 32934060
                },
                "Name": "Chapter 16"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 20,
                    "Ticks": 18029970
                },
                "Name": "Chapter 17"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 31,
                    "Ticks": 24390000
                },
                "Name": "Chapter 18"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 43,
                    "Ticks": 25440030
                },
                "Name": "Chapter 19"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 15,
                    "Ticks": 28350000
                },
                "Name": "Chapter 20"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 52,
                    "Ticks": 15480000
                },
                "Name": "Chapter 21"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 24,
                    "Ticks": 23715000
                },
                "Name": "Chapter 22"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 11,
                    "Ticks": 995940
                },
                "Name": "Chapter 23"
            }
        ],
        "ChapterMarkers": true,
        "File": "\\\\media-nas1\\share\\MyMovies\\Blue Man Group - How to be a Megastar Live!\\Blue Man Group: How To Be a Megastar Live.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": 0,
                    "crop-right": 2,
                    "crop-top": 0,
                    "height": 480,
                    "width": 718
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 27,
        "Num": 32
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "\\\\media-nas1\\share\\MyMovies\\Blue Man Group - How to be a Megastar Live!",
        "Range": {
            "End": 23,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 6,
        "ColorPrimaries": 6,
        "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
    }
}
[19:35:12] Starting Task: Encoding Pass
[19:35:12] Skipping vfr filter
[19:35:12] job configuration:
[19:35:12]  * source
[19:35:12]    + \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!
[19:35:12]    + title 1, chapter(s) 1 to 23
[19:35:12]  * destination
[19:35:12]    + \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!\Blue Man Group: How To Be a Megastar Live.mp4
[19:35:12]    + container: MPEG-4 (libavformat)
[19:35:12]      + chapter markers
[19:35:12]  * video track
[19:35:12]    + decoder: mpeg2video
[19:35:12]      + bitrate 200 kbps
[19:35:12]    + filters
[19:35:12]      + Crop and Scale (width=718:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=2)
[19:35:12]        + source: 720 * 480, crop (0/0/0/2): 718 * 480, scale: 718 * 480
[19:35:12]    + Output geometry
[19:35:12]      + storage dimensions: 718 x 480
[19:35:12]      + pixel aspect ratio: 32 : 27
[19:35:12]      + display dimensions: 850 x 480
[19:35:12]    + encoder: H.264 (libx264)
[19:35:12]      + preset:  medium
[19:35:12]      + profile: auto
[19:35:12]      + level:   auto
[19:35:12]      + quality: 22.00 (RF)
[19:35:12]      + color profile: 6-1-6
[19:35:12]  * audio track 1
[19:35:12]    + decoder: English (LPCM) (2.0 ch) (1536 kbps) (track 1, id 0xa0bd)
[19:35:12]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[19:35:12]    + mixdown: Stereo
[19:35:12]    + dither: triangular
[19:35:12]    + encoder: AAC (libavcodec)
[19:35:12]      + bitrate: 128 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! for reading
libdvdread: Device \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! inaccessible, CSS authentication not available.
Encoding: task 1 of 1, 0.00 %libdvdnav: Unable to open device file \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Encoding: task 1 of 1, 0.00 %libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! for reading
libdvdread: Device \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! inaccessible, CSS authentication not available.
Encoding: task 1 of 1, 0.00 %libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Encoding: task 1 of 1, 0.00 %[19:35:15] sync: expecting 127226 video frames
[19:35:15] encx264: min-keyint: 24, keyint: 240
[19:35:15] encx264: encoding at constant RF 22.000000
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 3.0, 4:2:0, 8-bit
ERROR: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
ERROR: avio_open2 failed, errno -2
[19:35:15] work: average encoding speed for job is 0.000000 fps
Encoding: task 1 of 1, 0.00 %[19:35:17] mpeg2video-decoder done: 0 frames, 0 decoder errors
[19:35:17] sync: got 0 frames, 127226 expected
[aac @ 0000000006669e80] Qavg: nan
Muxing: this may take awhile...[19:35:17] Finished work at: Tue Jun 23 19:35:17 2020

[19:35:17] libhb: work result = 3

Encode failed (error 3).

HandBrake has exited.
I'm running HandbrakeCLI version 1.3.3 as is the Handbrake application. OS is Windows 10 1909. DVDs in question were all ripped using AnyDVD running on a Windows 7 machine.

Any thoughts?
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: HandbrakeCLI Encode failed (error 3)

Post by rollin_eng »

I would guess your destination name/path is invalid.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: HandbrakeCLI Encode failed (error 3)

Post by Woodstock »

libdvdread: Could not open input: Permission denied
Kind of a give-away. Your NAS isn't letting handbrake read the source. Although it is weird that the NAS allows enough reading to determine video content and predict how many frames will be coming.

Fix the permissions and it should work.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: HandbrakeCLI Encode failed (error 3)

Post by Navvie »

I nearly always take MKVs produced from MakeMKV as my source for Handbrake, so I might be way off here, but is your source encrypted/copy protected?

Lots of log entries about Encrypted DVD support not available and CSS authentication not available.
Deleted User 11865

Re: HandbrakeCLI Encode failed (error 3)

Post by Deleted User 11865 »

Real error:
svibs wrote: Tue Jun 23, 2020 11:53 pm

Code: Select all

[19:35:12]  * source
[19:35:12]    + \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!
[19:35:12]    + title 1, chapter(s) 1 to 23
[19:35:12]  * destination
[19:35:12]    + \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!\Blue Man Group: How To Be a Megastar Live.mp4
[19:35:12]    + container: MPEG-4 (libavformat)
[19:35:12]      + chapter markers
[19:35:12]  * video track
[19:35:12]    + decoder: mpeg2video
[19:35:12]      + bitrate 200 kbps
[19:35:12]    + filters
[19:35:12]      + Crop and Scale (width=718:height=480:crop-top=0:crop-bottom=0:crop-left=0:crop-right=2)
[19:35:12]        + source: 720 * 480, crop (0/0/0/2): 718 * 480, scale: 718 * 480
[19:35:12]    + Output geometry
[19:35:12]      + storage dimensions: 718 x 480
[19:35:12]      + pixel aspect ratio: 32 : 27
[19:35:12]      + display dimensions: 850 x 480
[19:35:12]    + encoder: H.264 (libx264)
[19:35:12]      + preset:  medium
[19:35:12]      + profile: auto
[19:35:12]      + level:   auto
[19:35:12]      + quality: 22.00 (RF)
[19:35:12]      + color profile: 6-1-6
[19:35:12]  * audio track 1
[19:35:12]    + decoder: English (LPCM) (2.0 ch) (1536 kbps) (track 1, id 0xa0bd)
[19:35:12]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[19:35:12]    + mixdown: Stereo
[19:35:12]    + dither: triangular
[19:35:12]    + encoder: AAC (libavcodec)
[19:35:12]      + bitrate: 128 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! for reading
libdvdread: Device \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! inaccessible, CSS authentication not available.
Encoding: task 1 of 1, 0.00 %libdvdnav: Unable to open device file \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live!.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Encoding: task 1 of 1, 0.00 %libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! for reading
libdvdread: Device \\media-nas1\share\MyMovies\Blue Man Group - How to be a Megastar Live! inaccessible, CSS authentication not available.
Encoding: task 1 of 1, 0.00 %libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
Encoding: task 1 of 1, 0.00 %[19:35:15] sync: expecting 127226 video frames
[19:35:15] encx264: min-keyint: 24, keyint: 240
[19:35:15] encx264: encoding at constant RF 22.000000
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 3.0, 4:2:0, 8-bit
ERROR: dvdnav: Can not set dvd menu, No such menu or menu not reachable.
ERROR: avio_open2 failed, errno -2
libavformat cannot open the output; most likely a permissions error.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: HandbrakeCLI Encode failed (error 3)

Post by rollin_eng »

Your output file name has a “:” in it. Thus it probably can’t be created
Last edited by rollin_eng on Wed Jun 24, 2020 6:32 pm, edited 1 time in total.
Deleted User 11865

Re: HandbrakeCLI Encode failed (error 3)

Post by Deleted User 11865 »

Makes sense.
svibs
Posts: 2
Joined: Tue Jun 23, 2020 11:41 pm

Re: HandbrakeCLI Encode failed (error 3)

Post by svibs »

rollin_eng wrote: Wed Jun 24, 2020 5:46 pm Your output file name has a “:” in it. Thus it probably can’t be created
And the winner is...

Yes, this turned out to be the issue. I have a database of ripped DVDs that includes the DVD title, folder location, running time, etc. I have an application that reads info from the database, iterates through the records using the folder path and DVD title to construct an MP4 destination path. Problem is some titles have colons and other invalid file name characters in them. Of course, when I was using the full version of Handbrake to transcode these problem children I was using a simple destination path and file name which made it look like HandbrakeCLI was the problem. Anyway, I think this is sorted out. Thanks for the responses!
Post Reply