Owncloud videos

I’ve been trying to convert home videos in mv4 format to either mp4 or flv format. Owncloud Video Streamer app does not appear to support m4v format. I was attempting to use:

ffmpeg -i myfilename.mv4 myfilename.mp4


ffmpeg -i myfilename.mv4 myfilename.flv

ffmpeg crashes in either case.

Here’s a workaround:

ffmpeg -i myfilename.mv4 myfilename.ts

ffmpeg -i myfilename.ts -ar 44100 myfilename.flv

Conversion from *.ts to *.mp4 also worked, but the resulting file had audio only on Owncloud Video Streamer even though it worked fine with vlc.


Ubuntu (Precise, 12.04) won’t shutdown or reboot normally–workaround

Shutdown (or reboot) freezes on the purple screen with the Ubuntu logo, sometimes I get the dots, sometimes I don’t. At that point even holding in the power button on the front of the case does not shut the system down. I have to use the power rocker on the system power supply to shut it down completely. There is a bug report on this, but so far no fix.

Usable workarounds:

  • Suspend works.
  • If I log out and then shutdown from the login screen the system shuts down fine.

My development system, on the other hand shuts down and reboots as it should. Most of the early problem reports were on systems with Nvidia video cards, but my HTPC (with the problem) uses an ATI card, while my development system (without the problem) uses a Nvidia card.

In any event, I won’t be moving any of my other systems to 12.04 until the problem is resolved.

Upgraded my Development System to Precise

The upgrade went smoothly, there were no issues at all. Post upgrade, I decided that I now like Unity better than Gnome 3. I’ve only tried HUD a few times, and I’m not sure I’ll use it, but it doesn’t work in Gnome 3 which is one for going back to Unity. I added the ppa for the “unsettings” program so that I could turn off the overlay scrollbars and global menus. The program ran well enough but crashed when I tried to close it.

Three machines to go, I think I’ll wait a bit longer for them. I have downloaded Precise onto my apt-mirror in preparation.

VLC Segmentation faults on Oneiric — Decided to Upgrade to Precise

So I started having segmentation faults on my Oneiric based HTPC today. There was a bug filed, and probably a fix coming but I decided to try upgrading to Precise instead. The upgrade was flawless, no problems with ATI drivers, even Cardapio and Handbrake were still working after the upgrade. Amazing. I was already running Unity on that system and it’s working well. I haven’t done any tweaks yet or tried HUD. But it looks good.

LMDE VLC Unable to Open Media on Samba Share.

As soon as I got the repositories right, VLC installed and worked. Well, mostly anyway…it still couldn’t open videos on a network share. Turns out you need to open a terminal:

sudo apt-get install gvfs-fuse
sudo usermod -G fuse your-username

Then log out and log back in. At that point VLC will be able to open files on a mounted samba share.

LMDE VLC package Broken after Upgrade.

So, I built LMDE from the ISO I downloaded from the website. Then I upgraded to the latest service pack. Unfortunately when I did that Upgrade Manager left a couple of repositories pointing to the Debian mirror rather than the Mint mirrors.

Turns out that Mint now provides some of the components required for VLC in it’s own repositories. The debian repositories don’t have them. Here’s what Upgrade-Manager put (or left) in /etc/sources.list

deb http://security.debian.org/ testing/updates main contrib non-free
deb http://www.debian-multimedia.org testing main non-free

Here’s what should have been there:

deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free

As soon as I got the repositories right, VLC installed without any issues.

Sound Issue after Removing Pulseaudio Equalizer

A few days ago I started having issues with the equalizer that is, no sound. I removed the equalizer as well as ladspa-sdk. I promptly forgot about the whole thing until I rebooted and my machine began running super slow. Checking in syslog I found stuff like this:

pulseaudio[3662]: module-ladspa-sink.c: Failed to load LADSPA plugin: file not found
pulseaudio[3662]: module.c: Failed to load module “module-ladspa-sink” (argument: “sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_05_00.0.analog-stereo plugin=mbeq_1197 label=mbeq control=-0.2,-0.2,-0.2,-0.2,3.5,3.5,3.5,3.5,3.5,3.5,3.5,2.5,2.5,0.0,0.0”): initialization failed.
pulseaudio[3662]: main.c: Module load failed.
Failed to initialize daemon.
pulseaudio[3660]: main.c: Daemon startup failed

Clearly the equalizer had left something behind when I removed it. Turned out the problem was in ~/.pulse/default.pa. The file had been modified in the install and not removed with it. The offending lines were at the end of the file. They looked like:

### Generated from: pulseaudio-equalizer
load-module module-ladspa-sink sink_name=ladspa_output.mbeq_1197.mbeq master=alsa_output.pci-0000_05_00.0.analog-stereo plugin=mbeq_1197 label=mbeq #control=-0.2,-0.2,-0.2,-0.2,3.5,3.5,3.5,3.5,3.5,3.5,3.5,2.5,2.5,0.0,0.0
set-default-sink ladspa_output.mbeq_1197.mbeq
set-sink-volume alsa_output.pci-0000_05_00.0.analog-stereo 65536
set-sink-mute alsa_output.pci-0000_05_00.0.analog-stereo 0

### END: Equalized audio configuration

I commented out the lines shown in bold by adding a # at the beginning of each line and saved the file. Problem solved

Issues with an Older Computer

I put together an old Pentium 4 system with an ATI 9250 AGP card hoping to use it as a development/test box. I have OpenGL working, to some extent, using the Radeon driver with KMS. At least

glxinfo | grep rendering


direct rendering: Yes

Nevertheless, the system boots into Gnome Classic even when Ubuntu is selected. The compiz configuration looks like Unity should run but it does not. It looks Like I won’t be able to use that system to play with Unity.

I wasn’t able to get Gnome 3 working from the Gnome3 team’s PPA on the box either. It seemed to install okay, and booted to the login screen but the actual login failed. The ppa-purge program worked fine though so I didn’t have to reinstall the system from scratch.

Add Run Command Capability back to Gnome Classic 11.04 with Awn

When you remove the gnome panel from Gnome Classic 11.04 you lose the Run Command capability. The gmrun program makes it possible to add back the feature. All that’s required is to associate it with the <Alt>F2 keyboard shortcut. I’ve added the instructions to my HowTo. Here: