Changes between Initial Version and Version 1 of Ticket #15581


Ignore:
Timestamp:
Apr 14, 2020, 10:39:29 PM (13 months ago)
Author:
Enrique Rosas
Comment:

Once I created the two files suggested in the guide (uploaded in this ticket), I ran the ~/bin/stream-desktop with the error message:

...
Opening an input file: :0.0.
:0.0: Invalid argument

Then I found in this forum the suggestion to change the frame size '-s' reducing in -1 height and weidht and use the '$DISPLAY' variable. So I modify the command like that:

-f x11grab -s 1365x767 -show_region 1 -thread_queue_size 32 -video_size "$dimensions" -framerate 30 -i $DISPLAY \

And apparently worked as expected. But then I found a second error I'm not able to solve:

...
Successfully parsed a group of options.
Opening an input file: :0.
[x11grab @ 0x55dad8963d00] Probe buffer size limit of 5000000 bytes reached
[x11grab @ 0x55dad8963d00] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, x11grab, from ':0':
  Duration: N/A, start: 1586917336.845138, bitrate: N/A
    Stream #0:0, 2, 1/1000000: Video: rawvideo, 1 reference frame (BGR[0] / 0x524742), bgr0, 1365x767, 0/1, 30 fps, 1000k tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: input url .
Applying option f (force format) with argument pulse.
Successfully parsed a group of options.
Opening an input file: .
[pulse @ 0x55dad896e400] All info found
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, pulse, from '':
  Duration: N/A, start: 1586917336.885347, bitrate: 1536 kb/s
    Stream #1:0, 1, 1/1000000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Successfully opened the file.
Parsing a group of options: output url .
Applying option f (force format) with argument webm.
Applying option af (set audio filters) with argument aresample=async=1.
Applying option c:a (codec name) with argument libvorbis.
Applying option b:a (video bitrate (please use -b:v)) with argument 96K.
Applying option c:v (codec name) with argument libvpx.
Applying option b:v (video bitrate (please use -b:v)) with argument .
Successfully parsed a group of options.
Opening an output file: .
[file @ 0x55dad898f140] Setting default whitelist 'file,crypto'
: No such file or directory

I don't know if the inscription 'file,crypto' (and then having the command failed), has to do somenthing with the SSL connection to the server, or from where it comes from such attempt.

Would you mind give a hand? It is quite urgent this request as the event is tonight.

Thanks a lot in advance

Enrique

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15581

    • Property Status changed from new to assigned
    • Property Owner set to Jamie McClelland
  • Ticket #15581 – Description

    initial v1  
     1Hi again Jamie
     2
    13In order to do that, I consider using an extra "robot user" in the jitsi room with a dedicated laptop for capturing the desktop as a video source (including the audio too), encoding and packaging to the icecast server by using ffmpeg.
    24
    3 I found this guide and I have tried to follow it, but found some errors. As explained below.
     5I found this guide in our wiki:[https://support.mayfirst.org/wiki/StreamDesktop Streaming what is on your desktop] and I have tried to follow it, but found some errors. As explained below.
    46