Zobrazit příspěvky

Tato sekce Vám umožňuje zobrazit všechny příspěvky tohoto uživatele. Prosím uvědomte si, že můžete vidět příspěvky pouze z oblastí Vám přístupných.


Témata - Jigdo

Stran: [1] 2 3 ... 5
1
Software / Změna jména v kontejneru MP4 s MP4Box
« kdy: 19. 03. 2023, 19:52:10 »
Po delsim testovani jsem se dopracoval k mp4box
https://github.com/gpac/gpac/wiki/MP4Box
kde  manualu zminuji moznost prejmenovani tkz. "Title" pomoci

Citace
To replace the label on an audio or subtitle track (uses udta "name" atom, shown by players like vlc):
MP4Box -udta 3:type=name -udta 3:type=name:str="English" file.mp4

Tak jsem zkousel mp4box pro extrakci videa/audio/titulku a zpetne slouceni,
coz funguje jak ma podle manualu, ale v sekci "title" to nechava tohle:

Title: ddplus-2.0-dash-English.eac3:lang=eng@GPAC2.2-rev0-gab012bbf-master / English

Nevi nekdo jak umazat z toho UDTA atomu "ddplus-2.0-dash-English.eac3:lang=eng@GPAC2.2-rev0-gab012bbf-master /" aby tam zustalo jen "English"?


V Issues sice maji dva tikety:
https://github.com/gpac/gpac/issues/33
https://github.com/gpac/gpac/issues/1606
ale oba dva jsou zavrene ...

2
/dev/null / Telegram - Medialni bitva
« kdy: 15. 02. 2023, 12:24:08 »
Koukam jesti na to tema neni clanek na nekterem ze serveru Internet Info, s.r.o. a nikde nic.
Linuxexpres taky mlci ......

Pro ty kdo nesleduji zahranicni servery, Wired vydal "zkresleny" clanek
Kremlin se vloupal do chatu
Feb 2, 2023 6:00 AM
https://www.wired.com/story/the-kremlin-has-entered-the-chat/
a to i pres to ze T.me s nimi na clanku spolupracoval


Tiskovy mluvci Telegramu Remi Vaughn odpovedel clankem
9 Errors Wired Chose to Make
February 03, 2023
https://telegra.ph/Wired-Errors

a take
Details for fact-checkers
February 04, 2023
https://telegra.ph/Wired-Fact-Checking


O nekolik dnu pozdeji prisel Tweet od Will Cathcart (head of WhatsApp)
This is a really important article from @DarrenLoucaides
@Wired about Telegram.
If you think Telegram is secure, you should read this article and understand the truth - especially before you use it for anything private.
6:00 PM · Feb 10, 2023
https://twitter.com/wcathcart/status/1624105971810467842


Ref:
https://www.gsmarena.com/telegram_responds_to_whatsapp_allegations-news-57554.php
https://www.gsmarena.com/whatsapp_head_criticizes_telegram_for_misleading_its_users_over_its_encryption-news-57545.php

3
Software / Jaký video kontejner používáte a proč?
« kdy: 04. 02. 2023, 15:03:42 »
Zdravim,

Zajimalo mne jakovy video kontejner pouzivate a proc?

