LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2017, 09:17 AM   #1
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Rep: Reputation: 56
HandBrake 1.0.0 x86_64


I installed HandBrake 1.0.0 x86_64 from Alien's build and either my search-foo sucks or there hasn't been an issue like this reported yet.

I'm trying to scan a DVD and while it's scanning, then application crashes. It does say "Scanning title: 1 to 99" and it does hit 99 of 99 before it crashes.

The kernel log (system Log) reports the following:

Code:
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 Sense Key : 0x3 [current]
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 ASC=0x11 ASCQ=0x5
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 CDB: opcode=0x28 28 00 00 00 00 c0 00 00 40 00
1/16/17 10:02 AM	blk_update_request	I/O error, dev sr0, sector 768
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 Sense Key : 0x4 [current]
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 ASC=0x3e ASCQ=0x2
1/16/17 10:02 AM	sr 4	:1:0: [sr0] tag#0 CDB: opcode=0x28 28 00 00 00 00 c0 00 00 02 00
1/16/17 10:02 AM	blk_update_request	I/O error, dev sr0, sector 768
1/16/17 10:02 AM		Buffer I/O error on dev sr0, logical block 96, async page read
When I run it from the command line I get this:

Code:
bassplayer69@gonzo:~$ ghb /dev/sr0
Gtk: Failed to fetch network locations: The specified location is not mounted
Gtk: Failed to fetch network locations: The specified location is not mounted
Gtk: Failed to fetch network locations: The specified location is not mounted
Aborted
bassplayer69@gonzo:~$
my groups are:

Code:
...
cdrom:x:19:bassplayer69
...
I'm running current64 w/multilib and kernel 4.4.42 generic w/initrd

I get the following when running it as root:

Code:
root@gonzo:~# ghb /dev/sr0
Aborted
root@gonzo:~#
Same thing, but without the GTK errors/warnings.

I've read on Mac OS threads about having to hav VLC installed, but don't know if that's a requirement or not. Didn't see any mention of in on Alien Pastures. VLC is installed though -- same package from AlienBob.

So, I don't believe its a package issue, but perhaps it doesn't like "protected" DVD's?
 
Old 01-16-2017, 02:16 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
dvds that play in standalone players may not play nice with computer optical hardware, speaking of, what is your computer optical hardware, is it older or more recent? Did you try different dvd? Is libdvdcss installed?
 
1 members found this post helpful.
Old 01-16-2017, 02:55 PM   #3
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by glorsplitz View Post
dvds that play in standalone players may not play nice with computer optical hardware, speaking of, what is your computer optical hardware, is it older or more recent? Did you try different dvd? Is libdvdcss installed?
CDDVDW - it's an IDE model

Code:
root@gonzo:~# dmesg | grep DVD
[    1.006707] ata5.01: ATAPI: TSSTcorp CDDVDW SH-S202H, SB00, max UDMA/66
[    3.839035] scsi 4:0:1:0: CD-ROM            TSSTcorp CDDVDW SH-S202H  SB00 PQ: 0 ANSI: 5
root@gonzo:~#
Must be that one DVD as I tried it with "Alter Bridge - Live From Amsterdam" and it worked flawlessly.

libdvdcss is installed as well.

I am able to play the DVD that crashes HandBrake using the same hardware using VLC which is interesting.

Thanks for the reply.
 
Old 01-16-2017, 04:56 PM   #4
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Somewhat related, I was trying to recompress some video files and after adding the 6th one to the queue Handbrake crashed.

I have also noticed that Handbrake has released 1.0.1, but I have no idea what has changed or been fixed since I do not see a changelog anywhere. Maybe you might want to compile with the new version and see if it's been fixed?

EDIT:

Quote:
# HandBrake News

## HandBrake 1.0.1

### All platforms

#### Video

- Fixed a potential crash when using the VP8 or VP9 video encoders
- Fixed a potential crash when using 2-pass ABR

#### Command line interface

- Fixed importing chapter names from a file

### Linux

- Fixed Keep Aspect Ratio control (disabled) when anamorphic mode is Auto
- Widened presets list to accommodate longer preset names
- Miscellaneous bug fixes

Last edited by Skaendo; 01-16-2017 at 07:15 PM.
 
1 members found this post helpful.
Old 01-16-2017, 08:04 PM   #5
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Skaendo View Post
Somewhat related, I was trying to recompress some video files and after adding the 6th one to the queue Handbrake crashed.

