Friday, December 26, 2008

Dependencies and video transcoding

Well it seems that I'd made one of the great Fedora no-nos and enable yum repositories for both livna and freshrpms.

This led to the problems below, whilst trying to install transcode -
ffmpeg-libs-0.4.9-0.42.20071121.lvn8.i386 from installed has depsolving problems
--> Missing Dependency: libx264.so.56 is needed by package ffmpeg-libs-0.4.9-0.42.20071121.lvn8.i386 (installed)
Error: Missing Dependency: libx264.so.56 is needed by package ffmpeg-libs-0.4.9-0.42.20071121.lvn8.i386 (installed)

I found an explanation here -
http://linux.derkeiler.com/Mailing-Lists/Fedora/2008-01/msg04547.html

And resolved it by disabling the livna repo, then -
[user@localhost ~]$ sudo yum erase ffmpeg-libs
This was installed from livna, and then re-install my video utilities from freshrpms -

[user@localhost ~]$ sudo yum install transcode
[user@localhost ~]$ sudo yum install dvdrip

[user@localhost ~]$ sudo yum erase libdvbpsi
[user@localhost ~]$ sudo yum install vlc

I was then able to reencode and resize videos for the Creative Zen as follows -

[user@localhost ~]$ transcode -i /mnt/nas/Music\ Videos/input.mpg -y xvid4 -o test.avi -Z 320x240 -w 768,100
(Transcode takes a plethora of options which probably need tweaking... that I'll try to get back to some time)

Connecting to the Creative Zen requires MTP (Media Transfer Protocol), so -

[user@localhost ~]$ sudo yum install libmtp libmtp-devel libmtp-examples

[user@localhost ~]$ mtp-sendfile test.avi test.avi

And surprisingly enough... it works!

No comments: