There is a problem - I have only audio, but no video while streaming .mkv by rtp.
There are no any problems with streaming .avi, .mpeg4 and others. But there is a problem with streaming .mkv.
I have tried different versions of VLC. Now I`m using VLC version 1.1.0 (because I have tried to stream .mkv from Windows client with this version and I have got a good result). I tried VLC versions 1.1.12, 1.2.0 (before setup 1.1.0 version on my server).
The server is Debian.
uname - a
Code: Select all
Linux video 2.6.32-5-amd64 #1 SMP Mon Oct 3 03:59:20 UTC 2011 x86_64 GNU/Linux
Code: Select all
cvlc -vvv /home/vlc/formula.mkv --sout '#transcode{vcodec=h264,vb=3000,fps=25,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=48000,width=704,height=576}:rtp{sdp=rtsp://10.1.2.79:8554/stream}'
On the client machine I start VLC with:
Code: Select all
rtsp://10.1.2.79:8554/stream
vlc -l
Code: Select all
VLC media player 1.1.0
packetizer_mpeg4video
packetizer_h264
packetizer_mpeg4audio
x264
..........
Code: Select all
ffmpeg version 0.7.6, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 21 2011 19:01:56 with gcc 4.4.5
configuration: --enable-shared --enable-nonfree --enable-gpl --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libgsm
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
Does anyone solved this problem??
Thanks for any help!