I have also noticed that Handbrake has released 1.0.1, but I have no idea what has changed or been fixed since I do not see a changelog anywhere. Maybe you might want to compile with the new version and see if it's been fixed?

EDIT:
Sounds like a good idea to try.

Thanks for the info on the newer version.
 
Old 01-17-2017, 01:27 AM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by bassplayer69 View Post
I'm trying to scan a DVD and while it's scanning, then application crashes.
I have the same issue here with also no easy resolution found online.... Again with alienBob's 1.0 package on Slackware -current, 64bit multilib.
 
Old 01-17-2017, 08:52 AM   #7
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Mine is crashing also with alienbob's 1.0.0 14.2-x86_64 package.
 
1 members found this post helpful.
Old 01-17-2017, 03:02 PM   #8
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by FTIO View Post
Mine is crashing also with alienbob's 1.0.0 14.2-x86_64 package.
I seem to have at least bypassed the issue of crashing while reading DVDs by unchecking the option to 'Use dvdnav (instead of libdvdread)' under Preferences --> Advanced.... Interesting to see if this solves the issue for others?
 
Old 01-17-2017, 04:19 PM   #9
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
HandBrake 1.0.1 did fix the issue. I made my own slackbuild - hacking up the one on Slackbuilds.org, installed the new package and tried the same DVD that crashed 1.0.0. Worked like a charm.

Thanks everyone who've replied.
 
1 members found this post helpful.
Old 01-18-2017, 05:06 AM   #10
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
@bassplayer69 - How did you hack it up so that it doesn't start downloading, building and installing all those 'dependencies'? I already have all of them installed from when I built ffmpeg, and the ones I have installed are mostly higher versions than the Handbrake slackbuild wants to use.
 
Old 01-18-2017, 05:25 AM   #11
bassplayer69
Member
 
Registered: Jul 2007
Location: In a van down by the river...
Distribution: MX Linux 21
Posts: 237

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by FTIO View Post
@bassplayer69 - How did you hack it up so that it doesn't start downloading, building and installing all those 'dependencies'? I already have all of them installed from when I built ffmpeg, and the ones I have installed are mostly higher versions than the Handbrake slackbuild wants to use.
I did not have them installed, so I let the slackbuild download and build the library dependencies. The only one I had to install myself was https://www.slackbuilds.org/repository/14.2/audio/opus/ (opus) as it would not build without it. The ones that it did download were newer than the ones listed on the slackbuilds page as well, so another reason to let it download them. You could uninstall yours and let it build them. That might cause problems for you or not. YMMV.
 
Old 01-18-2017, 05:46 AM   #12
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Drat, yes, it would cause problems as I think it would then mess up my ffmpeg I built. I got to looking closer and it's not actually in the SlackBuild script, but it's in the HandBrake directory (extracted from the tar.bz2). Only problem with that is, I'm not a coder and have no clue how to figure out how to make it 'not' look for those downloads.

Oh well, I guess I'll just wait for alien to make the 1.0.1. I was really hoping I could help out and/or just roll my own though. Thanks for the suggestions though.

Thanks to you also andrew.46, I might give that a try.
 
Old 01-18-2017, 03:35 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I added a handbrake-1.0.1 package to my (restricted) repository. Hopefully that solves your crashing issues.
 
5 members found this post helpful.
Old 01-19-2017, 10:11 AM   #14
FTIO
Member
 
Registered: Mar 2015
Location: Las Vegas, NV
Distribution: Slackware 15.0 x64, Slackware Live 15.0 x64
Posts: 618

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by Alien Bob View Post
I added a handbrake-1.0.1 package to my (restricted) repository. Hopefully that solves your crashing issues.
It has fixed mine. Thanks Alien Bob!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Handbrake Install CincinnatiKid Mandriva 14 11-29-2012 04:53 AM
handbrake or others mhg Ubuntu 1 11-26-2010 11:02 AM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 04:36 PM
opensuse 11 - compiz x86_64, libcompizconfig 586... wait, what? where is x86_64 ver? almcneill SUSE / openSUSE 9 09-28-2008 10:36 AM
LXer: Xen 3.2 on CentOS 5.2 x86_64 / RHEL 5.2 x86_64 LXer Syndicated Linux News 0 07-12-2008 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration