streaming H.264/G.711/RTP to a video phone

About encoding, codec settings, muxers and filter usage
hpage66
New Cone
New Cone
Posts: 3
Joined: 24 Dec 2008 22:34

streaming H.264/G.711/RTP to a video phone

Postby hpage66 » 24 Dec 2008 23:15

Folks, Need a bit of help here...

On a Windows PC, I'm trying to capture audio/video from a webcam (works great!) and stream it to a VOIP videophone without success. Any ideas?

I try using this command line:

C:\Program Files\VideoLAN\VLC>vlc -vvv --intf rc dshow:// :dshow-vdev="QuickCam
Communicate Deluxe" :dshow-adev="QuickCam Communicate Deluxe Mic" --sout '#trans
code{vcodec=h264,vb=500,scale=1,acodec=law,samplerate=8000,channels=1}:duplicate
{dst=rtp{dst=10.121.136.250,mux=raw,port-audio=4000,port-video=4002}}'

messages are:

[00000395] rc interface: VLC media player - version 0.9.8a Grishenko - (c) 1996-
2008 the VideoLAN team
[00000395] rc interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

Remote control interface initialized. Type `help' for help.
[00000395] main interface debug: using interface module "rc"
[00000395] main interface debug: TIMER module_Need() : 5.000 ms - Total 5.000 ms
/ 1 intvls (Avg 5.000 ms)
[00000395] main interface debug: thread 4848 (interface) created at priority 0 (
interface/interface.c:168)
[00000395] main interface debug: thread started
[00000367] main playlist debug: starting new item
[00000367] main playlist debug: processing request item null node Playlist skip
0
[00000367] main playlist debug: rebuilding array of current - root Playlist
[00000367] main playlist debug: rebuild done - 1 items, index -1
[00000367] main playlist debug: creating new input thread
[00000397] main input debug: Creating an input for 'dshow://'
[00000397] main input debug: waiting for thread initialization
[00000397] main input debug: thread started
[00000398] main stream output debug: using sout chain=`standard{mux="",access="'
#transcode{vcodec=h264,vb=500,scale=1,acodec=law,samplerate=8000,channels=1}",ds
t="duplicate{dst=rtp{dst=10.121.136.250,mux=raw,port-audio=4000,port-video=4002}
}'"}'
[00000397] main input debug: thread 4800 (input) created at priority 1 (input/in
put.c:370)
[00000398] main stream output debug: stream=`standard'
[00000399] main stream out debug: looking for sout stream module: 1 candidate
[00000399] main stream out warning: missing value for option mux
[00000399] main stream out debug: set config option: sout-standard-access to '#t
ranscode{vcodec=h264,vb=500,scale=1,acodec=law,samplerate=8000,channels=1}
[00000399] main stream out debug: set config option: sout-standard-dst to duplic
ate{dst=rtp{dst=10.121.136.250,mux=raw,port-audio=4000,port-video=4002}}'
[00000399] stream_out_standard stream out debug: creating `'#transcode{vcodec=h2
64,vb=500,scale=1,acodec=law,samplerate=8000,channels=1}/(null)://duplicate{dst=
rtp{dst=10.121.136.250,mux=raw,port-audio=4000,port-video=4002}}''
[00000399] stream_out_standard stream out debug: extension is 250,mux=raw,port-a
udio=4000,port-video=4002}}'
[00000399] stream_out_standard stream out debug: extension -> mux=(null)
[00000399] stream_out_standard stream out error: no mux specified or found by ex
tension
[00000399] main stream out warning: no sout stream module matching "standard" co
uld be loaded
[00000399] main stream out debug: TIMER module_Need() : 20.000 ms - Total 20.000
ms / 1 intvls (Avg 20.000 ms)
[00000399] main stream out debug: destroying chain... (name=standard)
[00000399] main stream out debug: destroying chain done
[00000398] main stream output error: stream chain failed for `standard{mux="",ac
cess="'#transcode{vcodec=h264,vb=500,scale=1,acodec=law,samplerate=8000,channels
=1}",dst="duplicate{dst=rtp{dst=10.121.136.250,mux=raw,port-audio=4000,port-vide
o=4002}}'"}'
[00000397] main input error: cannot start stream output instance, aborting
[00000367] main playlist debug: finished input
[00000367] main playlist debug: dying input
[00000367] main playlist debug: dying input
[00000397] main input debug: thread ended
[00000367] main playlist debug: dead input
[00000397] main input debug: thread times: real 0m0.140625s, kernel 0m0.000000s,
user 0m0.000000s
[00000397] main input debug: thread 4800 joined (playlist/engine.c:244)
[00000397] main input debug: TIMER input launching for 'dshow://' : 145.000 ms -
Total 145.000 ms / 1 intvls (Avg 145.000 ms)
[00000367] main playlist debug: starting new item
[00000367] main playlist debug: changing item without a request (current 0/1)
[00000367] main playlist debug: nothing to play


Note this is to a VOIP videophone. Call is setup with SIP while streaming is initiated. TIA.

Howard

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: streaming H.264/G.711/RTP to a video phone

Postby Rémi Denis-Courmont » 26 Dec 2008 19:49

Your chain is invalid. You have a dummy #standard{...} in front of transcode. And then, the audio codec should be alaw or ulaw depending on your locale, rather than law.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hpage66
New Cone
New Cone
Posts: 3
Joined: 24 Dec 2008 22:34

Re: streaming H.264/G.711/RTP to a video phone

Postby hpage66 » 31 Dec 2008 01:41

Thanks for your reply -- the "law" arg was indeed a typo.. In addition, I removed the single quote characters (') since I am using the windows cmd.exe shell (not bash).

Now I try this:

"C:\Program Files\VideoLAN\VLC\vlc" -vvv --intf rc dshow:// :dshow-vdev="QuickCam Communicate Deluxe" :dshow-adev="QuickCam Communicate Deluxe Mic" --sout #transcode{vcodec=h264,vb=500,scale=1,acodec=alaw,samplerate=8000,channels=1}:duplicate{dst=rtp{dst=10.121.136.250,port-audio=4000,port-video=4002}}

The program crashes: An unhandled win32 execption occurred in vlc.exe[641722] (I have VIsual Studio running for another project and this appears in a Visual Studio Just-In-Time Debugger window).

Any ideas? Thanks.

Regards,

Howard

Here is the output:


[00000722] rc interface: VLC media player - version 0.9.8a Grishenko - (c) 1996-
2008 the VideoLAN team
[00000722] rc interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

Remote control interface initialized. Type `help' for help.
[00000722] main interface debug: using interface module "rc"
[00000722] main interface debug: TIMER module_Need() : 6.000 ms - Total 6.000 ms
/ 1 intvls (Avg 6.000 ms)
[00000722] main interface debug: thread 8912 (interface) created at priority 0 (
interface/interface.c:168)
[00000713] main playlist debug: starting new item
[00000713] main playlist debug: processing request item null node Playlist skip
0
[00000713] main playlist debug: rebuilding array of current - root Playlist
[00000713] main playlist debug: rebuild done - 1 items, index -1
[00000722] main interface debug: thread started
[00000713] main playlist debug: creating new input thread
[00000723] main input debug: Creating an input for 'dshow://'
[00000723] main input debug: waiting for thread initialization
[00000723] main input debug: thread started
[00000723] main input debug: thread 8960 (input) created at priority 1 (input/in
put.c:370)
[00000724] main stream output debug: stream=`transcode'
[00000725] main stream out debug: looking for sout stream module: 1 candidate
[00000724] main stream output debug: stream=`duplicate'
[00000727] main stream out debug: looking for sout stream module: 1 candidate
[00000727] stream_out_duplicate stream out debug: creating 'duplicate'
[00000727] stream_out_duplicate stream out debug: * adding `rtp{dst=10.121.136.
250,port-audio=4000,port-video=4002}'
[00000724] main stream output debug: stream=`rtp'
[00000728] main stream out debug: looking for sout stream module: 1 candidate
[00000728] main stream out debug: set config option: sout-rtp-dst to 10.121.136.
250
[00000728] main stream out debug: set config option: sout-rtp-port-audio to 4000

