Having some issues with Handbrake's internal rules for renaming destination files. I've observed three patterns:
- this_is_a_test.mp4 --> This Is A Test.mp4 (convert underscore to space, convert to Camel Case)
- this is a test.mp4 --> This Is A Test.mp4 (convert to Camel Case, Windows filename collision). When you click start it gives an error "You cannot encode to a file with the same path and filename as the source file. Please update the destination filename so that it does not match the source file."
- This Is A Test.mp4 --> output_This Is A Test.mp4 (add "output_" prefix). Makes it hard to find the destination since it isn't sorted in Windows Explorer with the source file.
- If the source file is in camel case, auto-renaming to add the "output_" prefix makes it hard to find the destination file, since it isn't next to the source file in Windows explorer. Current work-around is to manually rename the destination.
- If the source file is in lower case, auto-renaming to Camel Case doesn't immediately throw an error. It only recognizes a Windows file name collision when you click start. Dumb idea to write a rule that doesn't / can't / won't work. Current work-around is to manually rename the destination.
Can you please:
- change the auto-renaming to use an "_output" suffix instead of a "output_" prefix? This keeps the source and files next to each other in Windows Explorer.
- recognize that in Windows, converting lower case to Camel Case creates a file name conflict. Also have to add "_output" suffix so that destination file is different than the source file
Tell us about your environment. What version of HandBrake? What version of Windows are you running. etc.
Handbrake 1.0.7 x64 on Windows x64. This dates back to the 0.-series when I first started using Handbrake.
http://imgur.com/a/mE8vF
If there was any exception or error displayed, please copy it and paste it here:
Please include the scan or encode log:
Code: Select all
HandBrake 1.0.7 (2017060900) - 64bit
OS: Microsoft Windows NT 10.0.15063.0 - 64bit
CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
Ram: 8149 MB,
GPU Information:
NVIDIA GeForce GTX 650 Ti - 22.21.13.8476
Screen: 1920x1080
Temp Dir: d:\Users\Andrew\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: d:\Users\Andrew\AppData\Roaming\HandBrake Team\HandBrake\1.0.7.0
-------------------------------------------
# Starting Scan ...
[11:09:29] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[11:09:29] - Intel microarchitecture Ivy Bridge
[11:09:29] - logical processor count: 4
[11:09:29] Intel Quick Sync Video support: no
[11:09:29] hb_scan: path=D:\this_is_a_test.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\this_is_a_test.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[11:09:29] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[11:09:29] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\this_is_a_test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.19.104
Duration: 00:04:03.43, start: 0.046440, bitrate: 249 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, 320x240 [PAR 1:1 DAR 4:3], 237 kb/s
24 fps, 12288 tbn (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
22050 Hz, stereo, fltp, 64 kb/s (default)
Metadata:
handler_name : SoundHandler
[11:09:29] scan: decoding previews for title 1
[11:09:29] scan: audio 0x1: aac, rate=22050Hz, bitrate=64005 English (AAC) (2.0 ch)
[11:09:29] scan: 10 previews, 320x240, 24.000 fps, autocrop = 0/0/2/2, aspect 4:3, PAR 1:1
[11:09:29] scan: supported video decoders: avcodec qsv
[11:09:29] libhb: scan thread found 1 valid title(s)
# Scan Finished ...
# Starting Scan ...
[11:11:36] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[11:11:36] - Intel microarchitecture Ivy Bridge
[11:11:36] - logical processor count: 4
[11:11:36] Intel Quick Sync Video support: no
[11:11:36] hb_scan: path=D:\this is a test.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\this is a test.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[11:11:36] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[11:11:36] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\this is a test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.19.104
Duration: 00:04:03.43, start: 0.046440, bitrate: 249 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, 320x240 [PAR 1:1 DAR 4:3], 237 kb/s
24 fps, 12288 tbn (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
22050 Hz, stereo, fltp, 64 kb/s (default)
Metadata:
handler_name : SoundHandler
[11:11:36] scan: decoding previews for title 1
[11:11:36] scan: audio 0x1: aac, rate=22050Hz, bitrate=64005 English (AAC) (2.0 ch)
[11:11:36] scan: 10 previews, 320x240, 24.000 fps, autocrop = 0/0/2/2, aspect 4:3, PAR 1:1
[11:11:36] scan: supported video decoders: avcodec qsv
[11:11:36] libhb: scan thread found 1 valid title(s)
# Scan Finished ...
# Starting Scan ...
[11:15:28] CPU: Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
[11:15:28] - Intel microarchitecture Ivy Bridge
[11:15:28] - logical processor count: 4
[11:15:28] Intel Quick Sync Video support: no
[11:15:28] hb_scan: path=D:\This Is A Test.mp4, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image D:\This Is A Test.mp4
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[11:15:28] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.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
[11:15:28] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\This Is A Test.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.19.104
Duration: 00:04:03.43, start: 0.046440, bitrate: 249 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, 320x240 [PAR 1:1 DAR 4:3], 237 kb/s
24 fps, 12288 tbn (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
22050 Hz, stereo, fltp, 64 kb/s (default)
Metadata:
handler_name : SoundHandler
[11:15:28] scan: decoding previews for title 1
[11:15:28] scan: audio 0x1: aac, rate=22050Hz, bitrate=64005 English (AAC) (2.0 ch)
[11:15:28] scan: 10 previews, 320x240, 24.000 fps, autocrop = 0/0/2/2, aspect 4:3, PAR 1:1
[11:15:28] scan: supported video decoders: avcodec qsv
[11:15:28] libhb: scan thread found 1 valid title(s)
# Scan Finished ...