PDA

View Full Version : MP4 to AVI (Old School style+ AVC)


DeathTheSheep
16th December 2004, 05:34
Warning: 1st post. Somewhat Long.
Hi! I'm DeathTheSheep. Well, I just registered like a day or 2 ago and I was browsing around a bit. Well, it just so happens that I have a problem quite the opposite of those you guys seem to be having... Instead of converting TO an MP4, I need just a tiny bit of help converting FROM an AVI to an MP4. Now don't get me wrong, I've looked long and hard, and all solutions proposed didn't work with AVC streams and NeroDigital AVC MP4's. Here's what I did to get it ALMOST right:

1. Open MP4 in GraphEdit. Success.
2. Use 3ivx splitter. Failure.
--------------
1. Open MP4 again using standard dshow filter called "File Source (Asyc.)." Success.
2. Split file with 3ivx splitter. Success.
3. Mux to AVI. Success.
4. Write to file. Success.

However, the file doesn't decode, even though I've tried decompressing with everything from ffdshow to x624 to VideoSoft to Nero decoder.... They opened every time, but the data was "corrupt." And no, I did NOT use B-frames. (Even if I did, VideoSoft decoder supports it). What the heck is going on?

stephanV
16th December 2004, 10:17
If IIRC, the 3ivx splitter doesnt handle AVC very well (as in not). Having said that, the AVI mux filter doesnt handle AVI very well either. Not sure if you can do this and if so, not sure with graphedit. You could try Nero's filters.

yaz
16th December 2004, 12:11
maybe, i get u wrong, but ... subjects says 'avi to mp4' but what u outline is 'mp4 to avi' ... so ... imho, u can't do any of that with dsfs.
1) 'avi to mp4' (guess, avc in avi): 'avi2raw' (use .h264 or .264 file extension!) and then 'mp4creator'. both prog from mp4iptools.
2) 'mp4 to avi' (guess, avc in mp4) ... yep, it's more tricky ...
2.1) extract avc with mp4creator and then use mencoder (-copy) for wrapping into an avi (it worked for me)
2.2) (try to) use nero dsfs for rewrapping. if the mp4 file opens in graphedit, it means, u have the avc stream. (don't work for me)
2.3) (an eretic way:-)) i've managed to wrap avc with 2 he-aac stream into avi with avimuxgui. and it worked ! no synch issues, playable, seekable, whateverable :-)) so u can give it a try but leave it for the very last (uhhh, i just feel the bang on my head what i get from bond for it:-))

the bests
y

DeathTheSheep
16th December 2004, 21:35
Well, MP4 Creator seems to stink...


C:\MP4TOOLS>mp4creator60 -extract=3 evilSas.mp4
MP4ERROR: MP4File::FindIntegerProperty: no such property - moov.trak[0].mdia.min
f.stbl.stsd.*.esds.decConfigDescr.objectTypeId
MP4ERROR: GetSampleFile: invalid stsd entry
MP4CREATOR60: read sample 1 for evilSas.mp4.t3 failed

C:\MP4TOOLS>mp4creator60 -list evilSas.mp4
Track Type Info
3 video Unknown, 214.464 secs, 0 kbps, 0x0 @ 23.98 fps

C:\MP4TOOLS>

I got this after I tried to extract the proper stream. It always fails to read sample 1.

Cheers, maybe something better will come along... what was that last thing you said? It seems complex... ;-) So, how exactly do you get the NeroDigital AVC stream out of the MP4 in the first place? I can't even *get* to the muxing stage yet... :-(

yaz
17th December 2004, 09:57
hmmm ... that's pretty strange ... it seems as if your file were really 'broken', but i can't figure out how ?
if u can open it in graphedit u can play it as well. what filter chain u get in ge ?
the bests
y

bond
17th December 2004, 22:03
3ivx splitter cant handle avc in mp4, use the nero directshow filters instead (nero parser) and connect it to the directshow .avi muxer

to my knowledge there is no tool available that can mux avc in .avi atm

with the method described above open the resulting .avi in nic's fourcc changer tool (comes with koepis xvid compiles) and change the fourcc to something like "avc1", than ffdshow should be able to connect to it and play it (note "should" :D )

