String Format

Discussion in 'Video.Antichat' started by t0ma5, 16 Mar 2019.

  1. t0ma5

    t0ma5 Reservists Of Antichat

    Joined:
    10 Feb 2012
    Messages:
    828
    Likes Received:
    815
    Reputations:
    90
    я основатьльно убрался, но всёже

    ----

    таки смог загрузить видео, правда это какой то файлообменник https://files.fm/f/2quppmrx
     
    _________________________
    #1 t0ma5, 16 Mar 2019
    Last edited: 17 Mar 2019
    b3, erwerr2321 and altblitz like this.
    1. altblitz

      altblitz Elder - Старейшина

      Joined:
      5 Jun 2009
      Messages:
      3,691
      Likes Received:
      3,145
      Reputations:
      236
      Натяни перчатки плотные гелевые.
      Но сперва, вымой лицо своё и ушки.

      Резко поднял скорость - навстречу летят авто и руки сильней сжимают штурвал вело.
      Звуки ночного города, авто мчатся навстречу в 30 сантиметрах и держать уверенно руль!

      Дома, ждёт красавица, Котёнка Кисс ))

      [​IMG]
       
      erwerr2321 likes this.
      1. t0ma5

        t0ma5 Reservists Of Antichat

        Joined:
        10 Feb 2012
        Messages:
        828
        Likes Received:
        815
        Reputations:
        90
        ээ и как видео загрузить
         
        _________________________
        1. t0ma5

          t0ma5 Reservists Of Antichat

          Joined:
          10 Feb 2012
          Messages:
          828
          Likes Received:
          815
          Reputations:
          90
          блин не годится это
           
          _________________________
          1. altblitz

            altblitz Elder - Старейшина

            Joined:
            5 Jun 2009
            Messages:
            3,691
            Likes Received:
            3,145
            Reputations:
            236
            Откроется тебе видео с mpv.



            PHP:
            blitz@inode ~ %                                                                                                            :(
            blitz@inode ~/.config/mpv cat mpv.conf
            #
            # Example mpv configuration file
            #
            # Warning:
            #
            # The commented example options usually do _not_ set the default values. Call
            # mpv with --list-options to see the default values for most options. There is
            # no builtin or example mpv.conf with all the defaults.
            #
            #
            # Configuration files are read system-wide from /usr/local/etc/mpv.conf
            # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
            # system-wide settings, all of which are overridden by the command line.
            #
            # Configuration file settings and the command line options use the same
            # underlying mechanisms. Most options can be put into the configuration file
            # by dropping the preceding '--'. See the man page for a complete list of
            # options.
            #
            # Lines starting with '#' are comments and are ignored.
            #
            # See the CONFIGURATION FILES section in the man page
            # for a detailed description of the syntax.
            #
            # Profiles should be placed at the bottom of the configuration file to ensure
            # that settings wanted as defaults are not restricted to specific profiles.

            ##################
            # video settings #
            ##################

            # Start in fullscreen mode by default.
            #fs=yes

            # force starting with centered window
            geometry=50%:50%

            # don't allow a new window to have a size larger than 90% of the screen size
            autofit-larger=75%x75%

            # Do not close the window on exit.
            #keep-open=yes

            # Do not wait with showing the video window until it has loaded. (This will
            # resize the window once video is loaded. Also always shows a window with
            # audio.)
            force-window=immediate

            # Disable the On Screen Controller (OSC).
            #osc=no

            # Keep the player window on top of all other windows.
            #ontop=yes

            # Specify high quality video rendering preset (for --vo=gpu only)
            # Can cause performance problems with some drivers and GPUs.
            #profile=gpu-hq

            # Force video to lock on the display's refresh rate, and change video and audio
            # speed to some degree to ensure synchronous playback - can cause problems
            # with some drivers and desktop environments.
            #video-sync=display-resample

            # Enable hardware decoding if available. Often, this does not work with all
            # video outputs, but should work well with default settings on most systems.
            # If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
            # may or may not help.
            #hwdec=auto
            hwdec=vaapi

            ##################
            # audio settings #
            ##################

            # Specify default audio device. You can list devices with: --audio-device=help
            # The option takes the device string (the stuff between the '...').
            #audio-device=alsa/default

            # Do not filter audio to keep pitch when changing playback speed.
            #audio-pitch-correction=no

            # Output 5.1 audio natively, and upmix/downmix audio with a different format.
            #audio-channels=5.1
            # Disable any automatic remix, _if_ the audio output accepts the audio format.
            # of the currently played file. See caveats mentioned in the manpage.
            # (The default is "auto-safe", see manpage.)
            #audio-channels=auto

            ##################
            # other settings #
            ##################

            # Pretend to be a web browser. Might fix playback with some streaming sites,
            # but also will break with shoutcast streams.
            #user-agent="Mozilla/5.0"

            # cache settings
            #
            # Use 150MB input cache by default. The cache is enabled for network streams only.
            #cache-default=153600
            #
            # Use 150MB input cache for everything, even local files.
            #cache=153600
            #
            # Disable the behavior that the player will pause if the cache goes below a
            # certain fill size.
            #cache-pause=no
            #
            # Read ahead about 5 seconds of audio and video packets.
            #demuxer-readahead-secs=5.0
            #
            # Raise readahead from demuxer-readahead-secs to this value if a cache is active.
            #cache-secs=50.0

            # Display English subtitles if available.
            #slang=en

            # Play Finnish audio if available, fall back to English otherwise.
            #alang=fi,en

            # Change subtitle encoding. For Arabic subtitles use 'cp1256'.
            # If the file seems to be valid UTF-8, prefer UTF-8.
            # (You can add '+' in front of the codepage to force it.)
            #sub-codepage=cp1256

            # You can also include other configuration files.
            #include=/path/to/the/file/you/want/to/include

            ############
            # Profiles #
            ############

            # The options declared as part of profiles override global default settings,
            # but only take effect when the profile is active.

            # The following profile can be enabled on the command line with: --profile=eye-cancer

            #[eye-cancer]
            #sharpen=5

             
            #5 altblitz, 17 Mar 2019
            Last edited: 17 Mar 2019
            1. t0ma5

              t0ma5 Reservists Of Antichat

              Joined:
              10 Feb 2012
              Messages:
              828
              Likes Received:
              815
              Reputations:
              90
              да я просто нуб, хотел выложить видео где через string format можно адрес возврата перезаписать(да стек там не ридонли, и шелкод через аргументы запуска программы передается).
               
              _________________________
              CyberTro1n likes this.
              1. BabaDook

                BabaDook Well-Known Member

                Joined:
                9 May 2015
                Messages:
                1,063
                Likes Received:
                1,559
                Reputations:
                40
                Только
                format string
                 
                1. altblitz

                  altblitz Elder - Старейшина

                  Joined:
                  5 Jun 2009
                  Messages:
                  3,691
                  Likes Received:
                  3,145
                  Reputations:
                  236
                  Все мы ньюбы.
                  В видео, в строку его запуска - можно записать скрипт при вызове.

                  Как долго этот скрипт останется в работе?
                  От секунд до минут. Заинтересованные личности катнут абузу и акк закрыт, as always.

                   
                  1. t0ma5

                    t0ma5 Reservists Of Antichat

                    Joined:
                    10 Feb 2012
                    Messages:
                    828
                    Likes Received:
                    815
                    Reputations:
                    90
                    https://files.fm/f/2quppmrx
                     
                    _________________________
                    1. erwerr2321

                      erwerr2321 Elder - Старейшина

                      Joined:
                      19 Jun 2015
                      Messages:
                      4,237
                      Likes Received:
                      26,252
                      Reputations:
                      148
                      так а убирался то чем?
                       
                      1. erwerr2321

                        erwerr2321 Elder - Старейшина

                        Joined:
                        19 Jun 2015
                        Messages:
                        4,237
                        Likes Received:
                        26,252
                        Reputations:
                        148
                        altblitz likes this.
                        1. t0ma5

                          t0ma5 Reservists Of Antichat

                          Joined:
                          10 Feb 2012
                          Messages:
                          828
                          Likes Received:
                          815
                          Reputations:
                          90
                          здрям, да в общем то хугарден :D набрал кучу пива
                           
                          _________________________
                          1. user100

                            user100 Moderator

                            Joined:
                            24 Dec 2011
                            Messages:
                            4,842
                            Likes Received:
                            18,570
                            Reputations:
                            377
                            Грузи сюда:
                            https://radikal.ru/video/
                             
                            _________________________
                            t0ma5 likes this.
                            1. t0ma5

                              t0ma5 Reservists Of Antichat

                              Joined:
                              10 Feb 2012
                              Messages:
                              828
                              Likes Received:
                              815
                              Reputations:
                              90
                              акей :) если что попробую туда грузить
                               
                              _________________________
                              CyberTro1n and erwerr2321 like this.