1 |
Thanks for the reply!!! |
2 |
Do you know how to physically transfer the video to the iPod? |
3 |
I cant seem to figure out how... I dont think I saw it on the thread... |
4 |
Thanks again!! |
5 |
~Ian |
6 |
|
7 |
On 10/30/05, Nick Rout <nick@×××××××.nz> wrote: |
8 |
> |
9 |
> |
10 |
> On Sun, 30 Oct 2005 14:00:23 +1300 |
11 |
> Nick Rout wrote: |
12 |
> |
13 |
> > yes i was reading a threa on the knoppmythwiki last night. I suggest you |
14 |
> read there. |
15 |
> > |
16 |
> |
17 |
> ooops wrong reference, it was on the knoppmyth forums, specifically |
18 |
> here: |
19 |
> |
20 |
> |
21 |
> http://mysettopbox.tv/phpBB2/viewtopic.php?t=6467&postdays=0&postorder=asc&highlight=ipod&start=15 |
22 |
> |
23 |
> basically the author suggests a two pass use of ffmpeg: |
24 |
> |
25 |
> # mpg2ipod |
26 |
> # quick script to transcode to an 5G iPod compatible video file |
27 |
> # requires recompiling of ffmpeg with xvid, and facc enabled |
28 |
> # you can tweak any of the crop, bitrate, etc. |
29 |
> # video size has worked for me up to 480x352 |
30 |
> # this does a 2nd pass because it decreases file size greatly |
31 |
> # remove this pass to speed things up |
32 |
> # this was a quick hack, but is works for now |
33 |
> |
34 |
> for file in $* |
35 |
> do |
36 |
> /usr/local/bin/ffmpeg -i $file -cropleft 4 -cropright 10 -deinterlace |
37 |
> -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmax 5 -bufsize 4096 -acodec aac |
38 |
> -ab 96 -g 300 -pass 1 -passlogfile mpg2ipod_log -f mov $file.pass1.mov |
39 |
> /usr/local/bin/ffmpeg -i $file -cropleft 4 -cropright 10 -deinterlace |
40 |
> -vcodec xvid -s 320x240 -r 29.97 -b 384 -qmax 5 -bufsize 4096 -acodec aac |
41 |
> -ab 96 -g 300 -pass 2 -passlogfile mpg2ipod_log -f mov $file.ipod.mov |
42 |
> rm -f $file.pass1.mov |
43 |
> rm -f mpg2ipod_log* |
44 |
> done |
45 |
> |
46 |
> |
47 |
> basically the video codec can be xvid ox x.264, the audio codec is aac, |
48 |
> the container format is .m4v, .mp4 or .mov by the looks of it. The other |
49 |
> specs are in that thread. I do suggest you read the whole thread, as it |
50 |
> also sets up an RSS service for itunes (so you can just grab new videos |
51 |
> for the ipod) and the transcoding operations amy have been tweaked (the |
52 |
> above was the guy's first try, and may have been changed in his later |
53 |
> posts) |
54 |
> |
55 |
> I downloaded a movie made for ipod last night and it played in ffplay, |
56 |
> so i am guessing that I have ffmpeg compiled with the right options. |
57 |
> (Not that I have an ipod, I am just nterested in multimedia and |
58 |
> trancoding) |
59 |
> |
60 |
> My ffmpeg use flags are below. I think aac and xvid are the ones that |
61 |
> are really needed here. |
62 |
> |
63 |
> nick@sf ~ $ equery uses ffmpeg |
64 |
> [ Searching for packages matching ffmpeg... ] |
65 |
> [ Colour Code : set unset ] |
66 |
> [ Legend : Left column (U) - USE flags from make.conf ] |
67 |
> [ : Right column (I) - USE flags packages was installed with ] |
68 |
> [ Found these USE variables for media-video/ffmpeg-0.4.9_p20050226-r5 ] |
69 |
> U I |
70 |
> + + aac : Enables support for MPEG-4 AAC Audio |
71 |
> - - altivec : Adds support for optimizations for G4 and G5/ppc970 |
72 |
> processors |
73 |
> - - debug : Tells configure and the makefiles to build for debugging. |
74 |
> Effects vary across packages, but generally it will at least add -g to |
75 |
> CFLAGS. Remember to set FEATURES=nostrip too |
76 |
> + + doc : Adds extra documentation (API, Javadoc, etc) |
77 |
> + + ieee1394 : Enable FireWire/iLink IEEE1394 support (dv, camera, ...) |
78 |
> + + a52 : Enables support for decoding ATSC A/52 streams used in DVD |
79 |
> + + encode : Adds support for encoding of audio or video files |
80 |
> + + imlib : Adds support for media-libs/imlib (Image loading and rendering |
81 |
> library) |
82 |
> + + mmx : Adds support for optimizations for Pentium MMX and Athlon class |
83 |
> processors |
84 |
> + + ogg : Adds support for the Ogg container format (commonly used by |
85 |
> Vorbis, Theora and flac) |
86 |
> + + vorbis : Adds support for the OggVorbis audio codec |
87 |
> + + oss : Adds support for OSS (Open Sound System) |
88 |
> - - threads : Adds threads support for various packages. Usually pthreads |
89 |
> + + truetype : Adds support for FreeType and/or FreeType2 fonts |
90 |
> + + v4l : Enables video4linux support |
91 |
> + + xvid : Adds support for xvid.org <http://xvid.org>'s open-source |
92 |
> mpeg-4 codec |
93 |
> + + dts : Enables libdts (DTS Coherent Acoustics decoder) support |
94 |
> + + network : Enables network streaming support |
95 |
> + + zlib : Adds support for zlib (de)compression |
96 |
> + + sdl : Adds support for Simple Direct Layer (media library) |
97 |
> |
98 |
> -- |
99 |
> Nick Rout <nick@×××××××.nz> |
100 |
> |
101 |
> -- |
102 |
> gentoo-user@g.o mailing list |
103 |
> |
104 |
> |
105 |
|
106 |
|
107 |
-- |
108 |
Cheers, |
109 |
Ian |