DeathTheSheep
17th December 2004, 23:29
Nero Parser? But then you can't attach an AVI mux...

I've tried it and got the "error, the filters cannot agree on a connection."

Is there something I'm missing in the middle?

Screen: (next post, can't upload pic after initial post, lol)

DeathTheSheep
20th December 2004, 03:52
Screen:

bond
21st December 2004, 13:14
than you cant mux avc-in-mp4 to avi by using the nero filters that way

try using the moonlight splitter instead (no need to touch nero)

DeathTheSheep
22nd December 2004, 22:54
True, the moonlight splitter works. However, upon attempting to connect the split MP4 to an AVI mux... Failure ensued swiftly with an angry beep. lol

>>>>>
File Input (Async) > Moonlight MP4 Demultiplexer X AVI MUX...
>>>>>

bond
22nd December 2004, 23:11
hum, so it seems that moonlight doesnt allow connecting their splitter to non-moonlight filters like the avimuxer :devil:

eb
22nd December 2004, 23:55
Finaly I have got control over SeeMoreDigital sample created as MP-4 with Nero.
see the picture

http://img101.exs.cx/img101/8094/untitledsmd3.jpg


to Part 1 of this picture it will be better to read data from GRAPH

<GRAPH version="1.0">
<FILTER ID="File_writer" clsid="{8596E5F0-0DA5-11D0-BD21-00A0C911CE86}">
<PARAM name="src" value="E:\SMDQQ"/>
<PARAM name="data" value="3000300030003000300030003000300030003000300020000800000000000000"/>
</FILTER>
<FILTER ID="AVI_Mux" clsid="{E2510970-F137-11CE-8B67-00AA00A3F1A6}">
<PARAM name="data" value="300030003000300030003000300030003000300030002000200000000000000080969800000000000000000000000000FFFFFFFF01000000"/>
</FILTER>
<FILTER ID="Microsoft_ADPCM" clsid="{6A08CF80-0E18-11CF-A24D-0020AFD79767}">
<PARAM name="data" value="3000300030003000300030003000300030003000300020000800000002008600"/>
</FILTER>
<FILTER ID="ffdshow_video_encoder" clsid="{4DB2B5D9-4556-4340-B189-AD20110D953F}">
<PARAM name="data" value="300030003000300030003000300030003000300030002000660800000021FA0C01000000B80B00000000B90BCE020000BA0B90B20800BB0B02000000BC0B64000000BD0BC9000000BE0B58564944BF0BFA4B05C00B015D05C19506C29500C39500C49500C59503C69500C78502C89500C98502CD9500CE940004E90C59563132CF9503D09600D10B640204D20B06000000D38502D49500D5940004D60B50000000D78E07EF0C421100D89D02D99506DA9D02DB8502DC8D01DD8C010122F400DF8101E094000F1FF45C766964656F2E6666737461747300E2980204E30BA8610000CA8C010ACB0B803E0000CC0B28230000E58509E69500E79503E89500919D0F929500E98502EA9500EB9500EC9500ED9500EE9700EF0B044116F08D01F19509F28D01F39500F49703F50B085E2AF90C7500F69D02F7940004F80B00008A02F99506FA8502FC940004FD0B003F0000FB9D02EE8511FE9C020051C80C08111213C90C1517191BCA0C11121315CB0C17191B1CCC0C14151617CD0C181A1C1ECE0C15161718CF0C1A1C1E20D00C1617181AD10C1C1E2023D20C17181A1CD30C1E202326D40C191A1C1ED50C20232629D60C1B1C1E20D70C2326292DD80C105D0BD99509DA7E0B14DB940904DC0C12131415DD74090119DE0C13510DDF76091BE0840504E10C191A1B1CE2840504E30C1A1B1C1EE466051AE5640B0C1FE60C1718191BE70C1C1E1F21200C764F210C7540248D01258D22268F01270C104529288C010A290C1F000000220CB0FFFFFF2385202A9500E897002B0C7D55582C95002F85023095002D95002E950031940006320C00040000330C325D05349500359700360C03454E378D04F09500F19500F29500F39500389E11390C6D653A95003B9D023C95003D95003E95003F9500409500419700420C14455D43950044940004450C10270000469500478E04B8F3C056B955B7DB01676B2EA1024A9404064B0C809698004C0C3C45764D95004E9F024F0C0A5725500C1E444B04510C19000000528602530C6579548E04550C7D79569700570CF45301580C5A5D055985025A8D075B9D215C85025D8D015E8D075F950060940004610CFCFFFFFF628F01630C074511958D01969522648F01650C465589668D016795006895006995006A95006B95006C95006D8D076E9D0EEC840204ED0C200300006F8F01700C095F14710C125D1A729D30739D42749D36758D047695007795007895007995097A8D017B95007C9500F49D02F59700F70C115D26F88D01FB9500FC850BFD8505FE9400027D0C5247426946597E55002D43270000097E1E000A95000B96001900620346006949478D015A9D056A430C00007886026D0069026F850279950072950075960065006961668D016795006896006E0071076B8D016C950070960073007B4A740028515777860279057A008A056511908D017A95008B95008196007B056E107F057D148687028805FF592B8986028C0561498D9D028E95008F9500918E0A92056522938502CD6A0D00D96A1300CF951ED58502DA9700C900805135CA8E01CE007166D69500D79500D89500CB9703CC0040550F416B1F004B066617420671A84385024C95004D960045067D08448E0146066D16478D01488D01498D014A950085731B00A803760987036902898502A99500999600860371659A8D01889500909D059B8C01048C032C0100009E8D018D95009C96039103752D9D84020B9303BC0200009403DC050000950379EB9F9E02A0037A00A1037715A20396497FA360020500A40390010000A5840B04A60358020000A79D02917B1400AB017A0097017149986A0100AC950096960092016E3D9301760994016D10959E029D01770C9E010F4D409F8502A09700A701C8562BA801650EA98502AA9600B8016559B99500AF8502BA9E0EB00179D1B18502BB9500B29D02A38F0DA40180541804B30140060000B48E07B5017548B68D04B78D01F5960600027A00FA017548FB690100920300F98D01F69500FE9500FF9500F78517F88D01026B0A0003026514048E01050276120602750907870208027F5545098D040A85020B8502BD9D0EEF9600D2027DE3D39503D89700BE02D0542D05BF02A0010000D90262CBDA02688A04F102D0070000DD8D04DE8F07DF02805501E08C0104E102E0010000E28D01E3940004E40200B00400E547040000E69500E79D02C08C0104C30200C00100479563C29119D49D02D59500D69500D794000AED027E040000EE02B6030000C48502C59500C69500C79500EC9500C89D0BF0940004F202FFFFFFFFC98D01CA9403771A0000D18502CB8502CC9600CD02220925CE9500E88502E99500EA950021954E3C9F592F030D5D29318D012E96002A037E2F2B0369C33B8505399D022C8C01042D03E80300003E950042850244950054950043860545037D77539563519E0252037984468562478502489500499D054A8D674B9D684C95724E95034F9500558D07228D013795003D970023031A465C380369E124846B042903FFFFFF002585172695182885053F950C40950F4D6B13005604624E4E0469355585025795004F9500509500519500529500539500549600DD076D073562530036950037960038087533398D013A96003B0865053C9D029985029E86029A086D4F9B85029F9500FD96000A097F05FE080C4D79FF85050B6205000995000095000196000209757E038D01049500058502069500079400920C00C36A0A00CE9E74C401655FC58502CF9600C6017539C79500C89500C99500CA9500CB9700CC01F45596CD9D05E38520EC9727E4040E49FFE58502ED9500E79D02E89500E99500EA9500EB9500AB722D00AC9DC8AD9500AE8602AF056D19B09ECEB1056514B29500B39DD4B48605B5056A05B60566B9B70566A4B8056926B99503BA9500BB9500BC9500BD9E05BE057D41BF6A0700736A0700749ECB750671FE7686027806755D7995007A86027B0671647C8F017D06805C9E000ECBFC00B0FC00CCFC417269616C0064F70063F7007CFA007BFA001AFB0089F900110000"/>
</FILTER>
<FILTER ID="CoreAAC_Audio_Decoder" clsid="{6AC7C19E-8CA0-4E3D-9A9F-2881DE29E0AC}">
</FILTER>
<FILTER ID="Nero_DVD_Decoder" clsid="{DCD6EADC-EE69-47DD-B934-95573296039C}">
</FILTER>
<FILTER ID="MP4_Source_0" clsid="{E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}">
<PARAM name="src" value="E:\Mpeg4AVC_test_file_From_SMD.mp4"/>
</FILTER>
<connect direct="yes" src="MP4_Source_0" srcpin="1" dest="Nero_DVD_Decoder" destpin="Video In"/>
<connect direct="yes" src="MP4_Source_0" srcpin="2" dest="CoreAAC_Audio_Decoder" destpin="In"/>
<connect direct="yes" src="CoreAAC_Audio_Decoder" srcpin="Out" dest="Microsoft_ADPCM" destpin="In"/>
<connect direct="yes" src="Microsoft_ADPCM" srcpin="Out" dest="AVI_Mux" destpin="Input 02"/>
<connect direct="yes" src="AVI_Mux" srcpin="AVI Out" dest="File_writer" destpin="in"/>
<connect direct="yes" src="ffdshow_video_encoder" srcpin="Out" dest="AVI_Mux" destpin="Input 01"/>
<connect direct="yes" src="Nero_DVD_Decoder" srcpin="Video Out" dest="ffdshow_video_encoder" destpin="In"/>
</GRAPH>



The second part of picture:
<GRAPH version="1.0">
<FILTER ID="Dump_1445" clsid="{36A5F770-FE4C-11CE-A8ED-00AA002FEAB5}">
<PARAM name="src" value="E:\SMDVIDEO.M2V"/>
</FILTER>
<FILTER ID="Dump" clsid="{36A5F770-FE4C-11CE-A8ED-00AA002FEAB5}">
<PARAM name="src" value="E:\AAC1.AAC"/>
</FILTER>
<FILTER ID="MP4_Source_0" clsid="{E206E4DE-A7EE-4A62-B3E9-4FBC8FE84C73}">
<PARAM name="src" value="E:\Mpeg4AVC_test_file_From_SMD.mp4"/>
</FILTER>
<connect direct="yes" src="MP4_Source_0" srcpin="1" dest="Dump_1445" destpin="Input"/>
<connect direct="yes" src="MP4_Source_0" srcpin="2" dest="Dump" destpin="Input"/>
</GRAPH>

eb

DeathTheSheep
23rd December 2004, 16:38
OOh, where do you get "dump" and "MP4_Source_0?" They are definately not in my list...

So this basically dumps the stream into a file, right? Just what I need to mux into an AVI. Hehe... This is what I call a Chrismas present... ;-)

