Optag som med TV4Ever

Jeg prøver lige med en manuel måde at optage på.

Eksemler på commandlines:

ffmpeg -loglevel error -i “https://drod24o.akamaized.net/dk/clear/none/4f/639e989fa95a621778bc4e4f/00024828460/stream_fmp4/master_manifest.m3u8” -c copy “blues-brothers.ts”

Sådan sammenstykkes en ny commandline:

Check links:
https://drod22k.akamaized.net/dk/clear/none/a0/63a45d8faa5a6221bcdfe6a0/00022031280/stream_fmp4/20005377-59eac3a7-4cb3-46a8-ad2b-7366aab3b46f_audio_64kbps.mp4

Med F12 (side https://www.dr.dk/drtv/se/summerland_358697): Søg efter master_manifest.m3u8:
Ud fra denne kan url til stream fås:
https://drod22k.akamaized.net/dk/clear/none/a0/63a45d8faa5a6221bcdfe6a0/00022031280/stream_fmp4/master_manifest.m3u8
Denne kan nu indsættes som input efter -i

Handmade command line by jma:
.\ffmpeg -loglevel error -i https://drod22k.akamaized.net/dk/clear/none/a0/63a45d8faa5a6221bcdfe6a0/00022031280/stream_fmp4/master_manifest.m3u8 -c copy “summerland (2020).ts”

Html side med info:
https://www.dr.dk/drtv/program/summerland_358697

Udfordringer:
Jeg mangler at få undertekster!

Undertekster:
Kan fx fåes på sådan et link: (bemærk .vtt )
https://drod20n.akamaized.net/all/clear/none/66/63a430dbac5a6107fc118666/00922005010/subtitles/Foreign-19735537-6a5cf287-a184-4493-8f9c-ae3471d48bc5.vtt
via dette link (get):
https://production.dr-massive.com/api/account/items/354154/videos?delivery=stream&device=web_browser&ff=idp,ldp,rpt&lang=da&resolution=HD-1080&sub=Anonymous

Posted in Uncategorized | Tagged , | Leave a comment

Powershell – tricks & tips to remember

Just to remember:

Here is Powershell commandline history file:
C:\Users\username\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadline
OR:
%AppData%\Microsoft\Windows\PowerShell\PSReadLine\

It can be useful to bring to a new computer, if you want to keep all your command line entries.

Posted in Uncategorized | Tagged , , | Leave a comment

Lets encrypt – ASP.Net

Need  to take a look at this:

https://www.mikesdotnetting.com/article/305/free-ssl-certificates-on-iis-with-letsencrypt

 

 

 

 

 

below is the article – just for myself to remember:

Free SSL Certificates On IIS With LetsEncrypt

If you have forms on your site that take a user’s personal details, you should protect the page by running it under HTTPS. That way, any data that’s posted from the form (email address, credit card number etc) is encrypted and hidden from prying eyes. It’s not just e-commerce sites that should be protected. Intranets and other line of business apps that require authentication, blogs with comment forms that ask for email addresses and so on. The main barrier to this in the past has been the cost of the digital certificate (SSL Certificate) that asserts that you are who you say you are. LetsEncrypt is a free, automated, and open Certificate Authority that removes this barrier.

LetsEncrypt is operated by the Internet Security Research Group (ISRG), and is a Linux Foundation Collaborative Project, which is also responsible for the Linux operating system and Nodejs among other projects. LetsEncrypt is supported by a range of organisations including Mozilla, Chrome, Akamai and Facebook. The certificates that LetsEncrypt issues are recognised by all major browsers, which results in the familiar padlock symbol being displayed on properly secured sites:Secured site

Obtaining a certificate

Full details of how LetsEncrypt works can be found on their site. Suffice to say, you need a client program running on your web server that implements the ACME (Automatic Certificate Management Environment) protocol so that it can successfully communicate with LetsEncrypt. A number of these are available. I chose to use letsencrypt-win-simple, which is a command line interface (CLI) client. Despite that, it really is very simple to use. The latest version is 1.9.1 at the time of writing. Here’s a step-by-step guide to using letsencrypt-win-simple:

  1. Download and unzip the contents to a folder for later user. I chose C:\LetsEncrypt as a location.
  2. Open the folder, right click on the .exe file and choose Run as AdministratorRun as administrator
  3. Following the onscreen prompts, first provide an email address for renewal failure notifications.
  4. Agree to the terms and conditions.
  5. The application then scans the site bindings in IIS and asks which one you want to get a certificate for.LetsEncrypt Win Simple
  6. Enter the number and press Return. Note, if you have more than 50 sites registered with IIS, the screen will paginate the list. In that case, it might be a good idea to make a note of the number of the entry you want to request a certificate for.

And that’s pretty much it. The application takes care of obtaining the certificate and storing it. It will also create a scheduled task to request renewals as certificates expire. And it will add new bindings for the site if necessary, defaulting to port 443 for https.

Redirect non-https traffic

One thing that you may want to do is to ensure that all traffic goes to the https version of your site. If o uhave access to the server (which is the assumption in this article) you should install the IIS Rewrite Module if you haven’t already done so, and then add the following to your web.config file:

<system.webServer>
  <rewrite>
    <rules>
      <rule name="HTTP Redirect to HTTPS" enabled="true" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
              <add input="{HTTPS}" pattern="off" />
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
      </rule>
    </rules>
  </rewrite>
</system.webServer>

Summary

This article shows how easy it is to obtain free SSL certificates for your website from LetsEncrypt, using the letsencrypt-win-simple command line tool. A growing number of web hosting companies also support LetsEncrypt, which means that the days of expensive SSL certificates are likely to be numbered.

 

 

Posted in Uncategorized | Leave a comment

Panasonic TV – ST50

 

– note this should be converted into a page (not a post!).

 

 

Panasonic TC-P50ST50

Production year: ??? (ca. 2011. Nok 2012). Købt: ??? (2012 – 13).

SMART VIERA® 50″ Class ST50 Series Full HD Plasma HDTV (49.9″ Diag.)

Panasonic side.

manual Panasonic TV__tc-p50st50_en_om

 

 

Flere links:

http://www.panasonic.com/mobile/consumer/2012vieratips/

http://www.panasonic.com/mobile/consumer/2012vieratips/vieratips.asp?lang=en&model=ST50

 

Reviews

 

Hacking

Are there ways to improve the not-so-SMART tv functions?

I want better media handling. From external USB drives / sticks.

  • Fx. recordings do not have TTV-subtitles.
  • Media files (.mp4 ect), with external subtitles: Does not use the subtitle file.

See info on subtitles here:

 

 

 

 

 

Posted in Uncategorized | Leave a comment

Browsers

Browser alternatives:

– (Alternatives to: Firefox, Opera, IE, Edge and chrome)
– For now I only look at browsers for Windows.

 

Links:

https://en.wikipedia.org/wiki/List_of_web_browsers
https://upload.wikimedia.org/wikipedia/commons/7/74/Timeline_of_web_browsers.svg

Info to display: engine, portable, latest release?, add-ons.

  • Palemoon
  • SeaMonkey
  • Vivaldi
  • Comodo Dragon
  • IceMonkey
  • Maxthon
  • Coc-Coc – coccoc.com (chrome)
  • .
  • K-Meleon – http://kmeleonbrowser.org
  • Avant Browser –
  • Developer editions:
    • Firefox Developer
    • Opera Next
    • Opera Neon (new April 2017)

 

 

Posted in browser | Tagged | Leave a comment

Dev knowledge – notes

 

Mark Seemann

Visitor Pattern – Kata: http://blog.ploeh.dk/2011/05/16/TennisKatawithimmutabletypesandacyclomaticcomplexityof1/

Abstractions

– interface vs polymorphic type!

 

Posted in c#, development | Tagged | Leave a comment

Gps calculations

Notes to myself (january 2017)

 

Line intersect

http://stackoverflow.com/a/18234609  – Tested in JRunnerExperiments.

http://stackoverflow.com/questions/563198/how-do-you-detect-where-two-line-segments-intersect

 

 

 

 

Diverse unchecked:

 

Posted in android, c#, development | Tagged | Leave a comment

Prefix – a tool to checkout!

http://www.prefix.io

Prefix:

Fix .NET Application Problems Now

Before They Get to Production
Tour Prefix in 90 Seconds

Captures all ASP.NET requests in real time
Is always on and ready when you need it
Is so lightweight it will never slow you down
Runs on developer’s workstation

Posted in Uncategorized | Leave a comment

Make hologram on your phone

 

I wan to do this during Christmas:

See more here:

http://www.wikihow.com/Make-a-Hologram

 

 

Posted in Uncategorized | Leave a comment

Samsung Galaxy X Cover 2 (GT-S7710)

The Samsung Galaxy X Cover 2 (GT-S7710)  is a very very bad product from Samsung. It is completely useless if you are using more than 2 apps. The reason is that 4 GB of memory on the phone is not near enough with all the $hit Google (and Samsung) pre-install. So 4 GB is completely under dimensioned.

Anyway I want to try and install a lighter version of Android on it to make the phone useful for a friend. I would prefer to install Cyanogenmod – since I know that system, and don’t want to mess with too much software that I don’t know – because of security reasons.

I have read that CM 10.1 could be a good choice. CM 11 could be too heavy for the not so powerful phone. Maybe I go with CM 10.2?

The biggest issue to solve is to be able to install more apps on the SD card. And to get rid of most of the pre-installed apps. But probably I would still need the Google Play Store – which can undermine this project!

 

Here are some links to get me started:

 

CyanogenMod – uofficielle ports:

 

Samsung Galaxy X Cover 2 (GT-S7710)

CyanogenMod 10.1/10.2

CyanogenMod 11

 

http://wiki.cyanogenmod.org/w/Unofficial_Ports#Samsung_Galaxy_X_Cover_2_.28GT-S7710.29

http://wiki.cyanogenmod.org/w/Unofficial_Ports

 

Andre links:

http://blog.arinium.fi/2014/07/howto-fix-samsung-xcover-2-issues-old-android-low-memory-slow-ui/

 

Search:

https://duckduckgo.com/?q=samsung+galaxy+xcover+2+cyanogenMod

 

 

 

 

 

 

Posted in Uncategorized | Leave a comment