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

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 25 Oct 2010 16:57

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

Lotesdelere
Cone Master
Cone Master
Posts: 10115
Joined: 08 Sep 2006 04:39
Location: Europe

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

Postby Lotesdelere » 25 Oct 2010 18:14

Try with "mux=ffmpeg{mux=mp4}" rather than "mux=mp4".

matschkopp
New Cone
New Cone
Posts: 8
Joined: 25 Oct 2010 16:31

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

Postby matschkopp » 28 Oct 2010 13:45

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?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 45 guests