-
4 Attachment(s)
HowTo: Encode Video for iPod Video
------Last Update------
January 1, 2008: Started the New Year off with minor changes. Modified the installed packages for Gutsy and the FFMPEG SVN configure commands for the latest SVN.
------------------------
After much searching and about a week of on and off again attempts, I finally got video to encode for my iPod Video. So, I thought I'd share with you how.
This HowTo is broken up into three sections:
Vive
Transferring Video to the iPod Video
Encoding Video to the iPod Video
Vive
Vive is the project that stemmed out of this HowTo. It is a GUI for ffmpeg, but has presets already loaded for the iPod (just for you!). Downloads can be found here.
Currently, 2.0.0-beta1 is released, or you can use the SVN version. I always make sure that it runs before I commit to the SVN, so that would be the recommended way to go about it. Here's how to install it (you need to install ffmpeg first, so see below for it):
Code:
sudo apt-get install vobcopy mplayer libgtk2.0-dev libvte-dev libgnome2-dev libgnomeui-dev
If you want DVD support, you need to do the following. If you do not want it, you must use the --disable-dvd flag for ./configure.
Code:
sudo apt-get install libdvdcss2-dev libdvdnav-dev libdvdread-dev
Next, installation is rather simple (assuming you get the package either via the released package, or via the SVN.
Code:
./configure --prefix=/usr
make
sudo make install
Also, if you'd like the preloaded presets, please do the following:
Code:
mkdir ~/.vive
cp examples/preferences ~/.vive
Transferring Video to the iPod Video
You will need to use gtkpod to transfer your files to your iPod. It's only one command:
Code:
sudo apt-get install gtkpod-aac
This provides the ability to load video and audio that use the AAC sound codec, and it's also built with MPEG4 support. If anybody remembers the old instructions, this is MUCH easier.
Congratulations, you can now transfer videos to your iPod Video :-D
Encoding Video for the iPod Video
Dapper Packages!!!
SBX has been kind enough to create .deb packages for ffmpeg and Vive for Dapper. You can get them here and install them both with sudo dpkg -i packagename.deb. Thanks so much to SBX for this contribution!
In order to encode video for the iPod Video, you need to install ffmpeg from source because it does not come with the support needed for the iPod Video format for a litany of legal reasons concerning the distribution of Ubuntu. Luckily, this is still very legal, and you are not breaking any law in the United States or anywhere else by configuring and installing ffmpeg in this way. This section of the guide is broken into two subsections:
1. Installing ffmpeg
2. ipodvidenc Script
The ipodvidenc Script is a simple bash script written by me to make encoding videos for the iPod Video quick and painless. Now, without further interruption, how to encode video for the iPod Video:
Installing ffmpeg
First, we need to fix ffmpeg for Ubuntu. We'll build it from source...but don't worry, it won't hurt. We'll also need to install some other libraries. So, here goes:
Code:
sudo apt-get install liblame-dev libxvidcore4-dev libx264-dev libfaac-dev libfaad2-dev liba52-dev libdc1394-dev libgsm1-dev libtheora-dev libvorbis-dev
sudo apt-get build-dep ffmpeg
There are 2 ways to do this. The version in the Ubuntu repositories does not have x264 support correct. You get an error in the ffmpeg code when you try to compile it. This can be averted by using the SVN version of ffmpeg. However, there are different flags to use, so the first one is using the ffmpeg in the repos (aka no x264), and the second is via the SVN (aka with x264).
Without x264:
Code:
apt-get source ffmpeg
cd ffmpeg-*/
./configure --enable-gpl --enable-pp --enable-vorbis \
--enable-libogg --enable-a52 --enable-dts \
--enable-dc1394 --enable-libgsm --disable-debug --enable-mp3lame \
--enable-faad --enable-faac --enable-xvid --enable-pthreads --enable-shared
make
sudo make install
With x264:
Code:
sudo apt-get install subversion
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg/
./configure --prefix=/usr --enable-gpl --enable-pp --enable-pthreads --enable-libdc1394 --enable-liba52 --enable-libfaac \
--enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora --enable-libvorbis \
--enable-libx264 --enable-libxvid --enable-shared --disable-debug
make
sudo make install
You're done! You can now enjoy ffmpeg!
ipodvidenc Script
And last, but certainly not least, you can create a script for converting your videos to iPod Video format.
This should pop up a blank document. Now, just copy and paste this code into it:
Code:
#!/bin/bash
## ipodvidenc - The iPod Video Encoder for Linux.
## Created by Eric Hewitt, January 9, 2006.
## Released under the GPL. Go nuts.
input_file=$1
echo "What would you like to name the output file (sans extension)?"
read output_file_name
echo "$output_file_name will be located in $PWD. Is this acceptable? [y/n]"
read output_file_loc_permis
if [ $output_file_loc_permis = 'n' ] || [ $output_file_loc_permis = 'N' ]
then
echo "Where would you like to store $output_file_name.mov?"
read output_dir
else
output_dir=$PWD
fi
ffmpeg -i "${input_file}" -f mp4 -vcodec mpeg4 -maxrate 1000k -b 700k -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 "${output_dir}/${output_file_name}.mov"
Save as ipodvidenc in your present working directory (it will be moved, anyway). Back in the terminal, run:
Code:
chmod 755 ipodvidenc
sudo mv ipodvidenc /usr/bin
Now, when you want to encode a video to iPod format, run this command:
Code:
ipodvidenc video.avi
It will run you through a few prompts and then encode the video. You can now use gtkpod to upload the video onto your iPod just like you load mp3's onto it.
*Note: You can now use ipodvidenc to encode straight from a *.vob file. This way, you can rip your DVDs using dvd::rip, and then simply encode them by passing them through ipodvidenc. Make sure that you compile ffmpeg with a52 support in order to do this, though.
This is a very basic script if you do not want the much larger and GUI version of ipodvidenc which can be found attached.
Fixing Video for the 60GB iPod v1.1 Firmware
In the new firmware for the 60GB iPods, video will play for 15 seconds, stop, and then continue without audio. If this happens to you, you need to install gpac, like this:
Code:
sudo apt-get install gpac
You can then remux the video so that it will work on your iPod using the following command:
Code:
MP4Box -add videofile.mov videofile.mov
A note: You can use the same name for the input and the output...it will simply overwrite the existing file.
Happy encoding!
Credits:
Original Sources:
Much thanks to:
- Iandefor for countless suggestions, bugfixes, and corrections.
- Dromio for corrections.
- quietglow for corrections and the .deb support for mpeg4ip
- pestilence4hr for corrections regarding the building of ffmpeg
- hal pacino for the info about MP4Box
- SBX for the Dapper packages.
- Sir_Yaro for information about the mpeg4ip error correction.
-
Re: HowTo: Encode Video for iPod Video
Update: Now on the Wiki :-D
I've decided to make this post the Change Log, so here it is:
------------------------
Updated: January 1, 2008: Started the New Year off with minor changes. Modified the installed packages for Gutsy and the FFMPEG SVN configure commands for the latest SVN.
Updated: July 20, 2007: Huge news! Vive 2.0.0 has finally been released! Download it here! Also, an Ubuntu Feisty package has been added. I suggest that you use the Medibuntu repository to meet the dependencies, as the Ubuntu package is compiled to allow DVD usage. Enjoy!
Updated: July 11, 2007: Vive 2.0.0-beta2 is now available! New features include multiple file and folder support, a simplified and streamlined interface, and a lot of behind the scenes stuff that makes me sleep better at night but you won't notice unless you look at the code. So download it today!
Updated: June 1, 2007: Fixed some legacy issues with the bitrate handling of ffmpeg (used to be in kb/s, now in b/s) for the script and ipodvidenc, which is now v1.6.
Updated: April 20th, 2007: Major update for Feisty & Edgy - MUCH EASIER!!!
Updated: December 12th, 2006: ffmpeg configure altered to support H.264 format.
Updated: November 7th, 2006: Post updated with tweaks so that it will work on Edgy.
Updated: October 2nd, 2006: Released Vive 1.0.2 as a bug-fix release. You can find it on Sourceforge.
Updated: September 20th, 2006: Released Vive 1.0.1 to fix the configure script.
Updated: September 18th, 2006: Released Vive 1.0.0. Check it out at http://vive.sourceforge.net! Note: It will detect a previous version of Vive and update it accordingly without deleting any of your previously saved preferences!
Updated: June 4th, 2006: Released Vive 0.3 Beta 2 Release. Check it out at http://vive.sourceforge.net! Note: It will detect a previous version of Vive and update it accordingly without deleting any of your previously saved preferences!
Updated: May 21st, 2006: Added error correction for mpeg4ip thanks to Sir_Yaro. Also added the shameless self promotion of Vive.
Updated: April 30th, 2006: Okay, I know that it's been a while, but here are some updates. First, SBX gave us Dapper packages of Vive and ffmpeg. Go SBX. Second, I found out that the XML Perl Parser is in the repos...I'm an idiot...so I included it. Third, I added how to remux videos for the 60GB iPod v1.1 Firmware, and much thanks to hal pacino for that. I haven't forgotten about Vive...I'm just really busy, but it's almost ready for 0.3 to be unleashed...I went back and rewrote most of the code to make it a bit better.
Updated: March 23rd, 2006: I've released Vive 0.2 (Beta Release), and have attached a screenshot of the main window and the preferences window!
Updated: February 27th, 2006: I've released Vive, and have attached a screenshot!
Updated: February 10th, 2006: Updated install script and HowTo to correct libgpod installation issues, as well as added to the HowTo and the Wiki the same information.
Updated: January 26th, 2006: Updated iPod Video Encoder to version 1.5 to include OGM support as requested here.
Updated: January 25th, 2006: Updated iPod Video Encoder to version 1.4. There are so many new features, that I'm just including the full change log:
NEW: Added default videos directory option.
NEW: Added CLI interface.
NEW: Added support for standard size AVI encoding.
NEW: Added support for standard size MPEG encoding.
NEW: Added a preview feature.
NEW: Added help file. (Access via ipodvidenc -h).
IMPROVED: Condensed the installation to one script that automatically detects your previous level of installation.
IMPROVED: Uninstall script updated.
BUG FIX: Inability to remove original files with spaces in the name bug fixed.
BUG FIX: Overwriting existing files bug fixed.
Updated: January 24th, 2006: Updated iPod Video Encoder to version 1.3 to fix a couple of bugs and add a new feature, options, to cut down on the number of dialogs in the ripping and encoding process.
Updated: January 23rd, 2006: Updated iPod Video Encoder and HowTo to correct some ffmpeg configuration errors. Also added some features/improvements and bug fixes to iPod Video Encoder. See attached README file for a detailed list of changes to iPod Video Encoder
Updated: January 17th, 2006: Updated HowTo and iPod Video Encoder (to v1.1) to use dpkg-buildpackage to build ffmpeg. Much thanks to pestilence4hr, who brought this to my attention!
Updated: January 16th, 2006: Added iPod Video Encoder (ipodvidenc), the GUI to make iPod Videos.
Updated: January 14th, 2006: Added .deb package for mpeg4ip and updated format of the HowTo as well as the Sources. Also editted the title.
Updated: January 13th, 2006: Added support for encoding vob files, and ipodvidenc script modified slightly for optimization. Also corrected the commands to install mpeg4ip.
Updated: January 12th, 2006: Corrected commands associated with compiling and installing mpeg4ip.
------------------------
-
Re: HowTo: Encode Video for iPod Video
Good guide. I'll do it someday, when I get a 5th generation iPod. Until then, I'll adapt it to my *cough* encoding needs.
-
Re: HowTo: Encode Video for iPod Video
Thanks for this howto that i've aked for!!!
You're great!!
-
Re: HowTo: Encode Video for iPod Video
Quite welcome...and trust me, I'm not that great...just a guy who was determined to get his iPod Video to work on Ubuntu :KS
-
Re: HowTo: Encode Video for iPod Video
Thanks for the tutorial. I'm having some trouble getting the dependencies installed.
sudo apt-get install libfaad2-dev libfaac-dev libxvidcore4-dev checkinstall fakeroot
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libxvidcore4-dev: Depends: libxvidcore4 (= 2:1.0.3-0.0) but 2:1.1.0-beta1-0.0 is to be installed
E: Broken packages
I don't think I've done anything to get a special version of libxvidcore4, but I suppose it is possible. Do you have any suggestions on how to fix this?
-
Re: HowTo: Encode Video for iPod Video
I got synaptic to pin the older version of libxvidcore4, so I'm ok with that now.
But now I'm getting confused while compiling and installing mpeg4ip.
It looks to me like
Code:
cp mpeg4ip_config.h mpeg4ip_version.h /usr/local/include
cp include/mpeg4ip.h /usr/local/include
should actually be
Code:
sudo cp mpeg4ip_config.h /usr/local/include
sudo cp include/mpeg4ip.h include/mpeg4ip_version.h /usr/local/include
(need to be superuser to copy to /usr/local/include and the mpe4ip_version.h file is actually under the include folder in the source)
Then, you edit the makefile for the lib/mp4v2 subfolder. Do you compile within that subfolder, or go back to the root folder to compile everything? When it asks for a package name, it's suggesting mp4v2, which seems a far cry from mpeg4ip.
-
Re: HowTo: Encode Video for iPod Video
All apologies...you're right, it does need to be sudo.
And you need to do the configure, make, and install from the main mpeg4ip directory. I'll update the HowTo.
I apologize...as I said, it was a long time of me trying different things, and then finally getting to work, and then I had to sort through my .bash_history file to get all the correct commands...sorry for that!
-
Re: HowTo: Encode Video for iPod Video
Update: Added instructions on how to convert straight from raw vob files. Note that if you've followed this HowTo before, you just need to do:
Code:
sudo apt-get install liba52-0.7.4 liba52-0.7.4-dev
Then add the line:
Code:
confflags += --enable-a52
To the debian/rules file in the ffmpeg source directory. Then in the ffmpeg source directory run:
Code:
./configure && make && sudo make install
You'll be all set :)
-
Re: HowTo: Encode Video for iPod Video
Getting dependency problem with "sudo apt-get build-dep ffmpeg", any idea?
Been looking for a guide like this for months, thanks man. :)
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by putte30
Getting dependency problem with "sudo apt-get build-dep ffmpeg", any idea?
Been looking for a guide like this for months, thanks man. :)
Post your full output here, so we know what the error is. I'll try to get back to it today, but I'm moving back to school today, so bear with me :-D
And you're welcome.
-
Re: HowTo: Encode Video for iPod Video
No need to apologize, I understand how hard this must have been to get together.
As a stickler, here's a couple of corrections:
Code:
sudo cp mpeg4ip_config.h mpeg4ip_version.h /usr/local/include
sudo cp include/mpeg4ip.h /usr/local/include
should actually be
Code:
sudo cp mpeg4ip_config.h /usr/local/include
sudo cp include/mpeg4ip.h include/mpeg4ip_version.h /usr/local/include
And when you put in
Code:
cd ../
make
sudo checkinstall -D make install
you should actually be going up 2 levels:
Code:
cd ../..
make
sudo checkinstall -D make install
-
Re: HowTo: Encode Video for iPod Video
I'm still have trouble compiling mpeg4ip. I must be missing some dependency:
Quote:
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_init':
: undefined reference to `dts_init'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_packetin'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_frame':
: undefined reference to `theora_decode_YUVout'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_info_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_end':
: undefined reference to `theora_comment_clear'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_info_init'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_header'
/usr/lib/libavcodec.a(oggtheora.o): In function `Theora_decode_init':
: undefined reference to `theora_decode_init'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_init':
: undefined reference to `gsm_create'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_close':
: undefined reference to `gsm_destroy'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_encode_frame':
: undefined reference to `gsm_encode'
/usr/lib/libavcodec.a(libgsm.o): In function `libgsm_decode_frame':
: undefined reference to `gsm_decode'
collect2: ld returned 1 exit status
Anyone have any idea what could be missing?
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
Post your full output here, so we know what the error is. I'll try to get back to it today, but I'm moving back to school today, so bear with me :-D
And you're welcome.
Im getting :
Observe, choosing liba52-0.7.4-dev instead of liba52-dev
Builddependency for ffmpeg could not be satisfied.
(Translated from Swedish ;) )
Also problem with :
The following packages have unmet dependencies:
libxvidcore4-dev: Depends: libxvidcore4 (= 2:1.0.3-0.0) but 2:1.1.0-beta1-0.0 is to be installed
E: Broken packages
Something missing in my sources.list?
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by putte30
The following packages have unmet dependencies:
libxvidcore4-dev: Depends: libxvidcore4 (= 2:1.0.3-0.0) but 2:1.1.0-beta1-0.0 is to be installed
E: Broken packages
I had this issue as well. It looks like the libxvidcore4-dev package is currently broken. You have to set apt to "pin" to the older version of libxvidcore4. I don't know how to do this using apt, but in Synaptic you just select the package and choose Package >> Force Version.
-
Re: HowTo: Encode Video for iPod Video
I solved my compile issue by removing libavcodec-dev from my system. Now on to the next step. . .
-
Re: HowTo: Encode Video for iPod Video
I finally made it through and have gtkpod running!
I could not find libgpod in any of my repositories. Instead, I got it from picpac's post in this thread.
I have to wait to actually try it out until I get home and can plug in the ipod.
-
Re: HowTo: Encode Video for iPod Video
Not to derail the excellent conversation, but I thought I'd share. I've been holding back on picking up a 5G but this thread finally pushed me over the edge: I just got back from picking one up! I'm going to use this guide to start doing my own conversions in a bit. Right now I'm just enjoying the 8 zillion video podcasts via itunes. Man this thing rocks!
Don't underestimate the influence of your good work!
-
Re: HowTo: Encode Video for iPod Video
Dirmo, thanks for your input. I've updated the HowTo.
As I said, I tried to piece together everything after I found it worked...it's a shame that I didn't take any notes...
And quietglow, you're quite welcome...I'm happy a few people can benefit from it.
-
Re: HowTo: Encode Video for iPod Video
First of all, great guide, man. I don't own an iPod but all the info on ffmpeg and its tricks are useful for PSP encoding.
My question is: all my videos encoded in MP4 format with AAC audio seem to crash Nautilus (right clicking it and going to Properties). I though it was something I did wrong, but I saw that downloaded videos from Google Video for the PSP also do it.
Does it happen with iPod videos? Can somebody confirm and reproduce it?
-
Re: HowTo: Encode Video for iPod Video
Anyone got a solution for my problem? :confused:
Observe, choosing liba52-0.7.4-dev instead of liba52-dev
Builddependency for ffmpeg could not be satisfied.
(Translated from Swedish )
Solved! The problem was a conflikt with Kubuntu, I uninstalled it and now it works!
-
Re: HowTo: Encode Video for iPod Video
Again, wonderful guide!
Just a note that may save someone some serious messing around time:
If you don't already have a /usr/local/include folder, you need to make one before you start this whole process:
Code:
sudo mkdir /usr/local/include
If you don't, when you do this:
Code:
sudo cp mpeg4ip_config.h /usr/local/include
You'll get a file (not a directory) with the content of mpeg4ip_config.h.
This will cause havoc with your compiler!
-
Re: HowTo: Encode Video for iPod Video
I know this is cheating, but after my third unsucessful attempt to compile mpeg4ip I got desperate and found this:
http://rarewares.org/debian/packages...0-0.0_i386.deb
Compiled gtkpod and I have video transfer! Now on to converting my own stuff...
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by quietglow
That's not cheating, that's just what you call "better" haha.
I'll post it in the guide as an alternative, because I know that mpeg4ip is a pain and a half sometimes with dependencies and the like.
Thanks!!!
Oh, and a quick sneak peak into what I'm working on now: A program to rip straight from DVD to iPod format. Stay tuned :-D
-
Re: HowTo: Encode Video for iPod Video
Quote:
Oh, and a quick sneak peak into what I'm working on now: A program to rip straight from DVD to iPod format. Stay tuned
Man that would rock! I'm finally getting round to watching some podcasts (diggnation rules) and would LOVE to be able to go directly from DVD to ipod. Imagine the Family Guy episodes!
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by quietglow
Man that would rock! I'm finally getting round to watching some podcasts (diggnation rules) and would LOVE to be able to go directly from DVD to ipod. Imagine the Family Guy episodes!
Don't just stop at Family Guy! Go for something like Invader Zim or Neverwhere!
-
Re: HowTo: Encode Video for iPod Video
As promised, I've written the GUI for this.
Check it out in the original post :-D
-
Re: HowTo: Encode Video for iPod Video
And don't forget to mention you need vobcopy for the encoding script to work :-D!
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by Iandefor
And don't forget to mention you need vobcopy for the encoding script to work :-D!
I added it to the install scripts to automatically install it.
Thanks for the heads up!
Edit: It uses cpdvd, as well. I added the apt-get install in the scripts, as well.
vobcopy and cpdvd are installed in both the baseinstall and install scripts.
Thanks Iandafor!
Another edit: Added a question dialog asking if you would like to delete the VOB...again, thanks to Iandafor :)
-
Re: HowTo: Encode Video for iPod Video
Since you are modifying debian/rules, shouldn't you be building with
Code:
fakeroot dpkg-buildpackage
Doing ./configure && make doesn't pick up the options that you modified debian/rules to specify.
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by pestilence4hr
Since you are modifying debian/rules, shouldn't you be building with
Code:
fakeroot dpkg-buildpackage
Doing ./configure && make doesn't pick up the options that you modified debian/rules to specify.
Updated the program, the HowTo, and the Wiki.
Thank you!
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
I added it to the install scripts to automatically install it.
Thanks for the heads up!
Edit: It uses cpdvd, as well. I added the apt-get install in the scripts, as well.
vobcopy and cpdvd are installed in both the baseinstall and install scripts.
Thanks Iandafor!
Another edit: Added a question dialog asking if you would like to delete the VOB...again, thanks to Iandafor :)
Very much welcome. Anything to help a "friend" :-D.
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
Thank you!
No problem, I'm glad you wrote this guide. I have a question that perhaps you can answer. Should a video encoded in this manner be transferrable to the ipod through itunes in windows? (I skipped the mpeg4ip and gtkpod step, since I don't own an ipod and the person I am encoding for doesn't run linux)
Perhaps I did something wrong, and maybe it doesn't help that I have to first transcode from rmvb using mencoder to something that ffmpeg can transcode. But quicktime won't play it and itunes won't transfer it to the ipod. Maybe I'll have to get the ipod here and hook it up to gtkpod ;)
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by pestilence4hr
No problem, I'm glad you wrote this guide. I have a question that perhaps you can answer. Should a video encoded in this manner be transferrable to the ipod through itunes in windows? (I skipped the mpeg4ip and gtkpod step, since I don't own an ipod and the person I am encoding for doesn't run linux)
Perhaps I did something wrong, and maybe it doesn't help that I have to first transcode from rmvb using mencoder to something that ffmpeg can transcode. But quicktime won't play it and itunes won't transfer it to the ipod. Maybe I'll have to get the ipod here and hook it up to gtkpod ;)
In theory, it should work...but I don't know, I don't have a Windows computer at my disposal.
But note that gtkpod will not recognize an iTunesDB that was created with iTunes...gtkpod still has a ways to go in development before it's totally interoperable...unfortunately :-|
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
But note that gtkpod will not recognize an iTunesDB that was created with iTunes...gtkpod still has a ways to go in development before it's totally interoperable...unfortunately :-|
Well, I regularly use iTunes as well as GTKPod, but all I get from GTKPod after using iTunes is this:
Code:
iTunesDB '/media/ipod/iPod_Control/iTunes/iTunesDB' does not match checksum in extended information file '/media/ipod/iPod_Control/iTunes/iTunesDB.ext'
gtkpod will try to match the information using MD5 checksums. This may take a long time.
And after a while everything is fine
(the "a long time" part is greatly exaggerated
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by Heliode
Well, I regularly use iTunes as well as GTKPod, but all I get from GTKPod after using iTunes is this:
Code:
iTunesDB '/media/ipod/iPod_Control/iTunes/iTunesDB' does not match checksum in extended information file '/media/ipod/iPod_Control/iTunes/iTunesDB.ext'
gtkpod will try to match the information using MD5 checksums. This may take a long time.
And after a while everything is fine
(the "a long time" part is greatly exaggerated
It's cracking an MD5 sum...which...in many cases, does take a long time :-D
-
Re: HowTo: Encode Video for iPod Video
Doesn't even take a minute on my PC. The only thing GTKpod screws up for me is the top-25 most played list, which it fills with whatever I last copied onto the pod...
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by Heliode
Doesn't even take a minute on my PC. The only thing GTKpod screws up for me is the top-25 most played list, which it fills with whatever I last copied onto the pod...
Cool! This is good info to know, thank you!
Heliode, could you perhaps test the uploading of videos encoded by ffmpeg in Ubuntu using iTunes in Windows?
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
Cool! This is good info to know, thank you!
Heliode, could you perhaps test the uploading of videos encoded by ffmpeg in Ubuntu using iTunes in Windows?
Don't have an iPod Video, just an iPod Photo. And I don't feel like ponying up another $300 :p
Your howto was useful for me to get the latest version of GTKPod running though... the older one was a bit buggy.
-
Re: HowTo: Encode Video for iPod Video
Have follwed the howto and I get the app in my menu and all seems to work but it doesn't make videos!
I looked into the config log and was told that libgopd was not found.
So I downloaded libgpod.
Cant configure it: het this message:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Help!
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by hatstand
Have follwed the howto and I get the app in my menu and all seems to work but it doesn't make videos!
I looked into the config log and was told that libgopd was not found.
So I downloaded libgpod.
Cant configure it: het this message:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Help!
http://ubuntuforums.org/showpost.php...43&postcount=2
Quote:
Originally Posted by SGC
To install the XML parser, run the following command:
Code:
sudo perl -MCPAN -e shell
When asked to do a manual configuration, type
no
At the
cpan> prompt type:
Code:
install XML::Parser
After the installation complete, type
exit and try to install gnomeicu and gnome-ppp again
That should fix the problem :-D
-
Re: HowTo: Encode Video for iPod Video
When I try to encode a video I get this:
Code:
What would you like to name the output file (sans extension)?
Cradle\ Of\ Filth\ -\ From\ The\ Cradle\ To\ Enslave
Cradle Of Filth - From The Cradle To Enslave will be located in /home/juantxorena/Incoming/videos. Is this acceptable? [y/n]
/usr/bin/ipodvidenc: line 16: [: =: unary operator expected
/usr/bin/ipodvidenc: line 16: [: =: unary operator expected
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Cradle: I/O error occured
Usually that means that input file is truncated and/or corrupted.
I can watch videos with Xine properlly. Help?
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by juantxorena
When I try to encode a video I get this:
Code:
What would you like to name the output file (sans extension)?
Cradle\ Of\ Filth\ -\ From\ The\ Cradle\ To\ Enslave
Cradle Of Filth - From The Cradle To Enslave will be located in /home/juantxorena/Incoming/videos. Is this acceptable? [y/n]
/usr/bin/ipodvidenc: line 16: [: =: unary operator expected
/usr/bin/ipodvidenc: line 16: [: =: unary operator expected
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Cradle: I/O error occured
Usually that means that input file is truncated and/or corrupted.
I can watch videos with Xine properlly. Help?
Try naming it without spaces.
I believe that this is a limitation with bash...as I said, I whipped this script up quickly...it's rough around the edges, but it works...
When I get some time to do it, I'll improve it a lot...but for now you have to work with bash :-|
Sorry.
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
Try naming it without spaces.
I believe that this is a limitation with bash...as I said, I whipped this script up quickly...it's rough around the edges, but it works...
When I get some time to do it, I'll improve it a lot...but for now you have to work with bash :-|
Sorry.
He could also try enclosing the filename in quotes. I think bash is interpreting the spaces to be seperate files.
-
Re: HowTo: Encode Video for iPod Video
Guys,
I get the video successfuly encoded dialog but i also have no .mov in the destination folder, ran it from command line to find out this:
riiidaa@flag:~/downloaded-files$ ipodvidenc /home/riiidaa/downloaded-files/24se1 ep1.avi
Encode a video
(gnome-terminal:822): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible
GTK Accessibility Module initialized
sorted this one
(gnome-terminal:822): Gnome-WARNING **: Accessibility: failed to find module 'libatk-bridge' which is needed to make this application accessible
Sorry I'm a noob, please help :confused:
-
Re: HowTo: Encode Video for iPod Video
I got this when trying to convert a .avi video without spaces in the name (both output and input):
Code:
What would you like to name the output file (sans extension)?
cradle_of_filth_-_her_ghost_in_the_fog
cradle_of_filth_-_her_ghost_in_the_fog will be located in /home/juantxorena/Incoming/videos. Is this acceptable? [y/n]
/usr/bin/ipodvidenc: line 16: [: =: unary operator expected
/usr/bin/ipodvidenc: line 16: [: =: unary operator expected
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
Input #0, avi, from 'Cradle_of_Filth_-_Her_Ghost_In_The_Fog.avi':
Duration: 00:04:32.8, start: 0.000000, bitrate: 925 kb/s
Stream #0.0: Video: msmpeg4, yuv420p, 352x288, 25.00 fps
Stream #0.1: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
Unknown codec 'aac'
I tried to convert it to mpg using ffmpeg and it works, so ffmpeg works. :???:
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by riiidaa
Guys,
I get the video successfuly encoded dialog but i also have no .mov in the destination folder, ran it from command line to find out this:
riiidaa@flag:~/downloaded-files$ ipodvidenc /home/riiidaa/downloaded-files/24se1 ep1.avi
Encode a video
(gnome-terminal:822): Gnome-WARNING **: Accessibility: failed to find module 'libgail-gnome' which is needed to make this application accessible
GTK Accessibility Module initialized
sorted this one
(gnome-terminal:822): Gnome-WARNING **: Accessibility: failed to find module 'libatk-bridge' which is needed to make this application accessible
Sorry I'm a noob, please help :confused:
Try calling it using this command, instead:
Code:
ipodvidenc /home/riiidaa/downloaded-files/24se1\ ep1.avi
You have to escape the space with a \
juantxorena: You haven't compiled ffmpeg with AAC support. You need to make sure that ffmpeg is compiled with the --enable-faac flag.
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
Try calling it using this command, instead:
Code:
ipodvidenc /home/riiidaa/downloaded-files/24se1\ ep1.avi
You have to escape the space with a \
Thanks but the 'libatk-bridge' issue is nothing to do with spaces in file names, I've tried using many diff source videos, and after reading the other posts I can see spaces in file names do cause problems, so made sure to try using files that don't have any.
Still looking for a resolution to my libatk-bridge nightmare - it's getting me down :mad: lol
Great work on the ipod vid project btw
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by riiidaa
Still looking for a resolution to my libatk-bridge nightmare - it's getting me down :mad: lol
Great work on the ipod vid project btw
HEY, I solved this by installing the at-spi package.
BUT now it produces no error warnings and still no output file, any ideas?
-
Re: HowTo: Encode Video for iPod Video
I noticed that you're using Kubuntu, so see if you can encode the video manually with this command:
ffmpeg -i infile.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 outfile.mov
If not, post the error messages. The GUI program was written for Gnome :-|
-
Re: HowTo: Encode Video for iPod Video
Itchy trigger finger...duplicate post :-|
-
Re: HowTo: Encode Video for iPod Video
I have a problem with this. I followed the instruction on this How To and it installed ipodvidenc OK, but when I try to encode a video file (have tried .avi so far), it guides me through the script but does nothing. The terminal flashes open for about .5 seconds, but no script is seen on it. Then I get the "successfully encoded" message and reques to delete the orignal, which I do.
No new film appears in the target folder and the old file still exists, yet ipodvidenc tells me that everything was succesful.
So i followed the instructions in the Wiki for ffmpeg and reinstalled ipodvidenc. Same results. i cannot use ffmpeg as I get this error:
$ ffmpeg -i filmmontealban.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 output_file.
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
filmmontealban.avi: I/O error occured
Usually that means that input file is truncated and/or corrupted.
mat@ubuntu:~$ ffmpeg -i film montealban.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 output_file.
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
film: I/O error occured
Usually that means that input file is truncated and/or corrupted.
As you can see, I tried it with and without spaces in the title, and from the directory that contains it. I changed the name to monte.avi and got a different message:
Input #0, avi, from 'monte.avi':
Duration: 00:00:11.0, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 10.00 fps
Stream #0.1: Audio: pcm_u8, 8000 Hz, mono, 64 kb/s
Unknown codec 'aac'
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by hatstand
I have a problem with this. I followed the instruction on this How To and it installed ipodvidenc OK, but when I try to encode a video file (have tried .avi so far), it guides me through the script but does nothing. The terminal flashes open for about .5 seconds, but no script is seen on it. Then I get the "successfully encoded" message and reques to delete the orignal, which I do.
No new film appears in the target folder and the old file still exists, yet ipodvidenc tells me that everything was succesful.
So i followed the instructions in the Wiki for ffmpeg and reinstalled ipodvidenc. Same results. i cannot use ffmpeg as I get this error:
$ ffmpeg -i filmmontealban.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 output_file.
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
filmmontealban.avi: I/O error occured
Usually that means that input file is truncated and/or corrupted.
mat@ubuntu:~$ ffmpeg -i film montealban.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 output_file.
ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --build i486-linux-gnu --enable-gpl --enable-pp --enable-zlib --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --prefix=/usr
built on Sep 29 2005 03:25:16, gcc: 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)
film: I/O error occured
Usually that means that input file is truncated and/or corrupted.
As you can see, I tried it with and without spaces in the title, and from the directory that contains it. I changed the name to monte.avi and got a different message:
Input #0, avi, from 'monte.avi':
Duration: 00:00:11.0, start: 0.000000, bitrate: 1247 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 320x240, 10.00 fps
Stream #0.1: Audio: pcm_u8, 8000 Hz, mono, 64 kb/s
Unknown codec 'aac'
Do the following in the terminal:
Code:
cd ~/.ipodvidenc/install/ffmpeg-*cvs*/
./configure --enable-gpl --enable-pp --enable-zlib --enable-vorbis \
--enable-libogg --enable-theora --enable-a52 --enable-dts \
--enable-dc1394 --enable-libgsm --disable-debug --enable-mp3lame \
--enable-faad --enable-faac --enable-xvid --enable-a52
make
sudo make install
Then try it again. The first one was due to the spaces...I'm working on fixing that bug...
-
Re: HowTo: Encode Video for iPod Video
I've updated iPod Video Encoder to v1.2 to fix a few bugs, and I added support for spaces in file names.
Also, I updated the install script...if you're having problems with ffmpeg, please run the full install or upgrade script to install. If you're encoding just fine, please just run the base install script for installation.
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
Do the following in the terminal:
Code:
cd ~/.ipodvidenc/install/ffmpeg-*cvs*/
./configure --enable-gpl --enable-pp --enable-zlib --enable-vorbis \
--enable-libogg --enable-theora --enable-a52 --enable-dts \
--enable-dc1394 --enable-libgsm --disable-debug --enable-mp3lame \
--enable-faad --enable-faac --enable-xvid --enable-a52
make
sudo make install
Then try it again. The first one was due to the spaces...I'm working on fixing that bug...
It works! Perserverence and constant pestering pays off!
Endersshadow (btw, I love Ender's Game), YOU ARE THE MAN!
many, many thanks!:D
-
Re: HowTo: Encode Video for iPod Video
All right hatstand! Glad to hear somebody else got this working! :-D
Oh, and also, I updated iPodVidEnc...I uploaded it earlier and then ran off to class and in class I sat there thinking to myself, "Oh boy...I uploaded the bugged devel version," and sure enough I did. So, if you've installed version 1.2, just redownload it and do the base install and all will be fine!
-
Re: HowTo: Encode Video for iPod Video
Just an update/testimonial: after working with Endersshadow, we found a few problems in ipovidenc 1.2 which were quickly corrected. Ender has updated the script to 1.3. Get it on the guide! It's hot off the griddle!
Oh, and it's even working for me, who seems to have had the most trouble getting ffmpeg to work. Thanks again, Ender!
-
Re: HowTo: Encode Video for iPod Video
Because I finally got it to work for Iandefor, I started adding features like crazy. Now, we're up to version 1.4 and it's better than ever!
Here's the full change log:
NEW: Added default videos directory option.
NEW: Added CLI interface.
NEW: Added support for standard size AVI encoding.
NEW: Added support for standard size MPEG encoding.
NEW: Added a preview feature.
NEW: Added help file. (Access via ipodvidenc -h).
IMPROVED: Condensed the installation to one script that automatically detects your previous level of installation.
IMPROVED: Uninstall script updated.
BUG FIX: Inability to remove original files with spaces in the name bug fixed.
BUG FIX: Overwriting existing files bug fixed.
As you can see, I've been busy...and I'm happy to release this version...it's awesome :-D
-
Re: HowTo: Encode Video for iPod Video
Ender, you're crazy, but I love ya anyways for making such an awesome script :-D! The new features just make it soo much better! Thanks ten billion times over!
-
Re: HowTo: Encode Video for iPod Video
Oh man do you rock ender...
I'm thinking that this weekend if I can get some time, I'm going to try to put together a script which will pull video out of my MythTV folder at a specified time and then pass it on to ipodvidenc. I'm dreaming of waking up every morning to a video iPod synced to whatever I Myth-ed (doesn't have the ring of Tivo'd) the day before!
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by quietglow
Oh man do you rock ender...
I'm thinking that this weekend if I can get some time, I'm going to try to put together a script which will pull video out of my MythTV folder at a specified time and then pass it on to ipodvidenc. I'm dreaming of waking up every morning to a video iPod synced to whatever I Myth-ed (doesn't have the ring of Tivo'd) the day before!
Shouldn't be too hard...just use the command:
Code:
ipodvidenc -c ipod moviein.avi movieout.mov
:-D
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by endersshadow
I noticed that you're using Kubuntu, so see if you can encode the video manually with this command:
ffmpeg -i infile.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320x240 -aspect 4:3 outfile.mov
If not, post the error messages. The GUI program was written for Gnome :-|
Oops, was going to switch to kde after installing but desided to stick with Gnome.
I'll try your latest version from the top this weekend and hopefully it will produce .mov's :)
-
Re: HowTo: Encode Video for iPod Video
Hi,
I just purchased a VideoPod (not received yet) but I decided not to put money into buying a QuickTime license to do this encoding. This howto is great! Easy to follow and it's working in encoding my video colections into VPod format.
One small question: the script specifies -aspect to be 4:3. I believe this is due to the screen resolution that vpod has. Could any one tell me what I should specify if the original video is at the aspect ratio other than 4:3? Say 720x480 clip that has 3:2, or 16:9 from others? The first thing I tried this script on a video with 720x480 resolution, is to remove -aspect 4:3, but the result is still the same as if -aspect 4:3 is specified. Looks like the other option specified -s 320x240 dominates? The picture looks like it is been squeezed side-way. Persons look taller, you know, squeezed side-way.
The real question is: what options I could choose if I want to maintain 720x480 (3:2) or 16:9 aspect ratios since I don't mind to have two black bars on both top and bottom parts of the screen?
Thanks.
Vincent Lin
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by Vincent_Lin
Hi,
I just purchased a VideoPod (not received yet) but I decided not to put money into buying a QuickTime license to do this encoding. This howto is great! Easy to follow and it's working in encoding my video colections into VPod format.
One small question: the script specifies -aspect to be 4:3. I believe this is due to the screen resolution that vpod has. Could any one tell me what I should specify if the original video is at the aspect ratio other than 4:3? Say 720x480 clip that has 3:2, or 16:9 from others? The first thing I tried this script on a video with 720x480 resolution, is to remove -aspect 4:3, but the result is still the same as if -aspect 4:3 is specified. Looks like the other option specified -s 320x240 dominates? The picture looks like it is been squeezed side-way. Persons look taller, you know, squeezed side-way.
The real question is: what options I could choose if I want to maintain 720x480 (3:2) or 16:9 aspect ratios since I don't mind to have two black bars on both top and bottom parts of the screen?
Thanks.
Vincent Lin
Hey Vincent. Try making the aspect 3:2 instead of 4:3, but leave the size. The size is important because it's the size of the screen on the iPod.
-
Re: HowTo: Encode Video for iPod Video
Thanks.
That's about the only idea I think I would try.
Meanwhile, I am trying your GUI stuff on Gnome, and it works great.
I used to run DVD::rip to get my DVD collection onto HD, and really, it runs too slow. I am encoding DVDs on IBM X31 laptop (1.3GHz Centrino), my only fast machine, and it usually takes more than several hours to fully encode a movie, overnight is the way I would put it. But, with your GUI one, it seems it can be done within the time frame the same as the movie runs. I did not know transcode can be this slow. Hmmmm
Anyhow, iPod Video Encoder allows me to save the vob file (without deleting it) after the encoding for iPod is done. How about another option that allows me to specify the encoding options for the result file? Say the resulting resolution, maybe? I believe many people will appreciate the convenience and speed this iPod Video Encoder can bring to them (me).
Thanks for the great work that puts all these things together.
Vincent Lin
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by Vincent_Lin
Thanks.
That's about the only idea I think I would try.
Meanwhile, I am trying your GUI stuff on Gnome, and it works great.
I used to run DVD::rip to get my DVD collection onto HD, and really, it runs too slow. I am encoding DVDs on IBM X31 laptop (1.3GHz Centrino), my only fast machine, and it usually takes more than several hours to fully encode a movie, overnight is the way I would put it. But, with your GUI one, it seems it can be done within the time frame the same as the movie runs. I did not know transcode can be this slow. Hmmmm
Anyhow, iPod Video Encoder allows me to save the vob file (without deleting it) after the encoding for iPod is done. How about another option that allows me to specify the encoding options for the result file? Say the resulting resolution, maybe? I believe many people will appreciate the convenience and speed this iPod Video Encoder can bring to them (me).
Thanks for the great work that puts all these things together.
Vincent Lin
I'm working on that very thing right now. For now, though, iPod Video Encoder does encode into the default size of the VOB in MPEG, AVI, and OGM formats.
At any rate, I'm working as I can in between everything else on a program that gives video encoding a GUI in Linux...and doesn't suck. It'll take a little time...but I promise, it's coming :-D
-
Re: HowTo: Encode Video for iPod Video
Absolutely smashing! I have been driving myself nuts trying to accomplish this!
Thank you!!!
NOTE: I had dvdrip and transcode installed previously which cause the ffmpeg deps to not build. Specifically liba5 as previously stated in this fourm. I removed the offending library and these instructions worked flawlessly!
Thanks again!
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by JedTheHead
Absolutely smashing! I have been driving myself nuts trying to accomplish this!
Thank you!!!
NOTE: I had dvdrip and transcode installed previously which cause the ffmpeg deps to not build. Specifically liba5 as previously stated in this fourm. I removed the offending library and these instructions worked flawlessly!
Thanks again!
Quite welcome, Jed.
Just a quick q: Did you just do sudo apt-get remove liba5 to remove the library? If so, then I can make sure that it gets into the next version of the install script.
-
Re: HowTo: Encode Video for iPod Video
No prob...
Actually I went into Synaptic to take care of it because I wasn't positive what was causing the build-deps to fail concerning liba52-0.7.4
I removed it, which also removed dvdrip, transcode, etc. and then ran the ffmpeg install as outlined in your post. Once done, and looking at it now, both liba52-0.7.4 and the -dev libraries are installed.
Hope that helps!
Thanks again!
-
Re: HowTo: Encode Video for iPod Video
Love this HowTo, and I really want to get my video iPod hooked up to my Ubuntu box.
I am stuck at the install of libgpod.
Doesn't find it with a apt-get command.
I then found the message to install it manually, but the perl installation of the XML fails.
Any ideas on how to get libgpod another way?
Thanks again for a great HowTo. Must have taken a ton of time as the scripts were very long and involved.
Thanks.
-
Re: HowTo: Encode Video for iPod Video
Quote:
Originally Posted by jacrider
Love this HowTo, and I really want to get my video iPod hooked up to my Ubuntu box.
I am stuck at the install of libgpod.
Doesn't find it with a apt-get command.
I then found the message to install it manually, but the perl installation of the XML fails.
Any ideas on how to get libgpod another way?
Thanks again for a great HowTo. Must have taken a ton of time as the scripts were very long and involved.
Thanks.
Can you post your error message here so that I can get a better idea of how to help you?
Thanks :)
-
Re: HowTo: Encode Video for iPod Video
Ok, I found a post on the XML installation that led me to another lib file needed. After installing that, the perl XML install went ok.
I finished up the rest of the install and all seems great.
New problem. I started to encode a DVD to move it to my iPod and the encoder stopped with an error. There was no error in the log file, but the process stopped at 4096MB. Am I missing something about file sizes?
The encoded file plays wonderfully, but ends 75% of the way through the movie.
Thanks.
-
Re: HowTo: Encode Video for iPod Video
As a follow-up, the encoding was way faster than a windows product (pdqipod or something like that) that I used before. It was about run-time in length on a faster computer. This was about 10 or 12 minutes to do the 4GB before failing.
-
Re: HowTo: Encode Video for iPod Video
Try running from the command line:
This will give you the verbose mode. Vobcopy or ffmpeg should spit out an error if it's not finishing the file. I've had a bunch of buffer underflows from ffmpeg every now and then, but if you just let it go, it's never been a problem for me...
-
Re: HowTo: Encode Video for iPod Video
In doing some more research, FAT32 has a max file size of 4GB. Exactly where I the encoding blew up. I was saving to a FAT32 HD shared by ubuntu and windows.
I will redirect the encoding output to another drive that is ext3.
I will let you know how this works.