[00000728] main stream out debug: set config option: sout-rtp-port-video to 4002

[00000728] main stream out debug: using sout stream module "stream_out_rtp"
[00000728] main stream out debug: TIMER module_Need() : 12.000 ms - Total 12.000
ms / 1 intvls (Avg 12.000 ms)
[00000727] main stream out debug: using sout stream module "stream_out_duplicate
"
[00000727] main stream out debug: TIMER module_Need() : 17.000 ms - Total 17.000
ms / 1 intvls (Avg 17.000 ms)
[00000725] main stream out debug: set config option: sout-transcode-vcodec to h2
64
[00000725] main stream out debug: set config option: sout-transcode-vb to 500
[00000725] main stream out debug: set config option: sout-transcode-scale to 1
[00000725] main stream out debug: set config option: sout-transcode-acodec to al
aw
[00000725] main stream out debug: set config option: sout-transcode-samplerate t
o 8000
[00000725] main stream out debug: set config option: sout-transcode-channels to
1
[00000725] stream_out_transcode stream out debug: codec audio=alaw 8000Hz 1 chan
nels 0Kb/s
[00000725] stream_out_transcode stream out debug: codec video=h264 0x0 scaling:
1.000000 500kb/s
[00000725] main stream out debug: using sout stream module "stream_out_transcode
"
[00000725] main stream out debug: TIMER module_Need() : 39.000 ms - Total 39.000
ms / 1 intvls (Avg 39.000 ms)
[00000723] main input debug: `dshow://' gives access `dshow' demux `' path `'
[00000723] main input debug: creating demux: access='dshow' demux='' path=''
[00000729] main demux debug: looking for access_demux module: 1 candidate
[00000729] dshow demux debug: found device: QuickCam Communicate Deluxe
[00000729] dshow demux debug: using device: QuickCam Communicate Deluxe
[00000729] dshow demux debug: EnumDeviceCaps: output pin: Capture
[00000729] dshow demux debug: EnumDeviceCaps: input pin: Video Camera Terminal
[00000729] dshow demux debug: EnumDeviceCaps: output pin: Still
[00000729] dshow demux debug: EnumDeviceCaps: trying pin Capture
[00000729] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: I420, wi
dth:1280, height:1024, fps:15.000015
[00000729] dshow demux debug: CaptureFilter::JoinFilterGraph
[00000729] dshow demux debug: connecting filters
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::ConnectedTo [not connected]
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::QueryFilterInfo
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryAccept [OK] (width=1280, height=1
024, chroma=I420, fps=15.000015)
[00000729] dshow demux debug: CapturePin::ReceiveConnection [OK]
[00000729] dshow demux debug: CapturePin::NotifyAllocator
[00000729] dshow demux debug: filters connected successfully !
[00000729] dshow demux debug: MEDIATYPE_Video
[00000729] dshow demux debug: selected video pin accepts format: I420
[00000729] dshow demux debug: found device: QuickCam Communicate Deluxe Mic
[00000729] dshow demux debug: found device: SoundMAX HD Audio I
[00000729] dshow demux debug: using device: QuickCam Communicate Deluxe Mic
[00000729] dshow demux debug: EnumDeviceCaps: output pin: Capture
[00000729] dshow demux debug: EnumDeviceCaps: input pin: Microphone
[00000729] dshow demux debug: EnumDeviceCaps: trying pin Capture
[00000729] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:44100 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:44100 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:44100 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:32000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:32000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:22050 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:22050 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:11025 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:11025 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:8000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:8000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:44100 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:44100 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:22050 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:22050 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:11025 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:11025 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:8000 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:8000 bits/sample:8
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:48000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:48000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:96000 bits/sample:16
[00000729] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:96000 bits/sample:16
[00000729] dshow demux debug: CaptureFilter::JoinFilterGraph
[00000729] dshow demux debug: connecting filters
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::ConnectedTo [not connected]
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::QueryFilterInfo
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryAccept [OK] (channels=2, samples/
sec=44100, bits/samples=16, format=araw)
[00000729] dshow demux debug: CapturePin::ReceiveConnection [OK]
[00000729] dshow demux debug: CapturePin::NotifyAllocator
[00000729] dshow demux debug: filters connected successfully !
[00000729] dshow demux debug: MEDIATYPE_Audio
[00000729] dshow demux debug: selected audio pin accepts format: araw
[00000729] dshow demux debug: Playing...
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::QueryPinInfo
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::ConnectedTo [OK]
[00000729] dshow demux debug: CaptureFilter::EnumPins
[00000729] dshow demux debug: CapturePin::QueryDirection
[00000729] dshow demux debug: CapturePin::ConnectedTo [OK]
[00000729] dshow demux debug: CaptureFilter::SetSyncSource
[00000729] dshow demux debug: CaptureFilter::SetSyncSource
[00000729] dshow demux debug: CaptureFilter::Pause
[00000729] dshow demux debug: CaptureFilter::Pause
[00000729] dshow demux debug: CaptureFilter::Stop
[00000729] dshow demux debug: CapturePin::EndFlush
[00000729] dshow demux debug: CaptureFilter::Stop
[00000729] dshow demux debug: CapturePin::EndFlush
[00000723] main input debug: selecting program id=0
[00000729] main demux debug: using access_demux module "dshow"
[00000729] main demux debug: TIMER module_Need() : 520.000 ms - Total 520.000 ms
/ 1 intvls (Avg 520.000 ms)
[00000723] main input debug: looking for a subtitle file in C:\Documents and Set
tings\Preferred Customer\
[00000730] main packetizer debug: looking for packetizer module: 18 candidates
[00000730] main packetizer debug: using packetizer module "rawvideo"
[00000730] main packetizer debug: TIMER module_Need() : 1.000 ms - Total 1.000 m
s / 1 intvls (Avg 1.000 ms)
[00000730] main packetizer debug: thread 10280 (decoder) created at priority 0 (
input/decoder.c:217)
[00000731] main packetizer debug: looking for packetizer module: 18 candidates
[00000731] main packetizer debug: using packetizer module "packetizer_copy"
[00000731] main packetizer debug: TIMER module_Need() : 2.000 ms - Total 2.000 m
s / 1 intvls (Avg 2.000 ms)
[00000730] main packetizer debug: thread started
[00000731] main packetizer debug: thread 10252 (decoder) created at priority 2 (
input/decoder.c:217)
[00000731] main packetizer debug: thread started
[00000723] main input debug: starting in async mode
[00000723] main input debug: `dshow://' successfully opened
[00000723] main input debug: control type=1


