Recherche avancée

Médias (91)

Autres articles (44)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4238)

  • ffmpeg how to encode first then use it for another output

    10 août 2017, par mahdi gh

    I’m trying to capture screen with gdigrab and combine int with a sound and then send it on my decklink sdi device.

    here is my code to capture :

    ffmpeg -framerate 25 -thread_queue_size 512 -f gdigrab -i title="Play" -f dshow -i audio="CABLE Output (VB-Audio Virtual Cable)" -af aresample=resampler=soxr -ar 48000 -acodec pcm_s16le -ac 2 -c:v libx264 -qp 0 -preset ultrafast "output.avi"

    here is my code for output to ffmpeg :

    ffmpeg -i output.avi -f decklink -pix_fmt uyvy422 "DeckLink SDI (2)"

    this way it works, but when I combine these two arguments to send the output to decklink card on the fly, ffmpeg stops working. here is the combination code :

    ffmpeg -framerate 25 -thread_queue_size 512 -f gdigrab -i title="Play" -f dshow -i audio="CABLE Output (VB-Audio Virtual Cable)" -af aresample=resampler=soxr -ar 48000 -acodec pcm_s16le -ac 2  -f decklink -pix_fmt uyvy422 "DeckLink SDI (2)"

    I have tried so many different combinations but no luck. it works only if i store it on a file then use that file as input. Is there a way to tell ffmpeg to use the result of first command as input of second command ?

    Thanks

    Update :
    Here is log report :

       ffmpeg started on 2017-08-08 at 12:26:36
    Report written to "ffmpeg-20170808-122636.log"
    Command line:
    ffmpeg -framerate 25 -thread_queue_size 512 -f gdigrab -i "title=Play" -c:v rawvideo -f dshow -i "audio=CABLE Output (VB-Audio Virtual Cable)" -af "aresample=resampler=soxr" -ar 48000 -acodec pcm_s16le -ac 2 -map 0:v:0 -map 1:a:0 -f decklink -pix_fmt uyvy422 "DeckLink SDI (2)" -report
    ffmpeg version N-71608-ga924b83 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 23.101 / 54. 23.101
     libavcodec     56. 35.101 / 56. 35.101
     libavformat    56. 30.100 / 56. 30.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 14.100 /  5. 14.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Splitting the commandline.
    Reading option '-framerate' ... matched as AVOption 'framerate' with argument '25'.
    Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'gdigrab'.
    Reading option '-i' ... matched as input file with argument 'title=Play'.
    Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'rawvideo'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'dshow'.
    Reading option '-i' ... matched as input file with argument 'audio=CABLE Output (VB-Audio Virtual Cable)'.
    Reading option '-af' ... matched as option 'af' (set audio filters) with argument 'aresample=resampler=soxr'.
    Reading option '-ar' ... matched as option 'ar' (set audio sampling rate (in Hz)) with argument '48000'.
    Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'pcm_s16le'.
    Reading option '-ac' ... matched as option 'ac' (set number of audio channels) with argument '2'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:v:0'.
    Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1:a:0'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'decklink'.
    Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'uyvy422'.
    Reading option 'DeckLink SDI (2)' ... matched as output file.
    Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option report (generate a report) with argument 1.
    Successfully parsed a group of options.
    Parsing a group of options: input file title=Play.
    Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512.
    Applying option f (force format) with argument gdigrab.
    Successfully parsed a group of options.
    Opening an input file: title=Play.
    [gdigrab @ 0000000002d3f2a0] Found window Play, capturing 720x576x32 at (0,0)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (588,602) -> (-271,597)
    [gdigrab @ 0000000002d3f2a0] All info found
    Input #0, gdigrab, from 'title=Play':
     Duration: N/A, start: 1502178996.958615, bitrate: 331786 kb/s
       Stream #0:0, 1, 1/1000000: Video: bmp, bgra, 720x576, 331786 kb/s, 25 tbr, 1000k tbn, 25 tbc
    Successfully opened the file.
    Parsing a group of options: input file audio=CABLE Output (VB-Audio Virtual Cable).
    Applying option c:v (codec name) with argument rawvideo.
    Applying option f (force format) with argument dshow.
    Successfully parsed a group of options.
    Opening an input file: audio=CABLE Output (VB-Audio Virtual Cable).
    [dshow @ 0000000002d3c340] Selecting pin Capture on audio only
    dshow passing through packet of type audio size  88200 timestamp 111632750000 orig timestamp 111632750000
    [dshow @ 0000000002d3c340] All info found
    Guessed Channel Layout for  Input Stream #1.0 : stereo
    Input #1, dshow, from 'audio=CABLE Output (VB-Audio Virtual Cable)':
     Duration: N/A, start: 11163.275000, bitrate: 1411 kb/s
       Stream #1:0, 1, 1/10000000: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
    Successfully opened the file.
    Parsing a group of options: output file DeckLink SDI (2).
    Applying option af (set audio filters) with argument aresample=resampler=soxr.
    Applying option ar (set audio sampling rate (in Hz)) with argument 48000.
    Applying option acodec (force audio codec ('copy' to copy stream)) with argument pcm_s16le.
    Applying option ac (set number of audio channels) with argument 2.
    Applying option map (set input stream mapping) with argument 0:v:0.
    Applying option map (set input stream mapping) with argument 1:a:0.
    Applying option f (force format) with argument decklink.
    Applying option pix_fmt (set pixel format) with argument uyvy422.
    Successfully parsed a group of options.
    Opening an output file: DeckLink SDI (2).
    Successfully opened the file.
    detected 2 logical cores
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] Setting 'video_size' to value '720x576'
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] Setting 'pix_fmt' to value '30'
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] Setting 'time_base' to value '1/1000000'
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] Setting 'pixel_aspect' to value '0/1'
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] Setting 'frame_rate' to value '25/1'
    [graph 0 input from stream 0:0 @ 0000000002dd7ea0] w:720 h:576 pixfmt:bgra tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2
    [format @ 0000000002d3df00] compat: called with args=[uyvy422]
    [format @ 0000000002d3df00] Setting 'pix_fmts' to value 'uyvy422'
    [auto-inserted scaler 0 @ 0000000002d44ca0] Setting 'flags' to value '0x4'
    [auto-inserted scaler 0 @ 0000000002d44ca0] w:iw h:ih flags:'0x4' interl:0
    [format @ 0000000002d3df00] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format'
    [AVFilterGraph @ 0000000002e586c0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed
    [auto-inserted scaler 0 @ 0000000002d44ca0] w:720 h:576 fmt:bgra sar:0/1 -> w:720 h:576 fmt:uyvy422 sar:0/1 flags:0x4
    [Parsed_aresample_0 @ 0000000002d513a0] Setting 'resampler' to value 'soxr'
    [graph 1 input from stream 1:0 @ 0000000002d51460] Setting 'time_base' to value '1/44100'
    [graph 1 input from stream 1:0 @ 0000000002d51460] Setting 'sample_rate' to value '44100'
    [graph 1 input from stream 1:0 @ 0000000002d51460] Setting 'sample_fmt' to value 's16'
    [graph 1 input from stream 1:0 @ 0000000002d51460] Setting 'channel_layout' to value '0x3'
    [graph 1 input from stream 1:0 @ 0000000002d51460] tb:1/44100 samplefmt:s16 samplerate:44100 chlayout:0x3
    [audio format for output stream 0:1 @ 0000000002d51520] Setting 'sample_fmts' to value 's16'
    [audio format for output stream 0:1 @ 0000000002d51520] Setting 'sample_rates' to value '48000'
    [audio format for output stream 0:1 @ 0000000002d51520] Setting 'channel_layouts' to value '0x3'
    [AVFilterGraph @ 0000000002d4d0c0] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
    [Parsed_aresample_0 @ 0000000002d513a0] ch:2 chl:stereo fmt:s16 r:44100Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
    dshow passing through packet of type audio size  88200 timestamp 111637810000 orig timestamp 111637810000
    [decklink @ 0000000002dd6a00] Found Decklink mode 720 x 576 with rate 25.00(i)
    Output #0, decklink, to 'DeckLink SDI (2)':
     Metadata:
       encoder         : Lavf56.30.100
       Stream #0:0, 0, 1/25: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x576, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
       Metadata:
         encoder         : Lavc56.35.101 rawvideo
       Stream #0:1, 0, 1/48000: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
       Metadata:
         encoder         : Lavc56.35.101 pcm_s16le
    Stream mapping:
     Stream #0:0 -> #0:0 (bmp (native) -> rawvideo (native))
     Stream #1:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
    Press [q] to stop, [?] for help
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    Cliping frame in rate conversion by 0.000008
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Encoder did not produce proper pts, making some up.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    *** 40 dup!
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 1.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 2.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 3.
    [decklink @ 0000000002dd6a00] Buffered video frames: 4.
    [decklink @ 0000000002dd6a00] Buffered video frames: 5.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 6.
    [decklink @ 0000000002dd6a00] Buffered video frames: 7.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 8.
    [decklink @ 0000000002dd6a00] Buffered video frames: 9.
    [decklink @ 0000000002dd6a00] Buffered video frames: 10.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 11.
    [decklink @ 0000000002dd6a00] Buffered video frames: 12.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 13.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    dshow passing through packet of type audio size  88200 timestamp 111642810000 orig timestamp 111642810000
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 14.
    [decklink @ 0000000002dd6a00] Ending audio preroll.
    [decklink @ 0000000002dd6a00] Starting scheduled playback.
    [decklink @ 0000000002dd6a00] Buffered video frames: 15.
    [decklink @ 0000000002dd6a00] Buffered video frames: 16.
    [decklink @ 0000000002dd6a00] Buffered video frames: 17.
    [decklink @ 0000000002dd6a00] Buffered video frames: 18.
    [decklink @ 0000000002dd6a00] Buffered video frames: 19.
    [decklink @ 0000000002dd6a00] Buffered video frames: 20.
    [decklink @ 0000000002dd6a00] Buffered video frames: 21.
    [decklink @ 0000000002dd6a00] Buffered video frames: 22.
    [decklink @ 0000000002dd6a00] Buffered video frames: 23.
    [decklink @ 0000000002dd6a00] Buffered video frames: 24.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [decklink @ 0000000002dd6a00] Buffered video frames: 24.
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    frame=   42 fps=0.0 q=0.0 size=N/A time=00:00:01.68 bitrate=N/A dup=40 drop=0    
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    dshow passing through packet of type audio size  88200 timestamp 111647710000 orig timestamp 111647710000
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (689,472) -> (-170,467)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (814,496) -> (-45,491)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (814,496) -> (-45,491)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (811,497) -> (-48,492)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (811,497) -> (-48,492)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (811,497) -> (-48,492)
    [gdigrab @ 0000000002d3f2a0] Cursor pos (806,497) -> (-53,492)
  • Why X.Org's X Server has stopped working on Google Colab ?

    20 février 2021, par Rahul

    I am Using X server for the virtual screen on Google Colab and capturing that screen with ffmpeg to record it and live stream it to twitch. (for the reinforcement learning project)

    


    


    The above process was completely working till my last use of my Colab notebook (on mid-January 2021), but now (on 19th February 2021) I am using the same notebook and the streaming code has stopped working.

    


    


    I am adding config and log file data below. (I have never seen these files before because it was working, now it's not so I don't have any idea what wrong)

    


    The config file stored at /etc/X11/xorg.conf have the following data :

    


    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 418.67

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/mouse"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Tesla T4"
    BusID          "PCI:0:4:0"
    MatchSeat      "seat-1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "AllowEmptyInitialConfiguration" "True"
    SubSection     "Display"
        Virtual     1920 1080
        Depth       24
    EndSubSection
EndSection


    


    The log file stored at /var/log/Xorg.0.log have the following data :

    


    [   464.605] 
X.Org X Server 1.19.6
Release Date: 2017-12-20
[   464.605] X Protocol Version 11, Revision 0
[   464.605] Build Operating System: Linux 4.15.0-124-generic x86_64 Ubuntu
[   464.605] Current Operating System: Linux 9d3fe3949671 4.19.112+ #1 SMP Thu Jul 23 08:00:38 PDT 2020 x86_64
[   464.605] Kernel command line: BOOT_IMAGE=/syslinux/vmlinuz.A init=/usr/lib/systemd/systemd boot=local rootwait ro noresume noswap loglevel=7 noinitrd console=ttyS0 security=apparmor virtio_net.napi_tx=1 systemd.unified_cgroup_hierarchy=false systemd.legacy_systemd_cgroup_controller=false csm.disabled=1 dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 i915.modeset=1 cros_efi loadpin.enabled=0 root=/dev/dm-0 "dm=1 vroot none ro 1,0 4077568 verity payload=PARTUUID=555BDB75-CBD7-CD4A-B24E-29B13D7AC0DF hashtree=PARTUUID=555BDB75-CBD7-CD4A-B24E-29B13D7AC0DF hashstart=4077568 alg=sha256 root_hexdigest=42104d547ac104fb7061529e78f53e4f3e8c3d3cbb040dc6e0f84aad68491347 salt=9dc7f3acc4e2ce65be16356e960c2b21b51a917fa31d2e891fd295490c991e41" mitigations=off
[   464.605] Build Date: 30 November 2020  08:01:56PM
[   464.605] xorg-server 2:1.19.6-1ubuntu4.8 (For technical support please see http://www.ubuntu.com/support) 
[   464.605] Current version of pixman: 0.34.0
[   464.605]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   464.605] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   464.605] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Feb 20 03:10:44 2021
[   464.606] (==) Using config file: "/etc/X11/xorg.conf"
[   464.606] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   464.607] (==) ServerLayout "Layout0"
[   464.607] (**) |-->Screen "Screen0" (0)
[   464.607] (**) |   |-->Monitor "Monitor0"
[   464.607] (**) |   |-->Device "Device0"
[   464.607] (**) |-->Input Device "Keyboard0"
[   464.607] (**) |-->Input Device "Mouse0"
[   464.607] (==) Automatically adding devices
[   464.607] (==) Automatically enabling devices
[   464.607] (==) Automatically adding GPU devices
[   464.607] (==) Automatically binding GPU devices
[   464.607] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   464.607] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   464.607]    Entry deleted from font path.
[   464.607] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   464.607]    Entry deleted from font path.
[   464.607] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   464.607]    Entry deleted from font path.
[   464.607] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   464.607]    Entry deleted from font path.
[   464.607] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   464.607]    Entry deleted from font path.
[   464.607] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   464.607]    Entry deleted from font path.
[   464.607] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    built-ins
[   464.607] (==) ModulePath set to "/usr/lib/xorg/modules"
[   464.607] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   464.607] (WW) Disabling Keyboard0
[   464.607] (WW) Disabling Mouse0
[   464.607] (II) Loader magic: 0x556eb77b8020
[   464.607] (II) Module ABI versions:
[   464.607]    X.Org ANSI C Emulation: 0.4
[   464.607]    X.Org Video Driver: 23.0
[   464.607]    X.Org XInput driver : 24.1
[   464.607]    X.Org Server Extension : 10.0
[   464.607] (EE) dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)
[   464.609] (--) PCI: (0:0:4:0) 10de:1eb8:10de:12a2 rev 161, Mem @ 0xc0000000/16777216, 0x380000000/268435456, 0x390000000/33554432
[   464.609] (II) no primary bus or device found
[   464.609] (II) LoadModule: "glx"
[   464.609] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   464.610] (II) Module glx: vendor="X.Org Foundation"
[   464.610]    compiled for 1.19.6, module version = 1.0.0
[   464.610]    ABI class: X.Org Server Extension, version 10.0
[   464.610] (II) LoadModule: "nvidia"
[   464.610] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   464.610] (II) Module nvidia: vendor="NVIDIA Corporation"
[   464.610]    compiled for 4.0.2, module version = 1.0.0
[   464.610]    Module class: X.Org Video Driver
[   464.610] (II) NVIDIA dlloader X Driver  418.67  Sat Apr  6 02:51:17 CDT 2019
[   464.610] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   464.610] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   464.610] (II) Loading sub module "fb"
[   464.610] (II) LoadModule: "fb"
[   464.611] (II) Loading /usr/lib/xorg/modules/libfb.so
[   464.611] (II) Module fb: vendor="X.Org Foundation"
[   464.611]    compiled for 1.19.6, module version = 1.0.0
[   464.611]    ABI class: X.Org ANSI C Emulation, version 0.4
[   464.611] (II) Loading sub module "wfb"
[   464.611] (II) LoadModule: "wfb"
[   464.611] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   464.611] (II) Module wfb: vendor="X.Org Foundation"
[   464.611]    compiled for 1.19.6, module version = 1.0.0
[   464.611]    ABI class: X.Org ANSI C Emulation, version 0.4
[   464.611] (II) Loading sub module "ramdac"
[   464.611] (II) LoadModule: "ramdac"
[   464.611] (II) Module "ramdac" already built-in
[   464.637] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   464.637] (EE) NVIDIA:     system's kernel log for additional error messages and
[   464.637] (EE) NVIDIA:     consult the NVIDIA README for details.
[   464.662] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[   464.662] (EE) NVIDIA:     system's kernel log for additional error messages and
[   464.662] (EE) NVIDIA:     consult the NVIDIA README for details.
[   464.662] (EE) No devices detected.
[   464.662] (==) Matched modesetting as autoconfigured driver 0
[   464.662] (==) Matched fbdev as autoconfigured driver 1
[   464.662] (==) Matched vesa as autoconfigured driver 2
[   464.662] (==) Assigned the driver to the xf86ConfigLayout
[   464.662] (II) LoadModule: "modesetting"
[   464.662] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   464.663] (II) Module modesetting: vendor="X.Org Foundation"
[   464.663]    compiled for 1.19.6, module version = 1.19.6
[   464.663]    Module class: X.Org Video Driver
[   464.663]    ABI class: X.Org Video Driver, version 23.0
[   464.663] (II) LoadModule: "fbdev"
[   464.663] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   464.663] (II) Module fbdev: vendor="X.Org Foundation"
[   464.663]    compiled for 1.19.3, module version = 0.4.4
[   464.663]    Module class: X.Org Video Driver
[   464.663]    ABI class: X.Org Video Driver, version 23.0
[   464.663] (II) LoadModule: "vesa"
[   464.663] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   464.663] (II) Module vesa: vendor="X.Org Foundation"
[   464.663]    compiled for 1.19.3, module version = 2.3.4
[   464.663]    Module class: X.Org Video Driver
[   464.663]    ABI class: X.Org Video Driver, version 23.0
[   464.663] (II) NVIDIA dlloader X Driver  418.67  Sat Apr  6 02:51:17 CDT 2019
[   464.663] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   464.663] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   464.663] (II) FBDEV: driver for framebuffer: fbdev
[   464.663] (II) VESA: driver for VESA chipsets: vesa
[   464.663] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   464.663] (EE) open /dev/dri/card0: No such file or directory
[   464.663] (WW) Falling back to old probe method for modesetting
[   464.663] (EE) open /dev/dri/card0: No such file or directory
[   464.663] (WW) Falling back to old probe method for fbdev
[   464.663] (II) Loading sub module "fbdevhw"
[   464.663] (II) LoadModule: "fbdevhw"
[   464.663] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   464.663] (II) Module fbdevhw: vendor="X.Org Foundation"
[   464.663]    compiled for 1.19.6, module version = 0.0.2
[   464.663]    ABI class: X.Org Video Driver, version 23.0
[   464.664] (EE) open /dev/fb0: No such file or directory
[   464.664] (WW) Falling back to old probe method for vesa
[   464.664] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   464.664] (EE) Screen 0 deleted because of no matching config section.
[   464.664] (II) UnloadModule: "modesetting"
[   464.664] (EE) Device(s) detected, but none match those in the config file.
[   464.664] (EE) 
Fatal server error:
[   464.664] (EE) no screens found(EE) 
[   464.664] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[   464.664] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   464.664] (EE) 
[   464.664] (EE) Server terminated with error (1). Closing log file.



    


    I am using this github repo to setup the video-streamer

    


    If anyone wants the colab notebook for the example then I will add it over here.

    


    For this problem I am really not sure where to file an issue for this so that's why I am writing this here.

    


  • GA360 Sunset : Is Now the Time to Switch ?

    20 mai 2024, par Erin

    Google pushed the sunset date of Universal Analytics 360 to July 2024, giving enterprise users more time to transition to Google Analytics 4. This extension is also seen by some as time to find a suitable alternative. 

    While Google positions GA4 as an upgrade to Universal Analytics, the new platform has faced its fair share of backlash. 

    So before you rush to meet the new sunset deadline, ask yourself this question : Is now the time to switch to a Google Analytics alternative ?

    In this article, we’ll explain what the new GA360 sunset date means and show you what you could gain by choosing a privacy-friendly alternative. 

    What’s happening with the final GA360 sunset ?

    Google has given Universal Analytics 360 properties with a current 360 licence a one-time extension, which will end on 1 July 2024.

    Why did Google extend the sunset ?

    In a blog post on Google, Russell Ketchum, Director of Product Management at Google Analytics, provided more details about the final GA360 sunset. 

    In short, the tech giant realised it would take large enterprise accounts (which typically have complex analytics setups) much longer to transition smoothly. The extension gives them time to migrate to GA4 and check everything is tracking correctly. 

    What’s more, Google is also focused on improving the GA4 experience before more GA360 users migrate :

    “We’re focusing our efforts and investments on Google Analytics 4 to deliver a solution built to adapt to a changing ecosystem. Because of this, throughout 2023 we’ll be shifting support away from Universal Analytics 360 and will move our full focus to Google Analytics 4 in 2024. As a result, performance will likely degrade in Universal Analytics 360 until the new sunset date.”

    Despite the extension, the July sunset is definitive. 

    Starting the week of 1 July 2024, you won’t be able to access any Universal Analytics properties or the API (not even with read-only access), and all data will be deleted.

    In other words, it’s not just data collection that will cease at the start of July. You won’t be able to access the platform, and all your data will be deleted. 

    What GA360 features is Google deprecating, and when ?

    If you’re wondering which GA360 features are being deprecated and when, here is the timeline for Google’s final GA360 sunset :

    • 1 January 2024 : From the beginning of the year, Google doesn’t guarantee all features and functionalities in UA 360 will continue to work as expected. 
    • 29 January 2024 : Google began deprecating a string of advertising and measurement features as it shifts resources to focus on GA4. These features include :
      • Realtime reports
      • Lifetime Value report
      • Model Explorer
      • Cohort Analysis
      • Conversion Probability report
      • GDN Impression Beta
    • Early March 2024 : Google began deprecating more advertising and measurement features. Deprecated advertising features include Demographic and Interest reports, Publisher reporting, Phone Analytics, Event and Salesforce Data Import, and Realtime BigQuery Export. Deprecated measurement features include Universal Analytics property creation, App Views, Unsampled reports, Custom Tables and annotations.
    • Late March 2024 : This is the last recommended date for migration to GA4 to give users three months to validate data and settings. By this date, Google recommends that you migrate your UA’s Google Ads links to GA4, create new Google Ad conversions based on GA4 events, and add GA4 audiences to campaigns and ad groups for retargeting. 
    • 1 July 2024 : From 1 July 2024, you won’t be able to access any UA properties, and all data will be deleted.

    What’s different about GA4 360 ? 

    GA4 comes with a new set of metrics, setups and reports that change how you analyse your data. We highlight the key differences between Universal Analytics and GA4 below. 

    What’s different about GA4?

    New dashboard

    The layout of GA4 is completely different from Universal Analytics, so much so that the UX can be very complex for first-time and experienced GA users alike. Reports or metrics that used to be available in a couple of clicks in UA now take five or more to find. While you can do more in theory with GA4, it takes much more work. 

    New measurements

    The biggest difference between GA4 and UA is how Google measures data. GA4 tracks events — and everything counts as an event. That includes pageviews, scrolls, clicks, file downloads and contact form submissions. 

    The idea is to anonymise data while letting you track complex buyer journeys across multiple devices. However, it can be very confusing, even for experienced marketers and analysts. 

    New metrics

    You won’t be able to track the same metrics in GA4 as in Universal Analytics. Rather than bounce rate, for example, you are forced to track engagement rate, which is the percentage of engaged sessions. These sessions last at least ten seconds, at least two pageviews or at least one conversion event. 

    Confused ? You’re not alone. 

    New reports

    Most reports you’ll be familiar with in Universal Analytics have been replaced in GA4. The new platform also has a completely different reporting interface, with every report grouped under the following five headings : realtime, audience, acquisition, behaviour and conversions. It can be hard for experienced marketers, let alone beginners, to find their way around these new reports. 

    AI insights

    GA4 has machine learning (ML) capabilities that allow you to generate AI insights from your data. Specifically, GA4 has predictive analytics features that let you track three trends : 

    • Purchase probability : the likelihood that a consumer will make a purchase in a given timeframe.
    • Churn probability : the likelihood a customer will churn in a given period.
    • Predictive revenue : the amount of revenue a user is likely to generate over a given period. 

    Google generates these insights using historical data and machine learning algorithms. 

    Cross-platform capabilities

    GA4 also offers cross-platform capabilities, meaning it can track user interactions across websites and mobile apps, giving businesses a holistic view of customer behaviour. This allows for better decision-making throughout the customer journey.

    Does GA4 360 come with other risks ?

    Aside from the poor usability, complexity and steep learning curve, upgrading your GA360 property to GA4 comes with several other risks.

    GA4 has a rocky relationship with privacy regulations, and while you can use it in a GDPR-compliant way at the moment, there’s no guarantee you’ll be able to do so in the future. 

    This presents the prospect of fines for non-compliance. A worse risk, however, is regulators forcing you to change web analytics platforms in the future—something that’s already happened in the EU. Migrating to a new application can be incredibly painful and time-consuming, especially when you can choose a privacy-friendly alternative that avoids the possibility of this scenario. 

    If all this wasn’t bad enough, switching to GA4 risks your historical Universal Analytics data. That’s because you can’t import Universal Analytics data into GA4, even if you migrate ahead of the sunset deadline.

    Why you should consider a GA4 360 alternative instead

    With the GA360 sunset on the horizon, what are your options if you don’t want to deal with GA4’s problems ? 

    The easiest solution is to migrate to a GA4 360 alternative instead. And there are plenty of reasons to migrate from Google Analytics to a privacy-friendly alternative like Matomo. 

    Keep historical data

    As we’ve explained, Google isn’t letting users import their Universal Analytics data from GA360 to GA4. The easiest way to keep it is by switching to a Google Analytics alternative like Matomo that lets you import your historical data. 

    Any business using Google Analytics, whether a GA360 user or otherwise, can import data into Matomo using our Google Analytics Importer plugin. It’s the best way to avoid disruption or losing data when moving on from Universal Analytics.

    Collect 100% accurate data

    Google Analytics implements data sampling and machine learning to fill gaps in your data and generate the kind of predictive insights we mentioned earlier. For standard GA4 users, data sampling starts at 10 million events. For GA4 360 users, data sampling starts at one billion events. Nevertheless, Google Analytics data may not accurately reflect your web traffic. 

    You can fix this using a Google Analytics alternative like Matomo that doesn’t use data sampling. That way, you can be confident that your data-driven decisions are being made with 100% accurate user data. 

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    Guarantee user privacy first

    Google has a stormy relationship with the EU-US Data Privacy Framework—being banned and added back to the framework in recent years.

    Currently, organisations governed by GDPR can use Google Analytics to collect data about EU residents, but there’s no guarantee of their ability to do so in the future. Nor does the Framework prevent Google from using EU customer data for ulterior purposes such as marketing and training large language models. 

    By switching to a privacy-focused alternative like Matomo, you don’t have to worry about your user’s data ending up in the wrong hands.

    Upgrade to an all-in-one analytics tool

    Switching from Google Analytics can actually give organisations access to more features. That’s because some GA4 alternatives, like Matomo, offer advanced conversion optimisation features like heatmaps, session recordings, A/B testing, form analytics and more right out of the box. 

    Matomo Heatmaps Feature

    This makes Matomo a great choice for marketing teams that want to minimise their tech stack and use one tool for both web and behavioural analytics. 

    Get real-time reports

    GA4 isn’t the best tool for analysing website visitors in real time. That’s because it can take up to 4 hours to process new reports in GA360.

    However, Google Analytics alternatives like Matomo have a range of real-time reports you can leverage.

    Real-Time Map Tooltip

    In Matomo, the Real Time Visitor World Map and other reports are processed every 15 minutes. There is also a Visits in Real-time report, which refreshes every five seconds and shows a wealth of data for each visitor. 

    Matomo makes migration easy

    Whether it’s the poor usability, steep learning curve, inaccurate data or privacy issues, there’s every reason to think twice about migrating your UA360 account to GA4. 

    So why not migrate to a Google Analytics alternative like Matomo instead ? One that doesn’t sample data, guarantees your customers’ privacy, offers all the features GA4 doesn’t and is already used by over 1 million sites worldwide.

    Making the switch is easy. Matomo is one of the few web analytics tools that lets you import historical Google Analytics data. In doing so, you can continue to access your historical data and develop more meaningful insights by not having to start from scratch.

    If you’re ready to start a Google Analytics migration, you can try Matomo free for 21 days — no credit card required.