CSS weirdness with dd, dvdbackup, and mplayer -- Can someone explain?
Just wondering if someone could explain what's going on in the following circumstance. This doesn't happen for all CSS-encumbered DVDs, but I can reproduce the pattern for DVDs that it does happen to.
dd if=/dev/sr0 of=~/somefile bs=2048
dd cuts off with an error at around the 4MB mark.
mplayer -dvd-device /dev/sr0 -identify -frames 0
dd if=/dev/sr0 of=~/somefile bs=2048
dd now completes
mplayer -dvd-device ~/somefile dvd://n
the video is messed up
dvdbackup -i /dev/sr0 -o ~/somedir -n somename -M
mplayer -dvd-device ~/somedir/somename dvd://n
the video is still messed up
mplayer -dvd-device /dev/sr0 dvd://n -frames 60
This seems to be the magic trick
dvdbackup -i /dev/sr0 -o ~/somedir -n somename -M
mplayer -dvd-device ~/somedir/somename dvd://n
Now works.
dd if=/dev/sr0 of=~/somefile bs=2048
mplayer -dvd-device ~/somefile dvd://n
Still messed up.
Last edited by BrainwreckedTech (2011-10-03 17:43:32)
Thank you Dr but the following is true:
I placed this code in the for loop before I posted the question :
for (int i = 0; i < numSpanTags; i++) { // Loop falls through here!
System.out.println("Span tag (" + i + ") = " + spanTags.item(i));
}And I receive 29 (The correct number) of non-null references to objects (Node objects) in the NodeList.
When I replace the exact same for loop with this code :
for (int i = 0; i < numSpanTags; i++) { // Loop falls through here!
System.out.println("Span tag (" + i + ") = " + spanTags.item(i).getTextContent());
}Nothing prints. This discussion has never been about "clever means to suppress exceptions" it has been precisely about why a loop that has the
exact same references, exact same indices prints one time and doesn't print the other and does not throw an exception. If you can answer
that question then I am interested. I am not interested in pursuing avenues that are incorrect, not understood and most importantly shot from the hip without much thought.
Similar Messages
-
Java and ML - can someone explain?
In my total ignorance of Java, can someone please explain what, if anything, should be installed in 10.8.3?
If I go to java.com, it says I don't have Java installed and the 'Missing Plug-in' graphic shows.
I've seen all sorts of stuff about Java 7, Java 6, install/don't install, etc.
Can anyone give me a short answer to Java's position in 10.8.3?
Thanks.Java is not installed by default with Mountain Lion. This is because it has some serious security issues. So if you don't need it, it is best not to install it.
If you do need it, whatever wants to run it will complain & the OS will give you an opportunity to install it (via an Internet connection), or you can install it from the Java site.
Note: don't confuse Javascript with Java. They are two different things. -
DocumentEvent and DocumentListener can someone explain?
Hi there!
I'm trying to use the DocumentEvent and DocuementListener interfaces;
So far I'm not seeing much happening, I added the DocumentListener interface to my JEditorPane:
text_chat.getDocument().addDocumentListener( keyThis );And I'm looking for all changes made to the Document so I think this is correct from the Class that implements the interface?
//Method from DocumentListener
public void changedUpdate( DocumentEvent e ) {
e.getDocument();
String s = e.toString();
System.out.println( s );
}But it doesnt print anything!!
I want to take all DocumentEvents and pass them to another client so I guess I need to do some serializing but it this possible?
ThanksI think you need to read the DocumentListener API again. The changedUpdate() method is for changes in attributes, not insertion/removal of text.
-
i just replaced my mac pro with an iMac and i can't get it to work with my epson stylus 3800 printer? i have downloaded the 3800 software three times and the imac keeps telling me there is no software to run the printer? Any help here?
Care to share which OS you are using?
-
My ipod screen is cracked and i can't sync my ipod to itunes because it is locked with a password and i can't enter the password because the heat sensor is messed up on the ipod becasue of the screen and i don't want to restore it and lose everything. What can i do?!
All you can do is to restore and thus erase the iPod unless you can get a data recovery company to preserve the data.
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings -
Hi there, i'm new to the iPHONE community and please can someone tell me how to backup my phone to iCLOUD. How do i connect with wi-fi. Must i buy a wi-fi connetion or what.Thank you kind regards
Do you have a wi-fi network in your home ? If you do then you should be able to connect your phone to it via Settings > Wi-Fi on your phone - that should show any networks that are available, and tapping on the network that you want to use (and typing in its password if it's password protected) should connect the phone to it. If you don't have a wi-fi network then yes, you will need wifi router in your home, which is connected to the internet (e.g. via your phone line) to be able to back up your phone to iCloud.
Connecting to wifi : http://support.apple.com/kb/HT5569 (the screenshots on that page are from iOS 7, but they should be similar on iOS 6)
iCloud backup and storage overview : http://support.apple.com/kb/PH12519
You can also backup your phone to your computer's iTunes : http://support.apple.com/kb/HT1766 -
Somehow my MacBookPro iCloud account has a different name and password from my other devices. Even my date of birth is listed incorrectly. I have tried but can't seem to change this info to match up with my other devices. Can someone help?
Thanks
I have a PC (Windows 7)
Not sure when mobile me changed, but it was this weekend that my storage etc. lapsed (I have paid to keep storage with icloud). So i assume this has something to with it stopping. -
Dear Ones,
I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanxsee if this is helpful : [http://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
thank you
Please mark "Solved" the answer that really solve the problem, to help others with a similar problem. -
My iPhone five decided to go crazy and give me a white screen with black stripes and I can't get into my phone. I can only use Siri! What's happening?
You posted in the iPad forum instead of the iPhone forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa I'll request that Apple relocate your post.
Cheers, Tom -
using windows vista with two users and I can only open books with adobe digital edition
You must authorize the second computer with the same Adobe ID.
There are sometimes issues with this registration: if you have them ....
Sometimes ADE gets its registration/activation confused and in a semi-authorized state.
Uninstalling and reinstalling does not help.
Unfortunately, it often then gives misleading error messages about what is wrong.
A common incorrect message informs you that the ID is already in use on another computer and cannot be reused.
This can often be resolved by completely removing any authorization using ctrl-shift-D to the Library screen on ADE (cmd-shift-D if on Mac).
Restart ADE, and then reauthorize with your (old) Adobe ID. -
I have a new pc with win8.1 and I can't get my Photoshop Elements vers 1.0.1 to instal help, please.
Please assist with this compatibility issue. Thank youGordonr18571658 I am sorry I don't have any additional suggestions for how to install Photoshop Elements 1.0 besides installing in compatibility mode for Windows XP.
As an alternative you can find details regarding Photoshop Elements 13 at Picture editor, edit pictures | Adobe Photoshop Elements 13. Photoshop Elements 13 has been designed to install and function under Windows 8.1. There is a 30 day trial if you wish to evaluate the software and complete any current photo editing projects you may be facing. -
love firefox but am running on MAC OS X 4.0 still. what version of firefox can i download to be compatible with my system and where can i download? jo
Firefox 3.6.21 - http://www.mozilla.com/en-US/firefox/all-older.html
-
240 Gt with Cuda enabled and I can't get AME (6.0.1) to encode the file
I have 240 Gt with Cuda enabled and I can't get AME (6.0.1) to encode the file, when I switch to software only it will encode. Any help on how to get to encode in Cuda mode?
That is not a card that any Adobe software will use for CUDA acceleration.
See the system requirements for Premiere Pro CS6:
http://www.adobe.com/products/premiere/tech-specs.html -
Hi, I forgot my icloud password and my ipodtouch keeps asking me for my icloud password. When I enter my apple ID password, it will not accept it. I have been trying to find where I can reset my icloud password with no success. Please can someone help?
You reset the iClould password the same way you reset the Apple ID for the email address/account
How do I change or recover a forgotten Apple ID Password?
If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information. -
I made a ringtone on an app I got on my iPhone, I put it on iTunes and synced it with my iPhone and I can't find it on my phone, where do I have to look in order to find it?
When you synced in iTunes did you select your phone in devices on t left column and then click on tones int eh window on the right. When you synced did you tick all tones and tick sync and then click sync at the bottom of the window on the right? Was the ton ein the tones folder in the library folder?
Maybe you are looking for
-
I inserted a formula column and written an SQL statement which sometimes returns a value. But sometimes there is no data matches the criteria so no row is selected. In this case reports gives fatal error warning and stops. To get around this i wrote
-
Hello. I recently built a computer with Windows 7 (64 bit) and am having trouble connecting my WUSB54G adapter. I'm assuming I need certain drivers to make it work. If so, where can I find these drivers and how do I install them? I'm also hoping
-
Referencing and hopfully deleting custom dates in Address Book?
I'm really struggling with this as a AS newbie. I want to delete all custom date values from selected Address Book records. I am using the following script which successfully deletes Birthdays but cannot handle custom dates such as "Anniversary". can
-
Hello all, At my current project we are interfacing between SAP and PeopleSoft. The target system peoplesoft expects an xml exactly formed as follows. So within the CDATA area "<" and ">" are expected. NOT "< ;" and "> ;" AND NOT "< ;" and "&
-
Up to now I was working with CS4 with no prblems at all under Windows Vista. Now my computer is broken down. I need to buy a new one. Does anybody knows wheter CS 4 is working under Windows 8. Since onlx new Pc`s with Windows 8 are obtainable .