*** the end ***

hpage66
New Cone
New Cone
Posts: 3
Joined: 24 Dec 2008 22:34

Re: streaming H.264/G.711/RTP to a video phone

Postby hpage66 » 31 Dec 2008 02:11

Just tried a slightly modified command line

"C:\Program Files\VideoLAN\VLC\vlc" -vvv --intf rc dshow:// :dshow-vdev="QuickCam Communicate Deluxe" :dshow-adev="QuickCam Communicate Deluxe Mic" --sout "#transcode{vcodec=h264,vb=500,scale=1,acodec=alaw,samplerate=8000,channels=1}:rtp{dst=10.121.136.250,port-audio=4000,po
rt-video=4002}"

(note double quotes around --sout arguments)

This crashes as before: An unhandled win32 exception occurred in vlc.exe [1014792], however output continues to be displayed (see end of log below).

ANy ideas? Thanks.

Howard

[00000722] rc interface: VLC media player - version 0.9.8a Grishenko - (c) 1996-
2008 the VideoLAN team
[00000722] rc interface:
Warning: if you can't access the GUI anymore, open a command-line window, go to
the directory where you installed VLC and run "vlc -I qt"

Remote control interface initialized. Type `help' for help.
[00000722] main interface debug: using interface module "rc"
[00000722] main interface debug: TIMER module_Need() : 35.000 ms - Total 35.000
ms / 1 intvls (Avg 35.000 ms)
[00000722] main interface debug: thread 8912 (interface) created at priority 0 (
interface/interface.c:168)
[00000713] main playlist debug: rebuilding array of current - root Playlist
[00000713] main playlist debug: rebuild done - 1 items, index -1
[00000713] main playlist debug: starting new item
[00000713] main playlist debug: processing request item null node Playlist skip
0
[00000713] main playlist debug: creating new input thread
[00000723] main input debug: Creating an input for 'dshow://'
[00000722] main interface debug: thread started
[00000723] main input debug: waiting for thread initialization
[00000723] main input debug: thread started
[00000724] main stream output debug: stream=`transcode'
[00000723] main input debug: thread 8956 (input) created at priority 1 (input/in
put.c:370)
[00000725] main stream out debug: looking for sout stream module: 1 candidate
[00000724] main stream output debug: stream=`rtp'
[00000727] main stream out debug: looking for sout stream module: 1 candidate
[00000727] main stream out debug: set config option: sout-rtp-dst to 10.121.136.
250
[00000727] main stream out debug: set config option: sout-rtp-port-audio to 4000

[00000727] main stream out debug: set config option: sout-rtp-port-video to 4002

[00000727] main stream out debug: using sout stream module "stream_out_rtp"
[00000727] main stream out debug: TIMER module_Need() : 12.000 ms - Total 12.000
ms / 1 intvls (Avg 12.000 ms)
[00000725] main stream out debug: set config option: sout-transcode-vcodec to h2
64
[00000725] main stream out debug: set config option: sout-transcode-vb to 500
[00000725] main stream out debug: set config option: sout-transcode-scale to 1
[00000725] main stream out debug: set config option: sout-transcode-acodec to al
aw
[00000725] main stream out debug: set config option: sout-transcode-samplerate t
o 8000
[00000725] main stream out debug: set config option: sout-transcode-channels to
1
[00000725] stream_out_transcode stream out debug: codec audio=alaw 8000Hz 1 chan
nels 0Kb/s
[00000725] stream_out_transcode stream out debug: codec video=h264 0x0 scaling:
1.000000 500kb/s
[00000725] main stream out debug: using sout stream module "stream_out_transcode
"
[00000725] main stream out debug: TIMER module_Need() : 32.000 ms - Total 32.000
ms / 1 intvls (Avg 32.000 ms)
[00000723] main input debug: `dshow://' gives access `dshow' demux `' path `'
[00000723] main input debug: creating demux: access='dshow' demux='' path=''
[00000728] main demux debug: looking for access_demux module: 1 candidate
[00000728] dshow demux debug: found device: QuickCam Communicate Deluxe
[00000728] dshow demux debug: using device: QuickCam Communicate Deluxe
[00000728] dshow demux debug: EnumDeviceCaps: output pin: Capture
[00000728] dshow demux debug: EnumDeviceCaps: input pin: Video Camera Terminal
[00000728] dshow demux debug: EnumDeviceCaps: output pin: Still
[00000728] dshow demux debug: EnumDeviceCaps: trying pin Capture
[00000728] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: I420, wi
dth:1280, height:1024, fps:15.000015
[00000728] dshow demux debug: CaptureFilter::JoinFilterGraph
[00000728] dshow demux debug: connecting filters
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::ConnectedTo [not connected]
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::QueryFilterInfo
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryAccept [OK] (width=1280, height=1
024, chroma=I420, fps=15.000015)
[00000728] dshow demux debug: CapturePin::ReceiveConnection [OK]
[00000728] dshow demux debug: CapturePin::NotifyAllocator
[00000728] dshow demux debug: filters connected successfully !
[00000728] dshow demux debug: MEDIATYPE_Video
[00000728] dshow demux debug: selected video pin accepts format: I420
[00000728] dshow demux debug: found device: QuickCam Communicate Deluxe Mic
[00000728] dshow demux debug: found device: SoundMAX HD Audio I
[00000728] dshow demux debug: using device: QuickCam Communicate Deluxe Mic
[00000728] dshow demux debug: EnumDeviceCaps: output pin: Capture
[00000728] dshow demux debug: EnumDeviceCaps: input pin: Microphone
[00000728] dshow demux debug: EnumDeviceCaps: trying pin Capture
[00000728] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:44100 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:44100 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:44100 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:32000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:32000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:22050 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:22050 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:11025 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:11025 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:8000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:8000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:44100 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:44100 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:22050 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:22050 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:11025 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:11025 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:8000 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:8000 bits/sample:8
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:48000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:48000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:96000 bits/sample:16
[00000728] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:1, samples/sec:96000 bits/sample:16
[00000728] dshow demux debug: CaptureFilter::JoinFilterGraph
[00000728] dshow demux debug: connecting filters
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::ConnectedTo [not connected]
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::QueryFilterInfo
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryAccept [OK] (channels=2, samples/
sec=44100, bits/samples=16, format=araw)
[00000728] dshow demux debug: CapturePin::ReceiveConnection [OK]
[00000728] dshow demux debug: CapturePin::NotifyAllocator
[00000728] dshow demux debug: filters connected successfully !
[00000728] dshow demux debug: MEDIATYPE_Audio
[00000728] dshow demux debug: selected audio pin accepts format: araw
[00000728] dshow demux debug: Playing...
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::QueryPinInfo
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::ConnectedTo [OK]
[00000728] dshow demux debug: CaptureFilter::EnumPins
[00000728] dshow demux debug: CapturePin::QueryDirection
[00000728] dshow demux debug: CapturePin::ConnectedTo [OK]
[00000728] dshow demux debug: CaptureFilter::SetSyncSource
[00000728] dshow demux debug: CaptureFilter::SetSyncSource
[00000728] dshow demux debug: CaptureFilter::Pause
[00000728] dshow demux debug: CaptureFilter::Pause
[00000728] dshow demux debug: CaptureFilter::Run
[00000728] dshow demux debug: CaptureFilter::Run
[00000723] main input debug: selecting program id=0
[00000728] main demux debug: using access_demux module "dshow"
[00000728] main demux debug: TIMER module_Need() : 26004.001 ms - Total 26004.00
1 ms / 1 intvls (Avg 26004.000 ms)
[00000723] main input debug: looking for a subtitle file in C:\Documents and Set
tings\Preferred Customer\
[00000729] main packetizer debug: looking for packetizer module: 18 candidates
[00000729] main packetizer debug: using packetizer module "rawvideo"
[00000729] main packetizer debug: TIMER module_Need() : 2.000 ms - Total 2.000 m
s / 1 intvls (Avg 2.000 ms)
[00000729] main packetizer debug: thread 10468 (decoder) created at priority 0 (
input/decoder.c:217)
[00000730] main packetizer debug: looking for packetizer module: 18 candidates
[00000730] main packetizer debug: using packetizer module "packetizer_copy"
[00000730] main packetizer debug: TIMER module_Need() : 2.000 ms - Total 2.000 m
s / 1 intvls (Avg 2.000 ms)
[00000730] main packetizer debug: thread 10544 (decoder) created at priority 2 (
input/decoder.c:217)
[00000723] main input debug: starting in async mode
[00000730] main packetizer debug: thread started
[00000723] main input debug: `dshow://' successfully opened
[00000730] packetizer_copy packetizer debug: need dts > 0
[00000723] main input debug: control type=1
[00000724] main stream output debug: adding a new sout input (sout_input:00D90B5
0)
[00000725] stream_out_transcode stream out debug: creating audio transcoding fro
m fcc=`s16l' to fcc=`alaw'
[00000731] main decoder debug: looking for decoder module: 34 candidates
[00000731] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16
[00000731] main decoder debug: using decoder module "araw"
[00000731] main decoder debug: TIMER module_Need() : 8.000 ms - Total 8.000 ms /
1 intvls (Avg 8.000 ms)
[00000732] main encoder debug: looking for encoder module: 11 candidates
[00000732] araw encoder debug: samplerate:8000Hz channels:1 bits/sample:8
[00000732] main encoder debug: using encoder module "araw"
[00000732] main encoder debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms /
1 intvls (Avg 1.000 ms)
[00000733] main filter debug: looking for audio filter2 module: 8 candidates
[00000733] audio_format filter debug: s16l->fl32, bits per sample: 16->32
[00000733] main filter debug: using audio filter2 module "audio_format"
[00000733] main filter debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms /
1 intvls (Avg 2.000 ms)
[00000725] main stream out debug: Filter 'audio_format' (00D981F8) appended to c
hain
[00000725] stream_out_transcode stream out debug: Looking for filter (fl32->s16l
, channels 2->1, rate 44100->44100)
[00000734] main filter debug: looking for audio filter2 module: 8 candidates
[00000734] audio_format filter debug: fl32->s16l, bits per sample: 32->16
[00000734] main filter debug: using audio filter2 module "audio_format"
[00000734] main filter debug: TIMER module_Need() : 2.000 ms - Total 2.000 ms /
1 intvls (Avg 2.000 ms)
[00000725] main stream out debug: Filter 'audio_format' (00D99220) appended to c
hain
[00000725] stream_out_transcode stream out debug: Looking for filter (s16l->s16l
, channels 2->1, rate 44100->44100)
[00000735] main filter debug: looking for audio filter2 module: 8 candidates
[00000735] mono filter debug: using stereo to mono downmix
[00000735] mono filter debug: s16l->s16l, channels 6->1, bits per sample: 16->16