SeeMoreDigital
23rd December 2004, 16:47
I'm confused... it looks like the Mpeg4/AVC video has been re-muxed via FFdshow to .ASF?

Is the re-muxed AVI sample on your web-site eb?


Cheers

eb
23rd December 2004, 18:21
Is the re-muxed AVI sample on your web-site eb?

It is as you said.
I am going to remove and make some order on my web-site with more detail description of every sample.
SMD please tell what is original picture AR of your sample?
Then I make sample from it with corect size.
This graph I put here accidently, another was planned.
I transcoded it to .avi with cropping black part of the picture.
Now I am trying to find the way how to get usable video stream from this second part on scheme /it was different graph, but I put it together to save place/.
Again if someone have sample to deal with it we can together find the best solution .
This graph with the source from DVBcard I am using to live record directly to .avi from sattv together with croping. If needed I can present graphs for direct recording to .avi using SS2 card SkyView or MyTheater 2.76. MyTheatre can be used also with another cards.

eb

SeeMoreDigital
23rd December 2004, 18:38
Originally posted by eb
SMD please tell what is original picture AR of your sample?
cards. The source movie has an AR of 2.351. And it was encoded at 1:1 using all 720x576 pixels with (64:45) DAR signalling.


Cheers

eb
23rd December 2004, 19:53
http://img151.exs.cx/img151/3323/swmd24wk.jpg

