Cant Transfer h.264 files to iTunes

About encoding, codec settings, muxers and filter usage
GZR
New Cone
New Cone
Posts: 2
Joined: 14 Apr 2007 14:52
Location: belgium

Cant Transfer h.264 files to iTunes

Postby GZR » 14 Apr 2007 15:11

hey can someone help me please,Im new here and I just downloaded family guy in h264 wich I want to transfer to my ipod but the episodes arent going to my iTunes
there comes a message that there is an error and that iTunes must be closed :shock: :?

please help me,over 2 days is school again and I want those episodes before the school begins!
thanks!

stuckintheelevator
New Cone
New Cone
Posts: 1
Joined: 19 Jul 2007 04:24

Re: Cant Transfer h.264 files to iTunes --Solved.

Postby stuckintheelevator » 19 Jul 2007 05:04

I just started learning about this but this is what I have learned.

Using the newest version of VLC 8.6c I am able to directly encode videos in MPEG4-video format in a MP4 container. I do not have a video ipod and can not help you on specific bitrate, fps, and resolution settings although I think the following should work (in windows):

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" dvdsimple://E:@1 :sub-track=-1 : :dvdread-caching=10000 :sout="#transcode{width=640,height=348,fps=24,vcodec=mp4,vb=2000,soverlay, acodec=mp4a,ab=128,samplerate=44100,channels=2}:standard{access=file,mux=mp4,url=%outfile%}" vlc:quit
{Make sure that all the code is on one line}

The above works well and imports into itunes/appletv without a hitch. I think this should also work in the ipod, but I have not tried it.

Change the above resolution to 640x480 for TV with 29 FPS. Remove the {dvdsimple..dvdread} part and replace with the path\filename in quotes if you want to transcode a file.

Unfortunately the newest VLC does not directly code h264 into a quicktime/itunes recognizable format. It appears that the issue may be that quicktime/itunes does not adhere to the h264 standard to the letter. The older versions of VLC of appear to have this functionality. I have 0.8.5 which encodes beautifully without problem. You can get the older versions of VLC at: https://sourceforge.net/project/showfil ... _id=178182. I use the portable version which co-exists better with VLC 0.8.6c on the same system since it saves it apps data in a different location. I use the portable VLC 0.8.5r2 for h264 encoding.

With portable VLC version 0.8.5r2 (Earlier versions of 0.8.6 do not work) the command below produced an itunes/quicktime acceptable video:

Code: Select all

"C:\Program Files\VideoLAN\VLCPortable 0.8.5r2\App\vlc\vlc.exe" dvdsimple://E:@1 :sub-track=-1 :dvdread-caching=10000 :sout="#transcode{width=640,height=348,fps=24,vcodec=h264,vb=1500,soverlay,acodec=mp4a,ab=128,samplerate=44100,channels=2}:standard{access=file,mux=mp4,url=%outfile2%}" vlc:quit
{You need to locate the VLC.exe within the Apps\VLC\ directory, otherwise your batch file will not wait for transcoding to complete before it goes onto next steps. There is a VLC.exe within the main portable VLC folder -- Do not use this in your batch file.}

The resultant file works fine on quicktime/itunes/appletv. BTW, H264 is a alot slower than MPEG4-V. VLC is still faster than other methods to get files into itunes/appletv. The quality may not be a good as some would like it but it is adequate for me.

Good luck

------------------------For apple tv I use the following settings-------
Mpv4-Movies: width=720,height=396,fps=24, vb=2300
Mpv4-TV: width=720,height=432,fps=29, vb=1800
h264-Movies: width=720,height=396,fps=24, vb=2000
h264-TV: width=720,height=432,fps=29, vb=1500


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests