Feeds:
Posts
Comments

Posts Tagged ‘clips’

If you’ve been getting blue faces when watching YouTube clips, or any other Adobe Flash videos, the cause can be hard to pinpoint. When faces and flames, and other red/orange elements, turn varying shades of blue, it can be due to a buggy Flash update (especially for 64-bit users), or it can be due to video card driver issues (currently it seems to be affects a few Nvidia users after upgrading to Ubuntu 12.04 – read more at the bottom). Whatever the cause, this issue usually drives people to uninstall Flash, then reinstall an earlier version.

But hopefully the following fix will correct the colours in the movies you watch in Firefox or Chrome (and any other web browsers) without having to resort to such drastic measures. All you need to do is create a text file and paste a line of text into it, but since saving it will fail unless you create the folder first, do so by running the following in the terminal:

sudo mkdir /etc/adobe/

Now to create the file and open it for editing:

gksu gedit /etc/adobe/mms.cfg

When it opens, paste in the following:

EnableLinuxHWVideoDecode=1

Close the file, and confirm you want to save the changes. Now, all you need to do is restart your browser and your clips should look fine. If not, you may need to reboot, and hopefully all is fine when you return.

The EASY WAY: Now that you understand what’s needed, you could cheat and just do the whole process with one command:

sudo mkdir /etc/adobe/ && echo -e "EnableLinuxHWVideoDecode=1" | sudo tee /etc/adobe/mms.cfg > /dev/null

If you also want to force the Flash player to bypass its GPU validity checks (GPU validation – see below), then the command would be:

sudo mkdir /etc/adobe/ && echo -e "OverrideGPUValidation=1\nEnableLinuxHWVideoDecode=1" | sudo tee /etc/adobe/mms.cfg > /dev/null

♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠

That Didn’t Work, or Caused Problems? In some cases, you might find you need to disable GPU validation in addition to, or instead of, telling Flash to use vdpau hardware acceleration. If you’re experiencing trouble at some sites but not others (like YouTube videos are now fine, but at Vimeo the Flash plugin crashes), you may want to play around with the settings. For example, to enable the acceleration but bypass GPU validation, the text in mms.cfg would be:

OverrideGPUValidation=1
EnableLinuxHWVideoDecode=1

… or the following to just bypass GPU validation:

OverrideGPUValidation=1
EnableLinuxHWVideoDecode=0

♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠

To Revert Back: If these tweaks have caused you more headache than it was worth, just delete the entire folder you created with:

sudo rm -r /etc/adobe

Or you can just edit the file with:

gksu gedit /etc/adobe/mms.cfg

… and set EnableLinuxHWVideoDecode= to 0 if you prefer to keep it.

♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠♠

Nvidia users: Apparently the issue (which Adobe reportedly won’t be fixing) is caused by having hardware acceleration enabled, so right-clicking a Flash video, choosing Settings… and disabling “Enable hardware acceleration” can often fix this. However, the above fix is perhaps more elegant since you’re allowing Flash to use vdpau hardware acceleration, rather than just disabling it altogether.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Advertisements

Read Full Post »

If you’ve upgraded to Ubuntu 11.10, you may have noticed your movie files not looking as they should in the default Movie Player (Totem), and probably others like SMPlayer and MPlayer. For me, the clips actually looked fine first off, but only in Totem, as SMPlayer kept crashing. Then, after getting some updates, Totem started displaying the colours all mixed up (as did SMPlayer, which wasn’t crashing any more). I tested GNOME MPlayer, and that was fine, but all my other players were affected.

From the looks of comments I’ve seen around, updating/installing Medibuntu is a likely suspect, but whatever the cause, it should actually be quite easy to fix. Simply go to Edit > Preferences > Display in Totem, and adjust the Hue from the default 50% mark all the way up to 100%. If yours is all the way down at 0%, as some have reported, then you definitely need to do the same. You may need to do this with each player, but in my case changing the setting in Totem immediately rectified the problem in SMPlayer. If it doesn’t for you, however, then you know how to fix this easily.

Lastly, don’t be surprised if later on you go to play a vid and your colours are all mucked up again. This time, you’ll probably find the Hue is still at 100%, so you’ll need to drop it back to the default of 50%. It might be a bit of a hassle, but this should be fixed up at the development end soon enough, and at least it only takes a few seconds to get your movies looking as they should.

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

Ever since Ubuntu 10.04 “Lucid Lynx”, there has been a white border around thumbnails of pictures and videos when you look in a folder. But you can actually change that to whatever you want, and here I’ll show you how to turn the distracting white border into a nice drop-shadow, free of any other border.

Open a terminal and enter the following:

wget http://a.imageshack.us/img135/8666/thumbnailframe.png

That will download the image file to your home folder; the following command will then move it to the folder where Nautilus (your file manager) keeps its image files, renaming it appropriately as it does so:

sudo mv thumbnailframe.png /usr/share/pixmaps/nautilus/thumbnail_frame.png

Now, you need to totally restart Nautilus:

sudo nautilus -q

If you decide that you want to restore the original white border, you can basically run the same sequence again, but this time downloading the familiar thumbnail background:

wget http://a.imageshack.us/img651/5790/thumbnailframey.png

sudo mv thumbnailframey.png /usr/share/pixmaps/nautilus/thumbnail_frame.png

nautilus -q

***************

Additional notes:

Obviously, you can play around with your own thumbnail borders using the dimensions of the drop-shadow image (quite simply a square).

Also, if you would prefer to copy rather than move the image files to the Nautilus folder, thereby always having copies in your home folder, replace mv (move) in the command with cp (copy).

***************

Just in case the images are no longer available, you can find them below. Simply right-click them and (1) in the case of the larger drop-shadow image, choose to save the target of the image (or open it in a new tab and save the image that appears), and (2) in the small default image below it, choose to save the image. If you saved them to your home folder, the second command in each sequence will still apply; if you saved them to another folder, like ~/Downloads, open a terminal in that folder and the commands will work fine.

Right-click & save the target (not this smaller image)

Right-click & save this image

***************

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

A new little extension for Ubuntu‘s file manager is nautilus-pastebin, which is a script written in Python that allows users to upload text-only files to an online pastebin service by simply right-clicking them. Each scrap of text has its own unique URL, which is placed in the clipboard ready for pasting into your web browser (or email if wanting to share the text with the recipient).

Once installed, all you have to do is right-click a text file, choose Pastebin from the context menu, and your text clip is uploaded. A notification should pop up under your system tray informing you where it has been saved to (as mentioned, the address will now be in memory ready for pasting).

To view it, simply paste the URL into your browser’s address bar.

If this seems like something you can do with, install the forementioned package via Synaptic, or enter the following into a terminal:

sudo apt-get install nautilus-pastebin

Users can also customise the extension’s behaviour by using nautilus-pastebin-configurator, an easy-to-use configuration tool that is also installed (just paste the command into a terminal or Alt+F2).

With it you can make the URL automatically open in your web browser, turn the notification on or off, force a confirmation message to appear before uploading the text, and change the pastebin service to another in the list.

ξξξξξξξξξξξξξξξξξξξξξξξξξξξξξξ

Click here for more Nautilus Extensions!

☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻

Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »