Batch scan failing for many DVD ISO files that work individually
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.
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.
Batch scan failing for many DVD ISO files that work individually
Hi,
I'm getting errors when using Folder/ (Batch Scan) to scan a folder of DVD ISO files. If I open each file individually they work perfect, however if I batch scan 30 to 50 percent of ISO files fail.
with Handbrake 1.0.7 64bit on windows 10.
I get about 3,500 lines of this:
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
then it fails with this and goes on to the next ISO file.
Input #0, mp3, from 'F:\DVD_TO_DO_F\FRED_CLAUS.iso':
Duration: 202:37:39.37, start: 0.000000, bitrate: 47 kb/s
Stream #0:0: Audio: mp3
8000 Hz, stereo, s16p, 48 kb/s
[10:58:12] hb_stream_open: open F:\DVD_TO_DO_F\FRED_CLAUS.iso failed
I have attached both the single iso file open and also the batch scan with the same file.
Any help would be greatly appreciated.
Fred-Single - Works
https://pastebin.com/JNY92aWT
Fred-Batch - Fails
https://pastebin.com/ZaiKk9RX
Thank you
I'm getting errors when using Folder/ (Batch Scan) to scan a folder of DVD ISO files. If I open each file individually they work perfect, however if I batch scan 30 to 50 percent of ISO files fail.
with Handbrake 1.0.7 64bit on windows 10.
I get about 3,500 lines of this:
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
[mp3 @ 000001ecb074c220] Header missing
then it fails with this and goes on to the next ISO file.
Input #0, mp3, from 'F:\DVD_TO_DO_F\FRED_CLAUS.iso':
Duration: 202:37:39.37, start: 0.000000, bitrate: 47 kb/s
Stream #0:0: Audio: mp3
8000 Hz, stereo, s16p, 48 kb/s
[10:58:12] hb_stream_open: open F:\DVD_TO_DO_F\FRED_CLAUS.iso failed
I have attached both the single iso file open and also the batch scan with the same file.
Any help would be greatly appreciated.
Fred-Single - Works
https://pastebin.com/JNY92aWT
Fred-Batch - Fails
https://pastebin.com/ZaiKk9RX
Thank you
Re: Batch scan failing for many DVD ISO files that work individually
Batch scan doesn't work with DVDs.
Re: Batch scan failing for many DVD ISO files that work individually
Thanks Ritsuka,
Is there any workaround? Is there some way to convert them using the command line interface?
I'm trying to convert about 1000 DVD ISO files to MP4. Handbrake works perfectly, but it is a lot of work to add each file to the queue individually.
Thanks,
Is there any workaround? Is there some way to convert them using the command line interface?
I'm trying to convert about 1000 DVD ISO files to MP4. Handbrake works perfectly, but it is a lot of work to add each file to the queue individually.
Thanks,
Re: Batch scan failing for many DVD ISO files that work individually
I am attempting to use the CLI version to do this. Here is what I have so far, and it appears to be working. However I can not figure out which pre-set it is using. Will the below command line provide something similar to the Fast 480p30 preset if the iso file is DVD?
----batch file: Convert.bat
@echo off
set mypath=F:\DVD_TO_DO_F\
echo Starting Conversions
echo mypath = %mypath%
for %%f in (%mypath%*.iso) do (
echo converting "%%~nf.iso" to "%%~nf.mp4"
HandBrakeCLI.exe -i "%mypath%%%~nf.iso" -o "%mypath%%%~nf.mp4"
)
echo All Conversions Complete
pause
------end batch file Convert.bat
Thanks,
----batch file: Convert.bat
@echo off
set mypath=F:\DVD_TO_DO_F\
echo Starting Conversions
echo mypath = %mypath%
for %%f in (%mypath%*.iso) do (
echo converting "%%~nf.iso" to "%%~nf.mp4"
HandBrakeCLI.exe -i "%mypath%%%~nf.iso" -o "%mypath%%%~nf.mp4"
)
echo All Conversions Complete
pause
------end batch file Convert.bat
Thanks,
-
- Veteran User
- Posts: 4859
- Joined: Wed May 04, 2011 11:06 pm
Re: Batch scan failing for many DVD ISO files that work individually
Could you please post your logs, instructions can be found here:
https://handbrake.fr/docs/en/latest/hel ... y-log.html
https://handbrake.fr/docs/en/latest/hel ... y-log.html
Re: Batch scan failing for many DVD ISO files that work individually
Hi Rollin_eng. I posted them to the original post. The links appear to work fine. Is there an issue?
Thanks
Thanks
-
- Veteran User
- Posts: 4859
- Joined: Wed May 04, 2011 11:06 pm
Re: Batch scan failing for many DVD ISO files that work individually
Sorry, I meant for your CLI encode.
Re: Batch scan failing for many DVD ISO files that work individually
oh, I didn't think the CLI version made log files. Do you just want me to copy paste the screen buffer?
-
- Veteran User
- Posts: 4859
- Joined: Wed May 04, 2011 11:06 pm
Re: Batch scan failing for many DVD ISO files that work individually
Activity Logs on the command line
HandBrake’s command line interface outputs to the standard streams stdout and stderr, with encode progress information routed to the former and log messages routed to the latter.
To capture HandBrake’s log messages to a file, simply redirect stderr:
HandBrakeCLI ... 2> my-activity-log.txt
HandBrake’s command line interface outputs to the standard streams stdout and stderr, with encode progress information routed to the former and log messages routed to the latter.
To capture HandBrake’s log messages to a file, simply redirect stderr:
HandBrakeCLI ... 2> my-activity-log.txt
-
- Veteran User
- Posts: 4859
- Joined: Wed May 04, 2011 11:06 pm
Re: Batch scan failing for many DVD ISO files that work individually
You should be able to call a preset from the command line, but you might need the nightly build.
Re: Batch scan failing for many DVD ISO files that work individually
Hi Rollin_eng,
I was able to get everything working. Thanks for the tip on calling presets from the command line.
Here is the batch script I made to convert a folder of DVD ISO files to MP4 files. Working perfectly.
@echo off
set mypath=F:\DVD_TO_DO\
echo Starting Conversions
echo mypath = %mypath%
for %%f in (%mypath%*.iso) do (
echo converting "%%~nf.iso" to "%%~nf.mp4"
HandBrakeCLI.exe -i "%mypath%%%~nf.iso" -o "%mypath%%%~nf.mp4" -Z "Fast 480p30" 2> nul
)
echo All Conversions Complete
pause
I was able to get everything working. Thanks for the tip on calling presets from the command line.
Here is the batch script I made to convert a folder of DVD ISO files to MP4 files. Working perfectly.
@echo off
set mypath=F:\DVD_TO_DO\
echo Starting Conversions
echo mypath = %mypath%
for %%f in (%mypath%*.iso) do (
echo converting "%%~nf.iso" to "%%~nf.mp4"
HandBrakeCLI.exe -i "%mypath%%%~nf.iso" -o "%mypath%%%~nf.mp4" -Z "Fast 480p30" 2> nul
)
echo All Conversions Complete
pause