Re: AVI Splitting and muxing

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



From: "Gutek"


I suppose that if I send the GRF file it won't open as
you miss my source file.

It doesn't matter.

Besides, it is not a good practice to send
attachements to usenet groups.

It's not, but it has been done before since the GRF file is
very small. You can also post a dump of the GRF or of the
live graph, I don't care, or even send the GRF to my email.
It's up to you: if you want help, that information is
necessary (but does not guarantee an answer).

The exact graph topology is like I presented in one of my
previous posts: http://tinyurl.com/6pv4au
[...]
Anyway, the graph is as
depicted in my ASCII art: an AVI file source - AVI
splitter = Avi muxer - File writer.

That is not your graph's exact topology. It does not show
the actual CLSIDs of the filters or the full connection
media types.

In order to reproduce the error, the AVI should contain
Mp3 audio - for PCM the problem with running the graph
was not observed, and I suppose that the AVI muxer
complains about the timestamps missing in audio stream.

The AVISplitter sets the timestamps based on the stream
chunk index, it doesn't know much about stream formats. If
the audio is VBR, it may be interleaved in a way that the
guessed timestamps are wrong and, after a few samples, the
audio and video are so much out of sync that the muxer can
not make sense of the timestamps anymore. It's the only
explanation I can think of. Both VBR MP3 and VBR audio in
AVI are non-standard (but work most of the time).

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


.



Relevant Pages

  • Re: Reassemble VOB, IFO & BUP files into an AVI and/or burn to DVD-r? - no audio
    ... How can I reassemble these files into an AVI file, ... My video software tools are limited: Sonic My DVD, TMPGenc 3.0 XPress, ... The default for both video and audio output is ... free XviD codec or the DivX codec. ...
    (rec.video.desktop)
  • Re: One LAst Question About Audio Pop
    ... I also burned a dv avi of some video/audio that were multple clips ... entire audio from video files burn as high quality audio and then drag the ... "Graham Hughes" wrote: ...
    (microsoft.public.windowsxp.moviemaker)
  • Re: MCI and MMControl Silent
    ... So here I am writing an AVI player using ... "Disables or enables audio output. ... Static bSilent As Boolean ... sCommand = "set avi1 audio all off" ...
    (microsoft.public.vb.winapi)
  • Re: Handling audio/sound with DirectShow
    ... > output AVI) should either contains the original stream (from the ... Create a SampleGrabber or DMO filter that takes data in, ... The audio source device would be initiated ... taking care of any sample rate conversion that might be ...
    (microsoft.public.win32.programmer.directx.video)