Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

illegal character N error #19

Closed
jsdouglas22 opened this issue Feb 19, 2016 · 12 comments
Closed

illegal character N error #19

jsdouglas22 opened this issue Feb 19, 2016 · 12 comments
Assignees
Labels

Comments

@jsdouglas22
Copy link

It seems to crap out because of this, before I was getting a bunch of unary operator expected; according to manuals i read i could correct this by added an additional [ around if /&& statements, which i've done (see attachment) however I am getting illegal character N

error-not in log file
h265ize.log-h265ize-bash.zip

@jsdouglas22
Copy link
Author

[h265ize]: [Debug] Preprocessing 5 Flights Up.2014.tt2933544.sub...
[h265ize]: [Debug] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[h265ize]: [Debug] File directory: /hd/02/media/movie/1080p/5 Flights Up (2014)
[h265ize]: [Debug] Parent directory: /hd/02/media/movie
[h265ize]: [Debug] Resulting relative directory: /1080p/5 Flights Up (2014)
[h265ize]: [Debug] Destination: /hd/02/media/encoding
[h265ize]: [Debug] Output: /hd/02/media/encoding/1080p/5 Flights Up (2014)/5 Flights Up.2014.tt2933544.mkv
[h265ize]: Processing 5 Flights Up.2014.tt2933544.sub...
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(standard_in) 1: illegal character: N
(standard_in) 1: syntax error
[h265ize]: [Verbose] File encoding started at 02/18 11:24:17 PM
[h265ize]: [Verbose] Duration:  Minutes (N/A seconds)
[h265ize]: [Verbose] Size: 36 MB
[h265ize]: [Debug] Stream Index: 0    Title:     Language: unk    Codec: subtitle
[h265ize]: [Debug] Subtitle #1
[h265ize]: [Debug] Language: unk     Default Audio:     NativeLangCode: eng
[h265ize]: [Verbose] Default audio language does not match native language and native language subtitle provided. Default subtitle set to native language or first unknown language subtitle.
[h265ize]: [Debug] Stream Index: 1    Title:     Language: unk    Codec: subtitle
[h265ize]: [Debug] Subtitle #2
[h265ize]: [Debug] Language: unk     Default Audio:     NativeLangCode: eng
[h265ize]: [Verbose] Multiple potential default subtitles with language unk found. Using first potential subtitle.
[h265ize]: [Verbose] Resolution: x
[h265ize]: [Verbose] Audio Codecs:
[h265ize]: [Verbose] Audio Tracks:
[h265ize]: Subtitle title was empty. Subtitle title changed to Unknown.
[h265ize]: Subtitle title was empty. Subtitle title changed to Unknown.
[h265ize]: [Verbose] Subtitle Tracks: Unknown ,Unknown
[h265ize]: [Verbose] Subtitles: --subtitle 1,2
(standard_in) 1: illegal character: N
(standard_in) 1: syntax error
(standard_in) 2: syntax error
[h265ize]: [Verbose] Encoding Profile: main
[h265ize]: [Debug] [Query] HandBrakeCLI -i /hd/02/media/movie/1080p/5\ Flights\ Up\ \(2014\)/5\ Flights\ Up.2014.tt2933544.sub -o /hd/02/media/encoding/encoding-in-process-18827.mkv -w  -l  --previews 50 -e x265 -q 23 --vfr -a  --gain 0 --audio-fallback ac3 -6 dpl2  -E   --subtitle 1,2 --subtitle-default=1 --encoder-profile=main --encoder-preset=medium  --modulus 2 -m  --verbose=0 < /dev/null
[h265ize]: Handbraking...
HandBrake 0.10.1 (2015100400) - Linux x86_64 - https://handbrake.fr
8 CPUs detected
Opening /hd/02/media/movie/1080p/5 Flights Up (2014)/5 Flights Up.2014.tt2933544.sub...
index_parse.c:190: indx_parse(): error opening /hd/02/media/movie/1080p/5 Flights Up (2014)/5 Flights Up.2014.tt2933544.sub/BDMV/index.bdmv
index_parse.c:190: indx_parse(): error opening /hd/02/media/movie/1080p/5 Flights Up (2014)/5 Flights Up.2014.tt2933544.sub/BDMV/BACKUP/index.bdmv
bluray.c:2365: nav_get_title_list(/hd/02/media/movie/1080p/5 Flights Up (2014)/5 Flights Up.2014.tt2933544.sub) failed
libdvdnav: Using dvdnav version 5.0.1
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
No title found.

HandBrake has exited.
[h265ize]: Handbraking Complete -----------------------------------------------
(standard_in) 1: illegal character: N
(standard_in) 1: syntax error
(standard_in) 1: illegal character: N
(standard_in) 1: syntax error
(standard_in) 2: syntax error
(standard_in) 2: syntax error
[h265ize]: [Verbose] Original Duration: N/A New Duration: 0

seems to be something to do with subtitles. Ironic these videos are also already h265 Any recommendations to try would be great.

@FallingSnow
Copy link
Owner

Hmmm. From the looks of it, h265ize tried to encode a subtitle file (the .sub). This would explain why handbrake says no titles detected. I don't know exactly what those input errors are from but I expect they are caused by trying to get data about the encoded file since handbrake didn't give an error code. Anyway, they are safe to ignore if they don't really bother you.

Sent from myMail app for Android Thursday, 18 February 2016, 07:40PM -08:00 from jsdouglas22 < notifications@github.com> :

It seems to crap out because of this, before I was getting a bunch of unary operator expected; according to manuals i read i could correct this by added an additional [ around if /&& statements, which i've done (see attachment) however I am getting illegal character N

h265ize.log-h265ize-bash.zip

Reply to this email directly or view it on GitHub .

@jsdouglas22
Copy link
Author

untitled

1080p.log.txt

Well the problem is its crapping out by giving ffmpeg error stream map 0:2
matches no stream then it craps out and doesn't end cleanly
On Feb 19, 2016 12:09 AM, "Ayrton Sparling" notifications@github.com
wrote:

Hmmm. From the looks of it, h265ize tried to encode a subtitle file (the
.sub). This would explain why handbrake says no titles detected. I don't
know exactly what those input errors are from but I expect they are caused
by trying to get data about the encoded file since handbrake didn't give an

error code. Anyway, they are safe to ignore if they don't really bother you.

Sent from myMail app for Android Thursday, 18 February 2016, 07:40PM
-08:00 from jsdouglas22 < notifications@github.com> :

It seems to crap out because of this, before I was getting a bunch of
unary operator expected; according to manuals i read i could correct this
by added an additional [ around if /&& statements, which i've done (see
attachment) however I am getting illegal character N

h265ize.log-h265ize-bash.zip

Reply to this email directly or view it on GitHub .


Reply to this email directly or view it on GitHub
#19 (comment).

@jsdouglas22
Copy link
Author

untitled

@jsdouglas22
Copy link
Author

untitled2

As you can see it's crapping out and not moving on to the next file.

@FallingSnow
Copy link
Owner

Hmmm. I see your issue. Firstly, can you give me a copy of a file that isn't working so I can test it myself?

I'm guessing the issue is stemming from ffprobe identifying a stream 0:2 but when ffmpeg goes to encode it it doesn't see stream 0:2. The relevant debug data from ffprobe:

[h265ize]: [Debug] Stream Index: 0    Title:     Language: eng    Codec: video
[h265ize]: [Debug] Stream Index: 1    Title:     Language: eng    Codec: audio
[h265ize]: [Debug] Stream Index: 2    Title:     Language: eng    Codec: data

@FallingSnow
Copy link
Owner

Also, if you want to encode videos already in h265 you can use the -o (override) flag.

@FallingSnow FallingSnow self-assigned this Feb 20, 2016
@jsdouglas22
Copy link
Author

Only looking to do non h265 I will send the file later on I am currently
out of town now
On Feb 19, 2016 10:02 PM, "Ayrton Sparling" notifications@github.com
wrote:

Also, if you want to encode videos already in h265 you can use the -o
(override) flag.


Reply to this email directly or view it on GitHub
#19 (comment).

@FallingSnow
Copy link
Owner

I'll be gone all day today too, so that works out perfect.

@jsdouglas22
Copy link
Author

@FallingSnow
Copy link
Owner

Found it. Handbrake recently removed the FDK AAC encoder because of licencing problems. So handbrake wasn't encoding one of the streams and that why you were getting the missing stream error. I just uploaded a new version, that should fix your problem.

@jsdouglas22
Copy link
Author

Working good now, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants