Hi all. I'm posting this in the Mac forum because I'm trying this on a Mac and I think Mac users will have more insight.
I've got some XVID encoded AVI files that I want to convert to M4V. Sure, I could just re-encode them, but I think there is (or should be) a better way.
Since XVID is just MPEG-4 video, shouldn't I just be able to demux the AVI and then mux the output files into an M4V? I've tried and it doesn't work. I'm not sure why. Using MP4box, I was able to directly convert the XVID to M4V (it has a built in feature for that), but QuickTime wouldn't open the file (it said incompatible file), but VLC played it. So, at least I know it's a valid file -- problem is that I want to make files that will play in iTunes/AppleTV.
Next I tried demuxing and remuxing. This actually worked. Sort of. The resulting file loaded into QuickTime player and was recognised as an M4V, but it wouldn't play properly. It would play a few seconds and then go blocky and then play normally and then go blocky and stutter, etc.
So, I guess, what I'm asking is this: Is there a way to make this work? Do I just need to figure out the right way to do it, or will QuickTime never play this file? Does XVID use settings that QuickTime can't handle? I know tha MPEG-4 is MPEG-4, but that QuickTime's implementation is lacking (at least for H.264, but I don't think XVID is an H.264 implementation).
Any thoughts? Should I try posting this in the conversion forum too?
Thanks!
David
+ Reply to Thread
Results 1 to 8 of 8
-
-
First, Quicktime CAN and DOES handle XVID.
But, it needs the proper codec to do so.
Do you have Perian 1.0 codec installed in
your Library/Quicktime folder?
From Wikipedia:
Xvid is not a video format. Since Xvid uses MPEG-4 Advanced Simple Profile (ASP) compression, video encoded with it is MPEG-4 ASP video (not "Xvid video") and can therefore be decoded with all MPEG-4 ASP compliant decoders
You need Perian installed and then it should handle the XVID
decoding fine. From there, you should be able to
trasncode it to Apple's preferred flavor of MPEG-4
( sorry, yes you will if you want AppleTV/iTunes to not
have any problem with it )."Everyone has to learn, so that they can one day teach."
------------------------------------------------------
When I'm not here, Where can I be found?
Urban Mac User -
Thanks for the reply. It does play in QuickTime, I'm not having trouble with that. What I really want to do is just pass through the MPEG-4 video from the original XVID AVI file into an MP4/M4V container _without_ re-encoding it. It seems like this should be possible.
-
Thanks for the reply. It does play in QuickTime, I'm not having trouble with that.
The resulting file loaded into QuickTime player and was recognised as an M4V, but it wouldn't play properly. It would play a few seconds and then go blocky and then play normally and then go blocky and stutter, etc.
Have you tried the passthrough (video) option in ffmpegx to Mpeg-4?
what was the result of that?"Everyone has to learn, so that they can one day teach."
------------------------------------------------------
When I'm not here, Where can I be found?
Urban Mac User -
Good thinking about using ffmpeg to passthrough the video. Sadly it didn't work either. Again, the resulting file stutters and goes blocky. I tried the same thing through VLC using the save option when opening the file. I output as an MPEG4 file and again no dice. (I think VLC gives the same results because it's built from ffmpeg, but I could be wrong).
When QuickTime plays the output files with stutter/blocks it reports that Perian is playing the file. I tried removing Perian from the QuickTime plugins folder to see what would happen. QuickTime Player then reports that the Apple MPEG4 Decoder is working, but then all I see is a white screen, no video at all.
I'm guessing the original XVID AVI was encoded with some options that QuickTime just can't handle. A direct copy of the MPEG4 video was a good thought, but I guess I'll need to just re-encode.
Thanks for your help,
David -
Dave,
your welcome!
good luck and post back if you have further problems.
"Everyone has to learn, so that they can one day teach."
------------------------------------------------------
When I'm not here, Where can I be found?
Urban Mac User -
Originally Posted by davecool
You can still play such .MP4 files in Quicktime Apps if you install an alternative MP4V decoder, but that doesn't help when it comes to the AppleTV.
*Well, actually, Quicktime is not able to read any H264/AVC encoded .mp4 either, because it doesn't support every AVC profile. There is also an alternative AVC decoder for Quicktime.Jean-Philippe Schuck
Un générique, un autre jour, le blog sur les génériques de dessins animés -
Similar Threads
-
VIDEO_TS to AVI xVid with AC3 5.1 passthrough - problems
By couldtryharder in forum ffmpegX general discussionReplies: 11Last Post: 29th Nov 2011, 09:08 -
Question about settings for convert movies in divx/xvid to m4v or mp4
By Marcelo_Ramone in forum Newbie / General discussionsReplies: 1Last Post: 12th Sep 2011, 09:25 -
M4V to AVI in VD, when compressed with Xvid, saves with audio out of sync
By kiki hayes in forum Newbie / General discussionsReplies: 4Last Post: 4th Aug 2011, 09:45 -
Premiere Elements 3 Export to DV-AVI or m4v file?
By bowmah in forum Newbie / General discussionsReplies: 2Last Post: 9th Oct 2008, 18:12 -
Convert .m4v (H.264+AAC) to XviD
By mattr in forum MacReplies: 3Last Post: 20th Sep 2008, 10:25