Jump to content

migg

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by migg

  1.  

     

    There is a acestream for armv7 processors here https://github.com/sshmanko/acestream-armv7

     

    And this is how I installed it

    cd /tmp
    wget https://github.com/sshmanko/acestream-armv7/archive/3.1.30.tar.gz
    
    
    
    cd /opt 
    sudo tar -zxf /tmp/3.1.30.tar.gz
    sudo mv acestream-armv7-3.1.30 acestream
    cd acestream
    
    sudo leafpad acestream.conf

     

     

    under --login, change re.place@me for your mail

    under --password change ReplaceMe for your  own password

     

     


     

    sudo ./acestream.start
    

     

    Open this url on your browser 

    http://127.0.0.1:6878/webui/app/ReplaceMe/server#proxy-server-playlist

     

     

    Click "Add Content" to add channel using  their "CONTENT ID" and click "ADD TO PLAYLIST"

     

     

    When you finish, click on "PLAYLIST URL"

     

    Copy your local address, mine is http://127.0.0.1:6878/playlist/JGFBDon.m3u?category=tv

     

     

    if you dont have vlc, install it


     

    sudo apt-get install vlc
    

     

    and now launch the vlc with the url

    vlc http://127.0.0.1:6878/playlist/JGFBDon.m3u?category=tv

     

     

     

    To change channel, use N for next and P for frevious

     

     

    I tried to do it with mpv, but the play list didnt worked as expected, the < and > didnt worked at all 

     

     

     

    To know more about acestream, like add it as service

     

    https://github.com/sshmanko/acestream-armv7

     

     

     

     

     

     

     

     

     

     

  2. 7 minutes ago, talraash said:

     

    Worth adding a warning. For everyone who wants to use it. Using a swap on a microsd will significantly increase its wear, and reduced life of you card.

     

    I agree, the more you use it the closer you get to its end,  but i haven experienced that with my kingston, and i ran it on a raspberry pi with raspbian for almost 3 years, with only 1 GB of ram, so i swapped a lot

     

    and i have the beelink gt1 ultimate+samsumg evo since july working all day, and still endures it, when it stop working i will have to buy another evo 32 GB for 7-8 euros and rethink the use of the swap file, for now im looking to use it according to my needs... and stressing it only some times.

     

     

     

     

  3.  

     

    another change to gain a bit more of memory is

     

    vim .config/psd/psd.conf

     

    look for 

    #USE_OVERLAYFS="no"

    and change for

     

    USE_OVERLAYFS="yes"

     

    you can restart the system, or close your browser and 

     

    systemctl --user stop psd.service

    systemctl --user start psd.service

     

    More info about this 

    https://wiki.archlinux.org/index.php/Profile-sync-daemon#What_is_overlayfs_mode.3F

    https://wiki.archlinux.org/index.php/Profile-sync-daemon

     

     

  4.  

     

    I have a samsumg evo sdcard, one of the tops in performance according to 

     

     

    So trying this with very slow sd cards probably wont produce a benefit 

     

    Im using balbes 5.55 armbian

     

    I installed a swapfile with 2G ,  with

     

    sudo apt-get install dphys-swapfile

     

    sudo vim /etc/dphys-swapfile 

     

    look for

    #CONF_SWAPSIZE=

    and change for

     

    CONF_SWAPSIZE=2000

     

    then restart the system or

    sudo dphys-swapfile swapon

     

    It can take seconds (in my samsung evo) or 20 minutes (on an old kingston and raspberry pi running raspbian), so dont worry if it takes half hour

     

    the first run needs to create the swapfile, and its huge

     

    my beelink gt1 ultimate comes with 3 GB of ram, but i was only able to boot it using a dtb (meson-gxm-q200.dtb) that gives me 2 GB, so when i open 10 tabs in my browser i start with problems and freezes.... i know, its too much, but im used to it, so doing this im able to browser better

     

    the swapfile will start at boot every time as service, so you dont have to enter any command after this

     

    As pointed by talraash 

     

    Quote

    Worth adding a warning. For everyone who wants to use it. Using a swap on a microsd will significantly increase its wear, and reduced life of you card.

     

  5. sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

    That kind of problem.

     

    Option 1

     

    Control + Alt + F3 

     

    log in as root  and live without sudo

     

    Option 2

     

    Open a terminal

    ssh root@127.0.0.1

     

    and log in as root

     

    Option 3

     

     

    copy this to a file named /tmp/armbiansudo.txt

     

    chown root:root /usr/bin/sudo 
    chmod 4755 /usr/bin/sudo
    chown root:root /usr/lib/sudo/sudoers.so 
    chmod 4755 /usr/lib/sudo/sudoers.so
    chown root:root /etc/sudoers
    chown root:root /etc/sudoers.d /etc/sudoers.d/README  /var/lib/sudo

     

     

    And now  follow option 1 or option 2 and type this on a root term

     

    bash  /tmp/armbiansudo.txt

     

    I think  sudo gave me problems in the past, I suspect it was behind some permissions problems that made me reinstall the OS, so i would recommend option 1 or option 2, I tried option 3 to test if the fix still worked before post it here, I would post here if I have problems again.

     

     

     

     

  6. Try

     

    mpv --vd=h264_v4l2m2m -v --hwdec=vaapi Desktop/Test.mp4

     

    mpv  --vd=h264_v4l2m2m -v Desktop/Test.mp4

     

    ffplay -vcodec h264_v4l2m2m Desktop/Test.mp4

     

    mpv --no-config --hwdec=auto Desktop/Test.mp4

     

    Also versions

     

     mpv --version

    ffmpeg

     

    0.29 mpv should be better for this

     

     

  7. Im using balbes 5.55 

     

     

    Linux aml 4.18.0-aml-s9xxx #51 SMP PREEMPT Sun Sep 9 09:14:34 MSK 2018 aarch64 aarch64 aarch64 GNU/Linux

     

    but the browser is armhf , not arm64 , so i think im on arm64 system running a 32 bit  browser... 'but thats my guess, i dont have a deep wisdom... like i didnt know what arch i was using...

     

     

     

     

  8.  

    I went to https://archive.raspberrypi.org/debian/pool/ui/r/rpi-chromium-mods/

     

    and then 

     

    wget https://archive.raspberrypi.org/debian/pool/ui/r/rpi-chromium-mods/rpi-chromium-mods_20180910_armhf.deb

     

    after that control+alt+F3

    and logged  as root 

     

    apt-get update

    apt-get install chromium-browser:armhf

    dpkg --force-all -i /home/user/rpi-chromium-mods_20180910_armhf.deb

     

     

    vim /etc/chromium-browser/customizations/00-rpi-vars

     

    look for 

    Quote

            CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --disable-quic --enable-tcp-fast-open --disable-gpu-compositing --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version="

    change it for 

    Quote

            CHROMIUM_FLAGS="${CHROMIUM_FLAGS} --disable-quic --enable-tcp-fast-open --disable-gpu-compositing --ppapi-flash-path=/usr/lib/chromium-browser/libpepflashplayer.so --ppapi-flash-args=enable_stagevideo_auto=0 --ppapi-flash-version=31.0.0.108"

     

    if you want to put the last version, you can look the number here https://get.adobe.com/es/flashplayer/

     

     

    Then is open the chromium and  go to the web you want, and click the padlock at the left of the url , click site settings, click flash, allow

     

    If flash is updated,  go here  https://archive.raspberrypi.org/debian/pool/ui/r/rpi-chromium-mods/

     

    and install the last armhf .deb , and change the version on  /etc/chromium-browser/customizations/00-rpi-vars  , you can see here the version number  https://get.adobe.com/es/flashplayer/

     

    It should work in all armbians

     

     

    Something related

     

     

     

     

     

     

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines