Weird behaviour when Blu-ray source folder contains "."

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
phigo
Posts: 7
Joined: Thu Feb 14, 2013 6:27 pm

Weird behaviour when Blu-ray source folder contains "."

Post by phigo »

Hi, to get straight to the point: I just went up to Ubuntu Server 14.04 last week, I am currently using the nightlies (svn6205) of handbrake-cli and gtk (I have a GUI installed for VNC use but for other stuff, I exclusively use the HandBrakeCLI normally but this bug/weirdness also happened for me with the GUI version of handbrake).

I'll paste the log and then describe the problem:

Code: Select all

http://pastebin.com/raw.php?i=RvZyB7ft
If my input directory is "/true/movies/Fantastic.Mr.Fox/", it will open it up fine for scanning purposes, it sees all the chapters and audio/sub tracks but then when it gets down to "job configuration", the source has been changed to "/true/movies/Fantastic.Mr", without the last full stop and whatever came after it in the original inputted path. Then, when it comes to start the encode, it obviously can't find a valid blu-ray structure and exits with error 3.

It knocks off the last full stop and whatever follows it in every example I've tried, with CLI and GUI. For brevity I've condensed the following examples:

/true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3/ becomes /true/movies/Fantastic.Mr.Fox.5.1.2.3.4

Code: Select all

mv /true/movies/Fantastic.MrFox/ /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3/
HandBrakeCLI -i "/true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3/" -o /sata3/encodes/ffx.mkv -t 1 -e x264 --modulus 2 --x264-preset veryslow --x264-tune film --h264-profile high --h264-level 4.1 -q 19 -m -a 1 -E copy:dts -A English -s 1
[17:32:19] hb_init: starting libhb thread
HandBrake svn6205 (2014052501) - Linux x86_64 - http://handbrake.fr
8 CPUs detected
Opening /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3/...
[17:32:19] OpenCL: library not available
[17:32:19] hb_scan: path=/true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3/, title_index=1
...
[17:32:21] job configuration:
[17:32:21]  * source
[17:32:21]    + /true/movies/Fantastic.Mr.Fox.5.1.2.3.4
[17:32:21]    + title 1, chapter(s) 1 to 22
/true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432.13 becomes /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432

Code: Select all

mv /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3/ /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432.13
HandBrakeCLI -i "/true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432.13/" -o /sata3/encodes/ffx.mkv -t 1 -e x264 --modulus 2 --x264-preset veryslow --x264-tune film --h264-profile high --h264-level 4.1 -q 19 -m -a 1 -E copy:dts -A English -s 1
[17:33:02] hb_init: starting libhb thread
HandBrake svn6205 (2014052501) - Linux x86_64 - http://handbrake.fr
8 CPUs detected
Opening /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432.13/...
[17:33:02] OpenCL: library not available
[17:33:02] hb_scan: path=/true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432.13/, title_index=1
...
[17:33:03] job configuration:
[17:33:03]  * source
[17:33:03]    + /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432
[17:33:03]    + title 1, chapter(s) 1 to 22
/true/movies/Fantastic.Mr.Fox/ becomes /true/movies/Fantastic.Mr

Code: Select all

mv /true/movies/Fantastic.Mr.Fox.5.1.2.3.4.3.23.321.3.123.14.12432.13 /true/movies/Fantastic.Mr.Fox
HandBrakeCLI -i "/true/movies/Fantastic.Mr.Fox/" -o /sata3/encodes/ffx.mkv -t 1 -e x264 --modulus 2 --x264-preset veryslow --x264-tune film --h264-profile high --h264-level 4.1 -q 19 -m -a 1 -E copy:dts -A English -s 1
[17:33:40] hb_init: starting libhb thread
HandBrake svn6205 (2014052501) - Linux x86_64 - http://handbrake.fr
8 CPUs detected
Opening /true/movies/Fantastic.Mr.Fox/...
[17:33:40] OpenCL: library not available
[17:33:40] hb_scan: path=/true/movies/Fantastic.Mr.Fox/, title_index=1
...
[17:33:41] job configuration:
[17:33:41]  * source
[17:33:41]    + /true/movies/Fantastic.Mr
[17:33:41]    + title 1, chapter(s) 1 to 22
The above logs all came from the CLI but the exact same thing is observed in the activity log from the GUI.

I ran through an encode of an avi file (with full stops in the file name and path) and it went just fine so it looks to be just an issue when presenting a ripped Blu-ray disc. I should add that I've tried with and without quotes after -i but there were no spaces in the path so it can't be that.

Is this... known? I didn't see it mentioned in the trac... It can't just be me it's happening to, can it? :(
Last edited by phigo on Tue May 27, 2014 5:18 pm, edited 1 time in total.
Deleted User 11865

Re: Weird behaviour when Blu-ray source folder contains "."

Post by Deleted User 11865 »

Did it happen before you upgraded to 14.04?
phigo
Posts: 7
Joined: Thu Feb 14, 2013 6:27 pm

Re: Weird behaviour when Blu-ray source folder contains "."

Post by phigo »

No, never. I happily encoded with the official build from the ppa on 12.04 since I made the move to Ubuntu from Windows on this server 18 months ago.

The issue happens with all releases by the way, not just this one. Well, all Blu-ray folders with full stops in the path. I tried with the folder renamed to FantasticMrFox and it worked flawlessly.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5723
Joined: Sat Feb 09, 2008 7:21 pm

Re: Weird behaviour when Blu-ray source folder contains "."

Post by JohnAStebbins »

Well, that was a stupid mistake that's gone unnoticed for quite some time :oops:
Fixed https://trac.handbrake.fr/changeset/6206
phigo
Posts: 7
Joined: Thu Feb 14, 2013 6:27 pm

Re: Weird behaviour when Blu-ray source folder contains "."

Post by phigo »

Fantastic, it worked like a charm. Thank you. :)

This must've only been an issue with the nightlies, surely? I'm surprised I was the first person to stumble upon this bug, I can't be the only one who names their Blu-ray backups in the "scene" way with full stops instead of spaces...
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: Weird behaviour when Blu-ray source folder contains "."

Post by Smithcraft »

I think it's just you! ;)

SC
phigo
Posts: 7
Joined: Thu Feb 14, 2013 6:27 pm

Re: Weird behaviour when Blu-ray source folder contains "."

Post by phigo »

Smithcraft wrote:I think it's just you! ;)

SC
That honestly wouldn't surprise me in the slightest. I always seem to be the one to have obscure problems like this. :)
Post Reply