Page 1 of 1

Saving Udp-Stream and Muxing Mp4 in Dummy Mode not working

Posted: 25 Oct 2010 16:57
by matschkopp
Hello,

I have problems to save a udp-Stream and mux it directly in an Mp4-Container via Vlc in dummy mode.

Code: Select all

vlc -Idummy udp://@<udp-adress>:<port> --sout=#transcode{vcodec=h264,vb=2000,fps=25,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100} :std{access=file,mux=mp4,dst=C:\rec\videoname.mp4}
Vlc saves something into the file but its not playable by any player.

The strange thing is that it works saving the stream via gui. So whats the difference between gui and cli commands?
(I looked up the gui-command in the log and it looks the same as mine)

I am working on a windows-machine (if this info is important) and i tested vlc-win32 version 0.8.6 , 0.9.9, 1.0.0, 1.1.0 and 1.1.4

Would be nice if somebody can help

Bye
matschkopp

Re: Saving Udp-Stream and Muxing Mp4 in Dummy Mode not worki

Posted: 25 Oct 2010 18:14
by Lotesdelere
Try with "mux=ffmpeg{mux=mp4}" rather than "mux=mp4".

Re: Saving Udp-Stream and Muxing Mp4 in Dummy Mode not worki

Posted: 28 Oct 2010 13:45
by matschkopp
trying with "mux=ffmpeg{mux=mp4}" causes an error:

"track 0: codec frame size is not set"
"[004ea804] avcodec mux error: could not write header"

any suggestions?