You are not logged in.
Hey guys, I have built up a fairly large video collection of movies and tv shows (~300) over the years, and they are all encoded in xvid. What I would like to do is convert them to h.264. It would be VERY tedious to go through and convert them all manually. I have searched everywhere I can think of for a solution, but haven't found one. If any of you guys have a solution, that would be great. Thanks in advance.
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline
um.. use find and ffmpeg? rough example:
find /path/to/videos -type f -name '*.avi' -exec ffmpeg "{}" "{}.mp4" OPTIONS \;
look up their manpages to figure out the appropriate options
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
Thanks, it seems to be exactly what I am looking for.
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline
For viewing on a mobile device?
Offline
Mostly for VDPAU decoding.
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline
Xvid is already lossy, and converting the videos again would bring a further quality loss, so I wouldn't do what you want to do. Further, Xvid is already perfectly decodable by today's CPUs without much fuss, so I don't see the sense in degrading the quality of your videos by re-encoding them. But if you really, really want VDPAU, check the Nvidia VDPAU documentation for Feature Set C, it's a list of nvidia cards capable of decoding Xvid.
Offline
Alright, thanks for the input. Like I stated above, one of the reasons that I wanted h264 was because of vdpau. The other reason is that it looks like h264 is replacing xvid as the standard video codec, and I want my video collection to be current.
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline
There's a VDPAU driver specifically for DivX/Xvid in Mplayer called ffodivxvdpau now. You'll need a newer Mplayer revision than the one in the repos to use it.
Offline
Wow, very cool. I will definitely give this a try later.
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline
There's a VDPAU driver specifically for DivX/Xvid in Mplayer called ffodivxvdpau now. You'll need a newer Mplayer revision than the one in the repos to use it.
Yeah, but you need a specific graphic card. As I said, they are listed under "Feature Set C" in Nvidia's VDPAU documentation. Other graphic cards cannot handle Xvid. But every CPU since like forever can, so unless one is just shopping for a new graphic card, I don't see any big need for hardware decoding of Xvid.
Offline
Alright, thanks for the input. Like I stated above, one of the reasons that I wanted h264 was because of vdpau. The other reason is that it looks like h264 is replacing xvid as the standard video codec, and I want my video collection to be current.
Then its still not recommended to convert. As stated before, you will lose quality.
Offline
Alright, thanks for all the input guys.
HP Mini 311 - Arch Linux i686
AMD Phenom II X4/4GB DDR3 1600/ATI 4870 1GB - Arch Linux x64
Offline