Quote:
Originally Posted by Stream Recorder
AAC support was missing on the win32 two days ago 
Now you can use Avidemux to convert to AVI, MP4 or OGM (MPEG-4 + AAC).
|
I use AviSynth 2.4 (r3688).
When I use
direct stream copy for both video and audio, the audio is choppy when playing the resulted AVI file in videolan and media player classic, and
video-audio is slightly out of sych (2-3s, not a fixed displacement) in the resulted MP4 and OGM files.
But when I use direct stream copy for video and MP3 compression for audio (128kbps, 2 channels, CBR), there are no such problems in AVI or MP4 files.
I remember that MP4 does support AAC audio, but
why does the out-of-synch problem exists in the first case? Thank you.
Information of the resulted MP4 files are as follows.
First case: direct audio stream copy
General #0
Complete name : D:\test.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 Base Media
Format/Family : MPEG-4
File size : 816 MiB
PlayTime : 1h 6mn
Bit rate : 1708 Kbps
StreamSize : 2.79 MiB
Movie name : test.mp4
Performer : Avidemux
Screenplay by : Avidemux
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Writing application : Lavf51.12.1
Video #0
Codec : MPEG-4 Visual
Codec profile : Streaming Video Profile/Level 1
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 1h 6mn
Bit rate : 1574 Kbps
Width : 720 pixels
Height : 540 pixels
Display Aspect ratio : 4/3
Frame rate : 24.941 fps
Resolution : 8 bits
Interlacement : Progressive
StreamSize : 752 MiB
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Audio #0
Codec : AAC LC
Codec/Info : AAC Low Complexity
PlayTime : 1h 6mn
Bit rate : 128 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 44 KHz
Resolution : 16 bits
StreamSize : 61.2 MiB
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Second Case: re-encode audio as MP3
General #0
Complete name : D:\test_re-encode audio.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 Base Media
Format/Family : MPEG-4
File size : 816 MiB
PlayTime : 1h 6mn
Bit rate : 1707 Kbps
StreamSize : 2.12 MiB
Movie name : test.mp4
Performer : Avidemux
Screenplay by : Avidemux
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Writing application : Lavf51.12.1
Video #0
Codec : MPEG-4 Visual
Codec profile : Streaming Video Profile/Level 1
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 0
Codec settings/Matri : Default
PlayTime : 1h 6mn
Bit rate : 1574 Kbps
Width : 720 pixels
Height : 540 pixels
Display Aspect ratio : 4/3
Frame rate : 24.941 fps
Resolution : 8 bits
Interlacement : Progressive
StreamSize : 752 MiB
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
Audio #0
Codec : MPEG-1 Audio
PlayTime : 1h 6mn
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44 KHz
Resolution : 16 bits
StreamSize : 61.2 MiB
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00
The
fps of these two files are different from the one of the original MOV file. This is because the MOV file is severely out of syncn, and the AviSynth adjusts the fps when generating the MP4 files.