Pripada mi ze vetsina lidi preferuje MKV, ale mne pripada symapticky MP4 .....
U MP4 sice neni takova moznost ukadat metadata, jako u MKV, ale
treba t.me umi streamovat MP4 v x264/x265 a MKV ne ...... :(

4
Software / Filtrace dvou klíčových slov v Developer Tools
« kdy: 01. 02. 2023, 19:34:56 »
Potreboval bych v developer tools - Network, filtrovat 2 slova napriklad jpeg a png
Ale co jsem zkousel a nic mi nefunguje.

Koukal jsem do napovedy, ale taky nic.
Network features reference
Filter requests by properties
https://developer.chrome.com/docs/devtools/network/reference/#filter

Filter by string, regular expression, or property
https://developer.chrome.com/docs/devtools/network/#filterbox

5
Software / FFmpeg x264 na x265 u kontejneru mp4
« kdy: 01. 02. 2023, 19:09:04 »
mam 3 otazky.

[1] - Nabizi iVysilani nejake video ve x265 formatu? Zadne jsem jeste nenasel, ale treba neco delam spatne ...
a vetsinou je to avc1.4dxxxx


[2]
Pri konverzi video streamu z x264 na x265 a kopii audio/titulku (cca xx/xx) mi funguje tohle:
ffmpeg -i i.mp4 -pix_fmt yuv420p10le -c:v libx265 -vtag hvc1 -crf 28 -c:a copy -c:s copy -map 0 o.x265-28.mp4

ale pri prehravani x265 verze je videt pri vyberu audio/titulku stopy Track 3 - [English] misto English - [English]...
poradi nekdo jako zachovat pri konverzi videa na x265 format Čeština - [Czech] namisto Track 3 - [Czech] u audia/titulku?


[3]
Zajimalo by mne, kdybych z toho videa pri konverzi na x265 chtel do kopie vytahnout jen urcite streams (de|fr) audio/titulku (bez konverze)
jak postupovat?
Original je x264 a ma pres 100 streams ....

Na https://trac.ffmpeg.org/wiki/Encode/H.265 jsem samozrejmne nic nenasel ....a ani na https://x265.readthedocs.io/en/master/cli.html :(

6
Software / Chyba při stahování videa pomocí yt-dlp
« kdy: 13. 01. 2023, 14:12:38 »
yt-dlp mi pri pokusu o download m3u8 pise "ERROR: Initialization fragment found after media fragments, unable to download"
hledal jsem cim to je, na GitHub nekdo otevrel issue #4777 ale pozdeji ho zavreli.

Dalsi prispevek na odkazuje na pouziti N-m3u8DL-CLI coz bezi jen na Window$ :(

Poradi nekdo jak na to? --key pro program funguje, ale sifrovany obsah video+audio nejde stahnout :(

7
/dev/null / Vykaslete se na BIS, zkuste GCHQ kod
« kdy: 14. 12. 2022, 14:35:44 »
School pupils aim to crack GCHQ Christmas card code
https://www.bbcweb3hytmzhn5d532owbu6oqadra5z3ar726vq5kgwwn6aucdccrad.onion/news/uk-england-gloucestershire-63957800


Pupils are being challenged to put their codebreaking skills to the test in a festive brainteaser set by the UK's intelligence agency GCHQ.

The puzzle features on a Christmas card sent by Sir Jeremy Fleming, director of the Cheltenham-based spy agency.

It was designed to test problem-solving skills and secondary schools across the country are trying to crack the code.

"Puzzlers need to combine a mix of minds to solve the seemingly impossible," said Sir Jeremy.

The Christmas card features seven "fiendish" puzzles and is aimed at testing schoolchildren's knowledge of key subjects and their ability to work as a team.

"The puzzles are based on the seven disciplines of languages, engineering, codebreaking, analysis, maths, coding and cyber security - all key skills needed at GCHQ to help keep the country safe," a spokesman said.

But this year's challenge comes with an added twist as once all the puzzles are solved, schoolchildren will then need to use the design on the front of the card to assemble the answers to form three locations.

Joining those place names together will then reveal the answer.

The intelligence agency said pupils would need to employ all their skills of lateral thinking, ingenuity and perseverance to be successful.

"From breaking Enigma to harnessing the latest cutting-edge technology, our brilliant people have worked together throughout our history to help keep the country safe," said Sir Jeremy.

"This year's GCHQ Christmas Card Challenge gives an insight into the skills we need every day as part of our mission," he added.

Schools interested in taking part can find a resource pack on the GCHQ website.



https://www.gchq.gov.uk/news/schoolsxmaschallenge2022

https://www.gchq.gov.uk/files/The%20GCHQ%20Christmas%20Challenge%202022.pdf
https://www.gchq.gov.uk/files/The%20GCHQ%20Christmas%20Challenge%202022_Hints.pdf
https://www.gchq.gov.uk/files/The%20GCHQ%20Christmas%20Challenge%202022_Certificate.pdf


Tady trocha historie
https://www.dailymail.co.uk/news/article-8061715/How-British-spy-former-MI6-boss-tricked-Soviets-thinking-just-clueless-diplomat.html

8
Odkladiště / Alternativa k Fany.cz VoIP
« kdy: 23. 10. 2022, 17:42:14 »
Fayn.cz se rozhodl po xx letech co u nich mam nekolik VoIP cisel
ze zacnou uplatnovat tohle:

"Dosud jsme neaplikovali pravidlo pro expiraci kreditu,
které je mnoho let zakotveno v našich obchodních podmínkách.
Náš nový systém již tuto skutečnost hlídá. Kredit (předplatné)
má platnost 6 měsíců od data dobití. O tuto dobu se prodlužuje
při každém dalším dobití. Současně je stanoveno, že dobít je
třeba alespoň 100 korun za uvedené půlroční období."

Problem je v tom, ze ja ty linky pouzivam jen pro prichozi hovory :(
mam tarif "FAYN_Free" a "FAYN_Volny_Bez" takze se mi to jejich
dobijeni kazdych 6 mesicu nevyplati i kdyz se z tech linek prilezitostne vola,
ale vetsinou na 800 cisla.

Poradi neko alternativniho ceskeho VoIP operatora, kde si tato cisla muzu
portovat?

9
Odkladiště / Huawei Watch 3 Elite a SMS
« kdy: 11. 10. 2022, 14:59:47 »
Vlastni tady nekdo uvedene hodinky %sub% v LTE verzi GLL-AL04 | Galileo-L31E |EB1GALILEOM03?
Nepodarilo se mi zjistit jak na nich prijimat/odesilat SMS z vestavene eSIMkarty ktera ja samozrejmne umi.
Bezi mi na tom momentalne verze 2.1.0.239 (SP5C432E239R1P239) na tom jejich HarmonyOS.

Na podpore mi rekli ze to nejde a nebo ano ale s alternativni aplilkaci, ale nechteli rict se kterou ....
Jak tam dostat treba tu Google SMS app?

Na strankach
https://www.huaweicentral.com/huawei-watch-3-series-grabs-lots-of-new-features-with-september-2022-update/
zminuji ze update 2.1.0.399 nabizi "support for receiving and replying with emojis in messages" ale jestli to neni
nejaka to jejich cinska aplikace, ma uz nkdo ten update nainstalovany?

U mych druhych hodinek od Samsungu Galaxy Watch4 Classic 4G (SM-R885F)
mam dokonce k dispozici 2 applikace na prijem/odesilani SMS (Google + Samsung),
ale zase nemaji takovou vydrz baterie :(

10
Sítě / Mikrotik DoH s ODVR
« kdy: 05. 10. 2022, 22:41:01 »
Podle wiki k DoH od MT to funguje spolehlive s CloudFlare nastavenim,
https://wiki.mikrotik.com/wiki/Manual:IP/DNS
ale ja chtel zkusit to od NIC.cz
https://www.nic.cz/odvr/

Kód: [Vybrat]
/tool fetch url="https://letsencrypt.org/certs/isrgrootx1.pem"
/certificate import file-name=isrgrootx1.pem
/ip dns set use-doh-server=https://odvr.nic.cz/dns-query verify-doh-cert=yes
/ip dns static add address=193.17.47.1 name=odvr.nic.cz
/ip dns static add address=185.43.135.1 name=odvr.nic.cz


A zacalo to hlasit "ERROR"

DoH server connection error: remote disconnected while in HTTP exchange

Ma nekdo podobne zkusenosti?

11
Odkladiště / Živý stream ledního hokeje
« kdy: 25. 09. 2022, 20:02:30 »
Jedna nejmenovana tipovaci kancelar nabizi zdarma
stream ze zapasu v lednim hokeji ale je treba se registrovat a
pri pokusu o stream na vice zarizenich vyskoci zprava
po par vterinach ze prenos je mozne sledovat na jednom
zarizeni, prohlizeci a zalozce v prohlizeci .....

Pres DevTools v prohlizeci jsem si v zalozce "Network" sosnul "playlist.m3u8"
a pustil ve VLCcku coz vyhovuje nez v prohlizeci ve 1080p50 coz je maximum
co dany stream nabizel:

Kód: [Vybrat]
[generic] playlist: Requesting header
[generic] playlist: Downloading m3u8 information
[info] Available formats for playlist:
format code  extension  resolution note
1155         mp4        640x360    1155k
2179         mp4        854x480    2179k
3203         mp4        1280x720   3203k
6275         mp4        1920x1080  6275k  (best)


Kód: [Vybrat]
https://www.XipXport.cz/rest/offer/v2/live/matches/4698676/stream?deviceType=DESKTOP&ipv4=xxx.xxx.xxx.xxx
a

Kód: [Vybrat]
https://n7.cho2.XiveXox.cz/elh-live/_definst_/smil:tri.smil/playlist.m3u8?auth=b64:dHJpOmU0Lmd0cy5saXZlYm94LmN6OjExMTExMTExLTExMTExOjExMTExMTExMToxMTExMTExMTExMTExOjExMTExMTExMTE6MTExLjExMS4xMTEuMTExOmExYWFhMWExMWExMTFhMTExMTFhMTExYTFhYWFhMTFhCg=

Moje otazke je:
- Vi nekdo podle ceho se ten base64 string generuje?
- Je mozne to sledovat nejak bez te registrace u te tipovaci kancelare?
- Jak sledovat dane utkani na vice zarizenich?
- Nabizi nekdo prenos ve 4K rozliseni z tech hokejovych utkani?

12
Sítě / Nej.cz 1 Gbps 1:1
« kdy: 17. 08. 2022, 12:30:09 »
Ma nekdo od Nej.cz ten jejich INTERNET NejNET 1000 Mb/s na opticke siti?

Nejak se nemuzu dostat k te jejich inzerovane rychlosti.

ZTE ZXHN F601 ONT mam pripojene Cat7 k Mikrotik RB4011iGS+5HacQ2HnD-IN a pote Cat7 k PC ktere ma 1Gbps sitovy port
a bezi na nem Debian 11, ale testy rychlosti jsou v rozmezi 3xx Mbps/5xx Mbps maximalne.

Tak jsem primo k ZTE ZXHN F601 ONT pripojil pres Cat7 Lenovo USB-C Mini Dock 40AU a propojil s telefonem Galaxy Note 20 5G pres USB-C,ale taky rychlosti dosahuji pouze 3xx Mbps/5xx Mbps maximalne.

Testovano pres
Fast.com APPlikaci
Speedtest.net APPlikaci
WiFiman APPlikaci
LibreSpeed APPLikaci

A v Prohlizeci Fennec F-Droid 103.1.0 s jedinym add-on uBlock Origin 1.44.0
https://mereni.nej.cz/
A Ungoogled Chromium 96.0.4664.110
https://nettest.cz/en/

A namerene rychlosti jsou hodne podprumer inzerovane rychlosti ....., volal jsem k nim na infolinku ale vsichni pracovnici jsou busy :(


13
Neporadi nekdo kde delam chybu?

Kód: [Vybrat]
cd ~/Install;
curl --doh-url https://odvr.nic.cz/doh -kLO https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-20220708.tar.gz
curl --doh-url https://odvr.nic.cz/doh -kLO https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-

Tady vsechno funguje,
ale kdyz se pokusim vybalit z archivu "linux-firmware-20220708.tar.gz" a adresare "linux-firmware-20220708/*.*" vsechno do adresare /lib/firmware/  tak to proste nefunguje

Kód: [Vybrat]
sudo tar -xzf linux-firmware-20220708.tar.gz --wildcards linux-firmware-20220708/*.* --directory=/lib/firmware/ --verbose

koukal jsem do man tar, ale nic jsem tam nenasel

Kód: [Vybrat]
       -x, --extract, --get
              Extract files from an archive.  Arguments are optional.  When given, they specify names of the archive members to be extracted.

       -z, --gzip, --gunzip, --ungzip
              Filter the archive through gzip(1).

       -f, --file=ARCHIVE
              Use archive file or device ARCHIVE.  If this option is not given, tar will first examine the environment variable `TAPE'.  If it is set, its value will be used as the archive name.  Otherwise, tar will assume the compiled-in default.  The default value can be  in‐
              spected either using the --show-defaults option, or at the end of the tar --help output.

       -C, --directory=DIR
              Change to DIR before performing any operations.  This option is order-sensitive, i.e. it affects all options that follow.

       --wildcards
              Use wildcards (default for exclusion).

       --wildcards-match-slash
              Wildcards match / (default for exclusion).

       -v, --verbose
              Verbosely  list files processed.  Each instance of this option on the command line increases the verbosity level by one.  The maximum verbosity level is 3.  For a detailed discussion of how various verbosity levels affect tar's output, please refer to GNU Tar Man‐
              ual, subsection 2.5.1 "The --verbose Option".

14
Software / BBC iPlayer UHD/4K - (HDR-HLG)
« kdy: 13. 07. 2022, 09:33:46 »
BBC na svoji platformne iPlayer zacala nabizet kontent ve formatu 1080p a
pro vybrane zarizeni i v UHD/4K(HDR-HLG).
https://www.bbc.co.uk/iplayer/help/questions/supported-devices/uhd-supported-devices
https://www.bbc.co.uk/iplayer/help/questions/features/uhd-connected-tv/#/Notification


get_iPlayer pouzivam uz nekolik let a do nedavna umoznoval jen max 720p,
nedavny upgrade zacal podporovat i 1080p, ale ne UHD/4K(HDR-HLG)
https://github.com/get-iplayer/get_iplayer/wiki/modes
NOTE: UHD/4k streams are not available to get_iplayer.


Samozrejmne ze jsem hledal a jedine co jsem nasel je UHD/4K(HDR-HLG)
zminka na youtube-dl
https://github.com/ytdl-org/youtube-dl/issues/23628
a odkaz na (12 let stary post)
https://po-ru.com/2010/06/07/device-discrimination-on-the-internet

Otazka je, nevi nekdo jak se k UHD/4K a nebo jeste lepe UHD/4K(HDR-HLG) dostat a stahnout?





15
Server / OVH Apache authenizace
« kdy: 12. 07. 2022, 11:44:10 »
Potreboval bych omezit pristup k jednomu adresari na malilinkatem webu,
co bezi u OVH a jejich zdarma 10M tarifu.

V nastaveni Hosting planu mam:
Operating system: stable64
PHP version 8.1
Engine: php
Mode: production
Aplication firewall: Enabled


SSL Certificate:  Yes - LETSENCRYPT - DV

A v korenu /home/xYYYYYY/ mam soubor .htaccess pro HTTPS rewrite a dalsi

Kód: [Vybrat]
# enable HTTP/2, if available
#Protocol h2 http/1.1
SetEnv PHP_VER 8_1
SetEnv REGISTER_GLOBALS 0
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
########################################################################
Redirect permanent /mail https://mail.ovh.net/roundcube
#Header append X-FRAME-OPTIONS "DENY"
#Header set Set-Cookie HttpOnly;Secure
#Header set Set-Cookie "HttpOnly"
#Header set Set-Cookie "Secure"
########################################################################
#Header always edit Set-Cookie (.*) "$1; HTTPOnly; Secure"
########################################################################
#Header always edit Set-Cookie (.*) "$1; HTTPOnly"
#Header always edit Set-Cookie (.*) "$1; Secure"
########################################################################
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure;SameSite=strict
########################################################################
Header set Content-Security-Policy "frame-ancestors none;"
Header set Content-Security-Policy "default-src 'self';"
Header set Referrer-Policy "same-origin"
#Header unset Cookie
#Header unset Set-Cookie
Header always set X-Frame-Options "SAMEORIGIN"
Header always set X-Xss-Protection "1; mode=block"
Header always set X-Content-Type-Options "nosniff"
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
#Header always set Feature-Policy "fullscreen 'none'; microphone 'none'"
#Permissions-Policy Header
#https://scotthelme.co.uk/goodbye-feature-policy-and-hello-permissions-policy/
Header always set Permissions-Policy "geolocation=(); midi=();notifications=();push=();sync-xhr=();accelerometer=(); gyroscope=(); magnetometer=(); payment=(); camera=(); microphone=();usb=(); xr=();speaker=(self);vibrate=();fullscreen=(self);"
########################################################################
#SSLOpenSSLConfCmd Protocol "-ALL, TLSv1.2, TLSv1.3"
#SSLProtocol TLSv1.2
#SSLProtocol -all +TLSv1.2
#SSLProtocol -all +TLSv1.2 +TLSv1.3
#SSLProtocol all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1
#SSLCipherSuite HIGH:!aNULL:!MD5:!3DES
#SSLHonorCipherOrder on
#SSLCompression off
########################################################################
#X-Powered-By - Apache
#https://scotthelme.co.uk/hardening-your-http-response-headers/#x-powered-by
Header unset X-Powered-By

A adresar "/home/xYYYYYY/www/soukrome"  bych chtel zpristupnit jen pod heslem.

Takze jsem do neho prekopiroval:

Kód: [Vybrat]
.htpasswd
<Directory "/home/xYYYYYY/www/soukrome">
  AuthType Basic
  AuthName "Restricted Content - Username/Password Required"
  AuthUserFile /home/xYYYYYY/www/soukrome/.htpasswd
  Require valid-user
</Directory>   

Vygeneroval na strankach https://hostingcanada.org/htpasswd-generator/
Apache specific salted MD1 - moje:tajne
Kód: [Vybrat]
.htaccess
moje:$apr1$kb38urah$/P2CyVygjt0ggyfQw43dI.

Kód: [Vybrat]
index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=windows-1252">
    <title>Test</title>
  </head>
  <body>
    <h1>Success: test/soukrome</h1>
  </body>
</html>

Ale prohlizec krici chybu 500 Internal Server Error, poradi nekdo kde delam chybu?

Stran: [1] 2 3 ... 5