[00000735] main filter debug: using audio filter2 module "mono"
[00000735] main filter debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms /
1 intvls (Avg 3.000 ms)
[00000725] main stream out debug: Filter 'mono' (00D91738) appended to chain
[00000727] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes
[00000727] main stream out debug: net: connecting to [10.121.136.250]:4000
[00000729] main packetizer debug: thread started
[00000724] main stream output debug: adding a new sout input (sout_input:00D98F3
8)
[00000727] main stream out debug: net: connecting to [10.121.136.250]:4001 from
[10.121.136.253]:1467
[00000736] main generic debug: thread 10688 (RTP send thread) created at priorit
y 15 (rtp.c:1235)
[00000736] main generic debug: thread started
[00000727] stream_out_rtp stream out debug: sdp=
v=0
o=- 14773289834076176384 14773289834076176384 IN IP4 preferre-3dc10b
s=Unnamed
i=N/A
c=IN IP4 10.121.136.250
t=0 0
a=tool:vlc 0.9.8a
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 4000 RTP/AVP 8
b=AS:705
b=RR:0
a=rtpmap:8 PCMA/8000

[00000725] stream_out_transcode stream out debug: creating video transcoding fro
m fcc=`I420' to fcc=`h264'
[00000737] main decoder debug: looking for decoder module: 34 candidates
[00000737] kate decoder debug: kate: OpenDecoder
[00000737] main decoder debug: using decoder module "rawvideo"
[00000737] main decoder debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms /
1 intvls (Avg 4.000 ms)
[00000738] main encoder debug: looking for encoder module: 11 candidates
[00000738] x264 encoder debug: version x264 0.65.X
[00000723] main input warning: clock gap, unexpected stream discontinuity
[00000723] main input warning: feeding synchro with a new reference point trying
to recover from clock gap
x264 [info]: using threads=1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 5.1
[00000738] main encoder debug: using encoder module "x264"
[00000738] main encoder debug: TIMER module_Need() : 270.000 ms - Total 270.000
ms / 1 intvls (Avg 270.000 ms)
[00000738] main encoder debug: removing module "x264"
[00000730] main packetizer debug: switching to sync mode
[00000725] stream_out_transcode stream out debug: late picture skipped (12322)
[00000725] stream_out_transcode stream out debug: decoder aspect is 576000:43200
0
[00000725] stream_out_transcode stream out debug: source pixel aspect is 1.06666
7:1
[00000725] stream_out_transcode stream out debug: scaled pixel aspect is 1.06666
7:1
[00000725] stream_out_transcode stream out debug: source 1280x1024, destination
1280x1024
[00000725] stream_out_transcode stream out debug: encoder aspect is 576000:43200
0
[00000725] stream_out_transcode stream out debug: destination (after video filte
rs) 1280x1024
[00000738] main encoder debug: looking for encoder module: 11 candidates
[00000738] x264 encoder debug: version x264 0.65.X
x264 [info]: using threads=1
x264 [info]: using SAR=16/15
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
x264 [info]: profile Main, level 5.1
[00000738] main encoder debug: using encoder module "x264"
[00000738] main encoder debug: TIMER module_Need() : 18.000 ms - Total 18.000 ms
/ 1 intvls (Avg 18.000 ms)
[00000727] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes
[00000727] main stream out debug: net: connecting to [10.121.136.250]:4002
[00000727] main stream out debug: net: connecting to [10.121.136.250]:4003 from
[10.121.136.253]:1469
[00000727] stream_out_rtp stream out debug: we found a startcode for NAL with TY
PE:6
[00000727] stream_out_rtp stream out debug: we found a startcode for NAL with TY
PE:7
[00000727] stream_out_rtp stream out debug: we found a startcode for NAL with TY
PE:8
[00000739] main generic debug: thread started
[00000739] main generic debug: thread 10812 (RTP send thread) created at priorit
y 15 (rtp.c:1235)
[00000727] stream_out_rtp stream out debug: sdp=
v=0
o=- 14773289835888115712 14773289835888115712 IN IP4 preferre-3dc10b
s=Unnamed
i=N/A
c=IN IP4 10.121.136.250
t=0 0
a=tool:vlc 0.9.8a
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 4000 RTP/AVP 8
b=AS:705
b=RR:0
a=rtpmap:8 PCMA/8000
m=video 4002 RTP/AVP 96
b=AS:500
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01A
M5p0AoAQN/4AIAAeIAAAAwAgAAAGUeMGVA==,aO48gA==;

[00000729] main packetizer warning: decoder/packetizer fifo full (data not consu
med quickly enough), resetting fifo!
[00000729] main packetizer warning: decoder/packetizer fifo full (data not consu
med quickly enough), resetting fifo!
[00000729] main packetizer warning: decoder/packetizer fifo full (data not consu
med quickly enough), resetting fifo!

(note this line, "main packetizer warning: decoder/packetizer.." continues to be displayed, approx once per second)

Rémi Denis-Courmont
Developer
Developer
Posts: 15228
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: streaming H.264/G.711/RTP to a video phone

Postby Rémi Denis-Courmont » 02 Jan 2009 11:37

Sounds like a problem with the pretty much unmaintained Windows port.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

silvara
Blank Cone
Blank Cone
Posts: 29
Joined: 03 Jul 2008 10:52

Re: streaming H.264/G.711/RTP to a video phone

Postby silvara » 19 Jan 2009 14:42

i have similar problems.. did you able to succed it ?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests