HoloJoe
13th November 2005, 00:09
Hello all!
I'm trying to convert some videos I have to MPEG-4 for use on my cell phone
(Motorola A780). The phone is capable of playing MPEG-4 content stored in
the mp4 container. I already succeded in converting videos with ffmpeg and
the play just fine! I used a resolution of 320x240 (resolution of the full screen
of the phone) and a bitrate of 300 kbps at 25 fps.
It's quite easy to convert videos to mp4 with ffmpeg but I don't like the quality.
Compared with Xvid quality is much worse. So I decided to try and convert
a test file with AviSynth --> VirtualDub --> Xvid and mux the resulting
AVI file with MP4Box to a mp4 conatiner. Audio was handled seperately (saved
to an uncompressed wav file with VirtualDub) and then converted to MPEG-4
AAC LC with Apple's ITunes (and muxed with MP4Box together with the AVI I
mentioned above). On my PC the resulting mp4 file plays just fine using
Quicktime Player 7. But on my phone the video freezes all the time (the sound
plays relatively well). I tested with smaller bitrates and several profiles like
Simple @ L3 and Simple @ L1 but with no success.
The question is why is it ? With ffmpeg there are no problems, even at higher
bitrates. As I have the same problem with DivX generated files, could it be
MP4Box ? I thought it handles all the AVI hacks well. Btw. I didn't use any
B-VOPs so there shouldn't be a problem anyway.
Is there any way I can output raw MPEG-4 stream using Xvid and some
other program (with a GUI) to circumvent the AVI container ?
I am really clueless right now as I have tested nearly all possible XVid options
but anytime without success.
Could anybody of you point me in the right direction ?
Any hints very much appreciated!
Thank you,
HoloJoe
I'm trying to convert some videos I have to MPEG-4 for use on my cell phone
(Motorola A780). The phone is capable of playing MPEG-4 content stored in
the mp4 container. I already succeded in converting videos with ffmpeg and
the play just fine! I used a resolution of 320x240 (resolution of the full screen
of the phone) and a bitrate of 300 kbps at 25 fps.
It's quite easy to convert videos to mp4 with ffmpeg but I don't like the quality.
Compared with Xvid quality is much worse. So I decided to try and convert
a test file with AviSynth --> VirtualDub --> Xvid and mux the resulting
AVI file with MP4Box to a mp4 conatiner. Audio was handled seperately (saved
to an uncompressed wav file with VirtualDub) and then converted to MPEG-4
AAC LC with Apple's ITunes (and muxed with MP4Box together with the AVI I
mentioned above). On my PC the resulting mp4 file plays just fine using
Quicktime Player 7. But on my phone the video freezes all the time (the sound
plays relatively well). I tested with smaller bitrates and several profiles like
Simple @ L3 and Simple @ L1 but with no success.
The question is why is it ? With ffmpeg there are no problems, even at higher
bitrates. As I have the same problem with DivX generated files, could it be
MP4Box ? I thought it handles all the AVI hacks well. Btw. I didn't use any
B-VOPs so there shouldn't be a problem anyway.
Is there any way I can output raw MPEG-4 stream using Xvid and some
other program (with a GUI) to circumvent the AVI container ?
I am really clueless right now as I have tested nearly all possible XVid options
but anytime without success.
Could anybody of you point me in the right direction ?
Any hints very much appreciated!
Thank you,
HoloJoe