.avi sample from yours
I uploaded my sample and only compressed audio to mp3 to make size below 5MB instead more than 12 MB with audio as from graph.
Croping was used to cut off black parties.
Sample name SMD.avi

eb

SeeMoreDigital
23rd December 2004, 20:14
eb...

...It would appear that the file you have uploaded is no longer Mpeg4/AVC it's been re-encoded to FFmpeg Mpeg4 with B-VOP, using XviD's 4CC code.


Cheers

eb
23rd December 2004, 20:55
to keep original video and audio from your sample use this graph from picture 1 part 2.
I will upload them video and audio but I am afraid it will be difficult to work with them.
SMDaudio and SMDvideo .
eb
Please tell me what are you going to do or what is the target you are going to.

SeeMoreDigital
23rd December 2004, 21:06
Hi eb,

Extracting the AAC audio stream from the MP4 container is fairly straight forward. I think mp4UI can do this!

However, extracting a NeroDigital Mpeg4/AVC stream out of the MP4 container and into an AVI container is proving to be a more complicated matter!


Cheers

eb
23rd December 2004, 21:58
The problem is that Nero is using their specific coding way and to deal further with video we must decode it with Nero decoder only.
There is no way /so far for me / to use Nero video stream in DirectX applications without decoding.

@DeathTheSheep,

