Starting with Ubuntu 8.10, VLC and ffmpeg packages started causing grief for me and other mvpmc users who stream decoded divx via VLC.
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/304887 Somehow (I don't remember and can't reproduce it) I managed to build VLC 0.86e under intrepid with the unstripped libavcodec libraries and managed to work around this problem. Unfortunately now that I've upgraded to 9.04, I'm in a worse situation and I can't seem to stream no matter what I do, and building vlc from source isn't helping this time around. Enter chroot and debootstrap. This makes it incredibly easy to run a chroot environment for another Debian installation. Since I knew that the standard VLC package from Hardy worked just fine, I followed the instructions and chrooted a Hardy (8.04) installation. And voila, it works. Hopefully this will solve problems for others running into this situation with mvpmc. Here are the instructions: Download debootstrap for hardy: http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.13~hardy1_all.deb apt-get install schroot dpkg -i debootstrap_1.0.13~hardy1_all.deb Edit /etc/schroot/schroot.conf to add the following content: [hardy] description=Ubuntu hardy location=/var/chroot/hardy priority=3 users=doko groups=sbuild root-groups=root (Replace /var/chroot/hardy with the path of your chroot installation.) debootstrap --variant=buildd --arch amd64 hardy /var/chroot/hardy http://archive.ubuntu.com/ubuntu/ cp /etc/resolv.conf /var/chroot/hardy/etc/resolv.conf chroot /var/chroot/hardy edit /etc/apt/sources.list to include all the hardy sources (universe, multiverse, etc.). You can find a standard one by googling "sources.list hardy" apt-get update apt-get install vlc-nox ffmpeg apt-get install smbfs I got a few errors about locales. You can fix this or ignore them. I didn't find they caused any issues. Now you just need to mount the same directory you mount on your mvpmc. This is why you need smbfs. (Alternatively, you could dchroot.) mkdir /mvpmc_media mount.cifs //<host>/media /mvpmc_media -o pass= vlc -I telnet And you're done. For convenience, I have two scripts. The first launches the chroot and calls a second script to mount and start vlc. chrootvlc.sh #!/bin/bash chroot /var/chroot/hardy /startvlc.sh startvlc.sh #!/bin/bash if [ ! -d /mvpmc_media/tv ] then echo mounting mount.cifs //<host>/media /mvpmc_media -o pass= fi vlc -I telnet --sout-transcode-audio-sync Good luck. Brett ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mvpmc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mvpmc-users mvpmc wiki: http://mvpmc.wikispaces.com/
