Log in

View Full Version : AVC/H.264 into .MP4 muxing with VideoLan


bond
27th August 2004, 22:11
as some might already know, the videolan player supports muxing h.264 streams into the .mp4 container already. till now i only had the possibility to test the output files with the nero dshow filters, which didnt work. i assume it till now still doesnt output spec compliant .mp4 files, but things might have changed already

anyone already tried muxing h.264 streams into .mp4 with the videolan (make sure you use the latest nightly builds and not the outdated official version)? would be great if someone could make some tests, for example creating some files (sorry dont have the needed commandline reachable atm) and playing them with the nero and sorenson (mainconcept?) dshow filters and report back whether this works

thanks :)

SeeMoreDigital
28th August 2004, 22:16
I tried muxing H.264 encodes (generated with FFdshow) using VideoLAN but failed... sorry bond!


Cheers

alexnoe
28th August 2004, 22:43
MP4 would work even better and could be looked at by more people if reading the file format docu didn't cause brain cancer...

SeeMoreDigital
29th August 2004, 08:42
Originally posted by alexnoe
MP4 would work even better and could be looked at by more people if reading the file format docu didn't cause brain cancer... Well lets hope you don't "pop your clogs" before you work it all out and develop the ultimate muxing tool....

How about, MULTI-mux or MEDIA-mux or STREAM-mux... How about ULTIMATE-mux


Cheers

robUx4
29th August 2004, 10:16
Well, AVI-Mux GUI is already MULTI-mux because it can handle multiple input and output file formats. AVI is just a legacy, in the name and in general :D.

ivan_alias
29th August 2004, 20:57
Videolan is my new favourite tool, but where do you get the latest builds or are you compiling these yourself?

Thanks a lot!

KpeX
30th August 2004, 00:24
Originally posted by ivan_alias
Videolan is my new favourite tool, but where do you get the latest builds or are you compiling these yourself?

Thanks a lot! http://vthr.via.ecp.fr/~videolan/build/win32/

bond
30th August 2004, 20:16
Originally posted by SeeMoreDigital
I tried muxing H.264 encodes (generated with FFdshow) using VideoLAN but failed...can you be more specific plz, didnt you manage to find the correct commandline to run the muxer or did the output not work. if the later in what way didnt it work

bond
31st August 2004, 20:23
ok, here are some commandlines you can use for muxing h.264 streams into .mp4 with videolan:

for raw .264 streams:
vlc /h264:"C:\path to\file.264" :sout=myfile_264.mp4 vlc:quit
for h.264 in .avi:
vlc "C:\path to\file.avi" :sout=myfile_avi.mp4 vlc:quit
for h.264 in .mpg (the vlc splitter only handles transport streams i think):
vlc "C:\path to\file.mpg" :sout=myfile_mpg.mp4 vlc:quit

bond
5th January 2005, 16:50
i can confirm that avc to .mp4 muxing in videolan is b0rked in the current svn

i tried it with the latest nightly build and
- importing raw .264 doesnt work at all: always only 1kb file gets created
- playing back files that got imported from .avi doesnt work as neither the moonlight nor the nero avc decoders want to connect to their splitters when opening these files

still i also tried an old version of vlc (vlc-0.7.3-svn, 4th july 2004)
and both raw and .avi import work perfectly (except b-frames import shows a jumpy playback, which is the same as with mp4creator files, assuming that b-frames are not correctly supported)

Elias
3rd February 2005, 18:33
I just want to mux XviD+AAC=avi>mp4 by using VLC. I hope it works better than mp4UI? What commandlines do I need to use?

bond
3rd February 2005, 18:37
Elias, before you jump at the avc in .mp4 muxing thread with asp issues i want to make clear:
- vlc's .mp4 muxing seems to be broken in the latest builds
- vlc's mp4 muxer is highly untested, so it might not work correctly
- eg vlc doesnt handle AVC b-frames (dunno about ASP ones)
- for avi -> mp4 transmuxing use the same cmdl as for avc

Elias
3rd February 2005, 18:38
Originally posted by bond
Elias, before you jump at the avc in .mp4 muxing thread with asp issues i want to make clear:
- vlc's .mp4 muxing seems to be broken in the latest builds
- vlc's mp4 muxer is highly untested, so it might not work correctly
- eg vlc doesnt handle AVC b-frames (dunno about ASP ones)
- for avi -> mp4 transmuxing use the same cmdl as for avc Oh all right, guess I'll have to wait for the next build of mp4UI then :D Speaking of which, does anyone know when Markus will update it?

bond
4th February 2005, 02:34
Originally posted by Elias
Oh all right, guess I'll have to wait for the next build of mp4UI then :D Speaking of which, does anyone know when Markus will update it? elias, plz stay on topic. i think this discussing things not related to the thread in the thread isnt really nice and results into a mess (sometimes its not avoidable, but now it is). your question has nothing to do with videolan

i have to remind you about the rules you accepted when joining the doom9 community: what about using search before posting? there was _a few days_ old discussion about exactly that question. there is no need to discuss this again in this thread again as it doesnt belong here

Elias
4th February 2005, 07:24
Originally posted by bond
elias, plz stay on topic. i think this discussing things not related to the thread in the thread isnt really nice and results into a mess (sometimes its not avoidable, but now it is). your question has nothing to do with videolan

i have to remind you about the rules you accepted when joining the doom9 community: what about using search before posting? there was _a few days_ old discussion about exactly that question. there is no need to discuss this again in this thread again as it doesnt belong here Off topic: I'm sorry, I'm not trying to annoy anyone or anything, but I know that I am anyway :) Sorry, I'll start following the rules from now on and apologize if I've been acting like a dipshit :) After all, I don't want to get banned from this kick ass forum :) Anyway, back to VLC.