...sorry, I forget about your ask.
Download Nero6303 and then you will be able to open Nero files in Graphedit.
Probably DUMP box is from ACEMCP601PRO.exe but I am not sure.
If you have problems with transcoding to avi please present sample. You can upload it to my web-site, if there is no place I will remove some files.

eb

DeathTheSheep
26th December 2004, 02:34
Ah, yes. I originally wanted only to keep the AVC stream, but stick it in an AVI container.

MP4UI, a conveniant program, cannot extract AVC streams, but it can extract AAC (audio). I was wondering, therefore, if it is possible to take the AVC video and put it into an AVI container. It's a bit hard, huh...

I think, though, if that DUMP was installed, it could produce the raw stream. If parsed (or something, I can't think of the word), and then muxed into an AVI, wouldn't that work? The problem is, like SMD (wow, I just realized that was an abbreviation! ;-) lol) pointed out, would such a thing be possible? Would it work?

And so far (up 'till now, that is), everyone's replied:
"Oh, that's EASY!! That's a novice's work! You're wasting our time!" but when they tried it and failed.... Wow, is there a solution?

stephanV
26th December 2004, 13:02
Originally posted by DeathTheSheep
And so far (up 'till now, that is), everyone's replied:
"Oh, that's EASY!! That's a novice's work! You're wasting our time!" but when they tried it and failed.... Wow, is there a solution?

:)

not really true, several people have said it would be difficult (e.g. bond and me).

The problem is that it is not defined how to mux AVC in AVI. Strictly it is not even possible, but i guess DirectShow could solve most issues for the AVI container. The only way AVC in AVI is possible at the moment (i think) is via VFW, which in itself causes some problems.

The question you have to ask yourself is *why* you want to do this. Perhaps there is a better and easier solution to your problem than (trying) to mux the AVC stream into avi.

DeathTheSheep
26th December 2004, 17:13
Ah, yes, I see. The wisest of people regarded such a transpiration with wary eyes ;-) Excellent. Well, my problem is that I need the files fit into an AVI for these reasons:

1. Playability. I need these files to be easily playable to all 3rd party players capable of supporting directshow. Windows Media Player (my favorite, yeah, i know, sue me :-) ) can't recognize the container, and neither can my codec-supporting gadgets. I know they work with DAVC, AVC1, VideoSoft, etc in AVI.

2. Editability. I need constant, easy access to video files in VirtualDub(mod). This is very easily accomplished with AVI files encoded with AVC.

3. Standardized format. MP4 has many flaws which are very difficult to fix, such as a/v out of sync (which I get from NeroDigital, etc, all the time, a problem which many share, lol). This is easy to rectify with an AVI file (if ever I get sync. errors).

4. A lot more. I may even edit this post and add others once I remember them, meheh...

Yes, MP4 is a new, cool format. But all it's given me is problem after problem. MP4 is a very greedy container; it will accept any MUX, but it wont give up its own. Scary, eh?

DeathTheSheep
26th December 2004, 17:17
The only way AVC in AVI is possible at the moment (i think) is via VFW, which in itself causes some problems.

Wow, lol, I've heard this around. What does this actually mean? I feel AVC in AVI is fast, flexible, and portable, compatible, blablabla... I've never encountered any problems with it... yet...

Heh, yeah, I was told it relied on "hacking." What on earth does this mean?

PS:
WHEW...I sure hope VP7 will keep AVI. Then I'll buy it--wait, I'll only buy it once my gadgets support it (closed file format, lol)...

stephanV
26th December 2004, 18:00
Originally posted by DeathTheSheep
1. Playability. I need these files to be easily playable to all 3rd party players capable of supporting directshow. Windows Media Player (my favorite, yeah, i know, sue me :-) ) can't recognize the container, and neither can my codec-supporting gadgets. I know they work with DAVC, AVC1, VideoSoft, etc in AVI.
Any DS-based player can play MP4 files if you have the right filters (Nero's) installed.


2. Editability. I need constant, easy access to video files in VirtualDub(mod). This is very easily accomplished with AVI files encoded with AVC.
Why? An AVC stream doesnt lend itself for easy editing anyway? What do you wanna do? Make cuts? Very difficult. But ok, ill give you that. Although i dont understand it.


3. Standardized format. MP4 has many flaws which are very difficult to fix, such as a/v out of sync (which I get from NeroDigital, etc, all the time, a problem which many share, lol). This is easy to rectify with an AVI file (if ever I get sync. errors).

MP4 is just as standardized as AVI. On top of that AVC is not standardized for AVI, yet it is for MP4. Furthermore an MP4 muxer wont accept any stream, in the basis only MPEG streams.


Yes, MP4 is a new, cool format. But all it's given me is problem after problem. MP4 is a very greedy container; it will accept any MUX, but it wont give up its own. Scary, eh?
Thats not right, the AVI Mux filter does not handle AVC. The problem lies there, not the other way around.

Heh, yeah, I was told it relied on "hacking." What on earth does this mean?
VFW is a codec API basically designed for AVI. When it encodes it requires one frame that goes in and one frame that goes out. B-frames are not possible this way, but can be made possible by a simple hack using delay frames. The encoding application however needs to be adjusted so that it removes these delay frames. AVC allows for more complex references than just b-frames and its no unlikely that these are not possible by even hacking VFW. A AVC encoder that uses VFW will therefor be very limited and wont use the full potential of AVC.

Basically, what it comes down to is this:
-If you want to use AVC, don't use AVI.
-If you want to use AVI don't use AVC
(unless you use a VFW AVC encoder (e.g. x.264), but certainly not Nero)

A similar situation already exists for RealVideo and it is not unlikely that this will happen more and more. As summary: no excisting solution for your problem is there. It sucks, but thats how it is.

DeathTheSheep
26th December 2004, 18:28
Nice! ;-) A long, definative answer! Though I hoped it would go the other way, I thank you much for your time!

A couple things, though: You mentioned that it is playable with just about any DS-utilizing player. However, upon attempting to load it with WMP, the following error occurred:

http://img63.exs.cx/img63/6258/wmp8rq.jpg

or if I try to rename the file using an AVI extension:
http://img63.exs.cx/img63/3945/wmp2bq.jpg

And, um, what of the terrible A/V sync. problems? The Nero Recode encoder... um, would be better if it allowed the user to enter manual bitrates instead of relying on the slider... I can never get 28.8kbps, for example.
Cheers, baa ;-)

stephanV
26th December 2004, 19:09
if that problem only occurs with WMP, WMP is buggy. try another ds-based player (MPC for example). dont rename .mp4 files to .avi. it doesnt make sense, and in principle doesnt change anything.

