Generated H264/AAC files doesn't work in flash player
Posted: 06 Oct 2008 17:39
Hi,
In my application, VLC does transcoding from an MPEG4-SP/alaw real time input source via RTP to generate a H.264/AAC output. I send the output to Wowza Media Server (http://www.wowzamedia.com/) vía RTP module, generating a SDP file, to publish it, and simultaneously to a file (with mp4 container), to save it, using standart module. I also publish SDP vía RTSP to test generated output stream. This is the command to do this:
Using flash player I can connect correctly to the real time stream generated by Wowza (it only does a protocol conversion, rtp->rtmp). However, the generated H264/AAC files doesn't work fine with flash player (audio sounds but any image is rendered). It's seems it's due to a container problem, or related to codification parameters, but the same flow, in real time, is decodec/displayed OK by the player. I also try with FMS and doesn't either work, so I discard the problem could be related to the streaming server.
Could the problem be caused by x264 lib of VLC? flash player limitation playing some H264 videos?
Thanks in advance.
(PS. I'm working under ubuntu server 8.04 in a Intel Quad Core Xeon proccessor)
In my application, VLC does transcoding from an MPEG4-SP/alaw real time input source via RTP to generate a H.264/AAC output. I send the output to Wowza Media Server (http://www.wowzamedia.com/) vía RTP module, generating a SDP file, to publish it, and simultaneously to a file (with mp4 container), to save it, using standart module. I also publish SDP vía RTSP to test generated output stream. This is the command to do this:
Code: Select all
vlc --reset-config -vvv -I dummy -I http --http-host=192.168.1.33:10000 --http-src /opt/vlc/share/vlc/http --file-logging --logfile=/home/vlc/vlc.log rtsp://192.168.1.50/VideoInput/1/mpeg4/1 --sout "#transcode{threads=4,vcodec=h264,vb=768,scale=1,fps=25,deinterlace,acodec=mp4a,ab=64,samplerate=44100,channels=1}:duplicate{dst=std{access=file,mux=mp4,dst=/home/vlc/vlc.mp4},dst=rtp{dst=127.0.0.1,port=10000,port-video=9998,port-audio=9996,sdp=rtsp://10.95.123.103:10000/vlc.sdp,sdp=file://$WOWZADIR/content/vlc.sdp}}"
Could the problem be caused by x264 lib of VLC? flash player limitation playing some H264 videos?
Thanks in advance.
(PS. I'm working under ubuntu server 8.04 in a Intel Quad Core Xeon proccessor)