-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
live stream example using gstream #619
Comments
Hi, Im trying to do an simple audio example using: #gst-launch-1.0 audiotestsrc ! audioconvert ! autoaudiosink | ./talker eth0 512 attaching to 000bind to iface 0000:01:00.0 On listener i do: local@pt02ipk1:~/jp/OpenAvnu/examples/live_stream$ sudo ./listener eth3 512 gst-launch-1.0 audiotestsrc ! audioconvert ! autoaudiosink Msg: SJO T:S=6805ca5132cd0000,A=91e0f0000e80,V=0000,Z=542,I=1,P=0,L=3900 R=6805ca5132cd VO/IN Msg: SJO L:D=2,S=6805ca5133810000 R=6805ca5132cd VO/IN Msg: SJO D:C=0,P=0,V=0000,N=0 R=6805ca5132cd QA/IN detected domain Class A PRIO=0 VID=0000... Waiting for talker... attaching to 0000:01:00.0 Msg: SJO L:D=2,S=6805ca5133810000 R=6805ca5132cd VO/IN Msg: SJO D:C=0,P=0,V=0000,N=0 R=6805ca5132cd VP/IN Msg: SJO T:S=6805ca5132cd0000,A=91e0f0000e80,V=0000,Z=542,I=1,P=0,L=3900 R=6805ca5132cd VO/IN Msg: SJO L:D=2,S=6805ca5133810000 R=6805ca5132cd VO/IN Msg: SJO D:C=0,P=0,V=0000,N=0 R=6805ca5132cd VP/IN But get stucked on this and dont see packets in wireshark.. Anyhelp? |
Hi folks,
I want to use the talker/listener of live stream to send an audio or video file. im testing with gstream but with not suceed.
Im trying first audio sample with this commands:
gst-launch-1.0 audiotestsrc ! fdsink fd=1 | ./talker eth0 512
and got:
#gst-launch-1.0 audiotestsrc ! fdsink fd=1 | ./talker eth0 512
attaching to 000bind to iface 0000:01:00.0
checking against adapter name 0000:01:00.0
0:01:00.0
FOUND STREAM ID=6805ca5132cd0000 with state ready
detected domain Class A PRIO=0 VID=0000...
ERC MVRP_d from mrpd
advertising stream ...
awaiting a listener ...
FOUND STREAM ID=6805ca5132cd0000 with state ready
added listener
got a listener ...
frame sequence = 0
frame sequence = 1
frame sequence = 2
frame sequence = 3
frame sequence = 4
frame sequence = 5
frame sequence = 6
frame sequence = 7
frame sequence = 8
frame sequence = 9
frame sequence = 10
frame sequence = 11
frame sequence = 12
etc..
In wireshark im seing the packets but are malformed IEC 61883 :(
In listener side i use this:
./listener eth2 512 | gst-launch fdsrc fd=0 ! audioparse ! alsasink
local@pt02ipk1:~/jpereira/OpenAvnu/examples/live_stream$ sudo ./listener eth3 512 | gst-launch fdsrc fd=0 ! audioparse ! alsasink
Msg: D:C=0,P=0,V=0000,N=0 R=6805ca5132cd QA/IN
L:D=2,S=6805ca5132cd0000 R=000000000000 QA/MT
WARNING: erroneous pipeline: no element "audioparse"
Msg: SNE T:S=6805ca5132cd0000,A=91e0f0000e80,V=0000,Z=542,I=1,P=0,L=3900 R=6805ca5132cd VO/IN
Msg: SNE T:S=6805ca5132cd0000,A=91e0f0000e80,V=0000,Z=542,I=1,P=0,L=3900 R=6805ca5132cd VO/IN
Msg: SJO T:S=6805ca5132cd0000,A=91e0f0000e80,V=0000,Z=542,I=1,P=0,L=3900 R=6805ca5132cd VO/IN
Msg: SJO D:C=0,P=0,V=0000,N=0 R=6805ca5132cd QA/IN
Msg: ERC MVRP_d
Msg: SNE L:D=2,S=6805ca5132cd0000 R=000000000000 VN/MT
frame sequence = 0
local@pt02ipk1:~/jp/OpenAvnu/examples/live_stream$
1 - can i substitute audioparse for something ele?
using inspect i got this:
gst-inspect-1.0 | grep "audioparse"
ogg: ogmaudioparse: OGM audio stream parser
audioparsers: aacparse: AAC audio stream parser
audioparsers: amrparse: AMR audio stream parser
audioparsers: ac3parse: AC3 audio stream parser
audioparsers: dcaparse: DTS Coherent Acoustics audio stream parser
audioparsers: flacparse: FLAC audio parser
audioparsers: mpegaudioparse: MPEG1 Audio Parser
audioparsers: sbcparse: SBC audio parser
audioparsers: wavpackparse: Wavpack audio stream parser
i install all the packages bag ugly base for gstreamer..
Regards,
The text was updated successfully, but these errors were encountered: