Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
agetic
librecast
Commits
8568aa7f
Commit
8568aa7f
authored
Sep 21, 2017
by
Carlos Remuzzi
Committed by
Carlos Remuzzi
Dec 07, 2017
Browse files
aplicando color format y removiendo bitrate
parent
229c5ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
librecast
View file @
8568aa7f
...
@@ -61,7 +61,7 @@ invocar_gst() {
...
@@ -61,7 +61,7 @@ invocar_gst() {
if
[
"
$CODEC
"
==
"h264"
]
;
then
if
[
"
$CODEC
"
==
"h264"
]
;
then
echo
"cambiando gst pipe para h264 ..."
echo
"cambiando gst pipe para h264 ..."
video_gst
=
"gst-launch-1.0 ximagesrc use-damage=false
$CROP_STRING_X
$CROP_STRING_Y
! videoconvert ! videoscale ! video/x-raw,width=
$SCREEN_WIDTH
,height=
$SCREEN_HEIGHT
,framerate=24/1 ! vaapih264enc
bitrate=6000
! rtph264pay config-interval=1 pt=96 ! udpsink host=
$AP_ADDRESS
port=1234 sync=false"
video_gst
=
"gst-launch-1.0 ximagesrc use-damage=false
$CROP_STRING_X
$CROP_STRING_Y
! videoconvert ! videoscale ! video/x-raw,
format=I420,
width=
$SCREEN_WIDTH
,height=
$SCREEN_HEIGHT
,framerate=24/1 ! vaapih264enc ! rtph264pay config-interval=1 pt=96 ! udpsink host=
$AP_ADDRESS
port=1234 sync=false"
fi
fi
$video_gst
&
$video_gst
&
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment