View Single Post
  #5  
Old 19-08-2006, 16:32
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
I used the following command line to re-package the raw H.264 stream, you sent, into an AVI container:

<path>\mencoder -of avi -ovc copy -o copyrawxclip.avi copyrawxclip.264

And then I manually edited the resulting AVI in a hexa editor because it had a weird FourCC. At offset 0x0070, the bytes 0x05 0x00 0x00 0x10 were changed to the string "h264"; at offset 0x00BC, the same four bytes were changed to "H264".

I didn't find a properly working general Video for Windows or DirectShow filter (video codec) for H.264 streams:
- The download at http://www.free-codecs.com/x264_Vide...c_download.htm is not a codec, rather the the encoder software.
- The latest ffdshow at http://ffdshow.sourceforge.net/tikiw...etting+ffdshow simply doesn't work for this media type.
So I tried VLC player 0.8.5 (see a download at http://www.versiontracker.com/dyn/moreinfo/win/27193 ), with its built-in H.264 decoder; the AVI sample played fine. I hope this helps!

[Edit] Ohhh, as for AC3 streams:
- Get the WinAMP AC3 input plugin from http://winampac3.sourceforge.net to be able to play AC3 audio (and check if a particular file is indeed in AC3 format).
- Get BeSweet from http://dspguru.doom9.net to convert among all kinds of audio formats: WAV, MP3, AC3, OGG, DTS. If you like, I can give you batch files that help with converting any audio format (that BeSweet can handle as input) to WAV, MP3, AC3 or OGG format.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!

Last edited by Joe Forster/STA; 19-08-2006 at 16:43.
Reply With Quote