Been doing a fair bit of reading and experimenting and wondering why I can't get the following to work:
Have many avi files that were done with DX50 codec back in the day. Now looking to update my library and not re-rip but batch remux the files to mp4 for compatibility reasons. Also needs to play on mac quicktime. Yes the avi does play on quicktime correctly currently, however moving to different viewing platforms sometimes causes problems etc.
So running the file through say avidemux, with audio (mp3 to aac) and video (copy) yields a file that works BUT seems to be jerky and not smooth. In quicktime specifically. copying it back to avi, and the jerkiness goes away. Trying to understand what is going on. As I understand it, mp4 container can contain h.263 video so I thought this would have been simple to remux.
ffmpeg on the cli ends up with the same effect, almost like frames are being skipped or missed.
Wondering what I am missing in the whole remux from avi container to mp4!
Yes I know I could do this with handbrake or some other transcoder and go to H.264, but that is a lossy conversion, and I already have compressed these as much as reasonably possible and don't want to loose more video information.
Thanks!!
MediaInfo of source file:
General
Complete name : Sample.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 698 MiB
Duration : 1h 37mn
Overall bit rate : 998 Kbps
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 1h 37mn
Bit rate : 861 Kbps
Width : 696 pixels
Height : 288 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.179
Stream size : 602 MiB (86%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1h 37mn
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 89.6 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 504 ms
Have many avi files that were done with DX50 codec back in the day. Now looking to update my library and not re-rip but batch remux the files to mp4 for compatibility reasons. Also needs to play on mac quicktime. Yes the avi does play on quicktime correctly currently, however moving to different viewing platforms sometimes causes problems etc.
So running the file through say avidemux, with audio (mp3 to aac) and video (copy) yields a file that works BUT seems to be jerky and not smooth. In quicktime specifically. copying it back to avi, and the jerkiness goes away. Trying to understand what is going on. As I understand it, mp4 container can contain h.263 video so I thought this would have been simple to remux.
ffmpeg on the cli ends up with the same effect, almost like frames are being skipped or missed.
Wondering what I am missing in the whole remux from avi container to mp4!
Yes I know I could do this with handbrake or some other transcoder and go to H.264, but that is a lossy conversion, and I already have compressed these as much as reasonably possible and don't want to loose more video information.
Thanks!!
MediaInfo of source file:
General
Complete name : Sample.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 698 MiB
Duration : 1h 37mn
Overall bit rate : 998 Kbps
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : DX50
Codec ID/Hint : DivX 5
Duration : 1h 37mn
Bit rate : 861 Kbps
Width : 696 pixels
Height : 288 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.179
Stream size : 602 MiB (86%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1h 37mn
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 89.6 MiB (13%)
Alignment : Aligned on interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 504 ms