eb
26th December 2004, 19:49
stephanV wrote
Any DS-based player can play MP4 files if you have the right filters (Nero's) installed.

After collecting filters .mp4 files are playable in WMP/mplayer2.
Currenty I have WMP10 and DirectX 9.c.
For me VLC from VideoLan is most useful, carring on his back all needed own filters, thus is independent fron M$ system, where it is difficult time to time to get control over filter priorytets.

The best way to solve problem is discussion over the sample record, and others can say what filters are needed to play back/process such sample. I offered already such help.

eb

DeathTheSheep
27th December 2004, 19:08
VFW is a codec API basically designed for AVI. When it encodes it requires one frame that goes in and one frame that goes out. B-frames are not possible this way, but can be made possible by a simple hack using delay frames. The encoding application however needs to be adjusted so that it removes these delay frames. AVC allows for more complex references than just b-frames and its no unlikely that these are not possible by even hacking VFW. A AVC encoder that uses VFW will therefor be very limited and wont use the full potential of AVC.

Wow. You apparently know quite a bit in regards to AVC and Nero. However, AVC in AVI (even the *limited support* offered by ffdshow, x264, mpegable, videosoft, hdot264, etc) is still great. I merely can't use Nero, lol, 'cuz I do a heck of a lot of video editing with programs that use vfw. I now admit that MP4 has its advantages (standardized, newer, supposedly more flexable...heck, even smaller file size, for cryin' out loud, even though I can't find the blasted filters!!), but it simply wont work with me, a conclusion I've finally come to accept. Thanks to all who helped out. Kudos to you, kudos to MP4.

Cheers, baa

stephanV
27th December 2004, 19:47
Originally posted by DeathTheSheep
but it simply wont work with me, a conclusion I've finally come to accept. Thanks to all who helped out. Kudos to you, kudos to MP4.


:)

i came to the same conclusion (for now that is)

oh well, there are worse things in life.

bond
27th December 2004, 20:02
lol, sounds like the conclusion of my grandmother: "it's the dvd players fault, that i cant play dvds with it" :D ;)

DeathTheSheep
27th December 2004, 23:46
True, if the DVD player was broken, that might be so, lol.
Same in my case--the MP4 container is "broken" for what I use it for.

Heh, yeah, once I turn like 16, I'll be all over it like a misfit suit...(random phrase)

Cheers, baa

redfordxx
26th February 2005, 17:12
Hi,
I came little later to this thread, but maybe i get some answer.

I tried to convert Nero.mp4 to avi, using your hints. Ihad two test files ASP.mp4 and AVC.mp4

Trhee of my trials:
ASP.mp4 --> mkverge --> asp.mkv --> VirtualDubMod --> asp.avi (success)
ASP.mp4 --> mp4creator60.exe --> asp.mp4.t3 --> mencoder_nocss.exe -ovc copy --> (failed) -->
ASP.mp4 --> mencoder_nocss.exe -nosound -ovc copy --> asp.avi

AVC.mp4 --> mkverge --> avc.mkv (i think broken) --> (failed) VirtualDubMod
AVC.mp4 --> mp4creator60.exe --> avc.mp4.t3 --> mencoder_nocss.exe -ovc copy --> (failed) -->
AVC.mp4 --> mencoder_nocss.exe -nosound -ovc copy --> avc.avi

Now playback (BSPlayer):
I have default FFDShow:
ASP.mp4 - OK
ASP.avi - OK
AVC.mp4 - OK
AVC.avi - opens but does not play (black screen with correct resolution)

When I disable FFDShow:
ASP.mp4 - Nero Decoder loaded
ASP.avi - Intervideo MPEG4 Decoder loaded (don't know why)
AVC.mp4 - Nero Decoder loaded
AVC.avi - Message "Unknown file format (AVC1)", Nero Showtime doesnot play it as well.
I tried to change fourcc somehow ---didnt help
VirtualDubMod can't find decoder for AVC.avi as well.

I think it's long enough, so I stop here, just asking:
"Why ffdshow works with AVC.mp4, but does not work with AVC.avi? What to do?"

Thanks
R.

JoeBG
26th February 2005, 18:55
mp4 to avi (why should someone want to do this) works as follows:

1) mp4 to raw
with mp4creator with -extract

2) raw to avi
with avc2avi

Seems to be easier than your way isnīt it? :)

bond
26th February 2005, 19:21
Originally posted by JoeBG
2) raw to avi
with avc2avidoesnt work when b-frames are used in the stream, which most streams will use i assume!

redfordxx
26th February 2005, 21:03
2) raw to avi
with avc2avi [/B]

Where to get it? Can't find it. (for Win32)
But if that does not handle B-f, then it does not help much.

Just wanna get NeroDigital to AVI. If htere is another way, I'll try. But I assume I cannot cheat nerodigitalencoder and make it appear in VirtuaDubMod codec list...

Tnx
r.