Jump to content


charlesduco

Member Since 24 Jul 2012
Offline Last Active 22 Mar 2024 13:26
*****

#1014897 Hoe teletekst-ondertitels links uitlijnen in FFMPEG

Posted by charlesduco on 10 February 2019 - 17:07

Je kan het in twee stappen doen:
 
1) Van TS-container naar MKV-container, het bestand wordt niet kleiner want video en audio worden gewoon gekopieerd

ffmpeg -y -fix_sub_duration -txt_format text -txt_page 888 -i "opname.ts" -c:v copy -c:a copy -c:s srt opname.mkv

 
2) Ondertitels in beeld branden, links uitgelijnd:
 

ffmpeg -y -i "opname.mkv" -vf "subtitles=opname.mkv:force_style='Alignment=Left'" -map 0:v -c:v libx264 -preset slow -crf 18 -map 0:a -c:a libfdk_aac -vbr 5 verkleind.mkv

3) Eventueel meer opties instellen voor de ondertitels zoals lettertype, lettergrootte en kleur

ffmpeg -y -i "opname.mkv" -vf "subtitles=opname.mkv:force_style='Alignment=Left,FontName=HelveticaNeue MediumCond,Fontsize=22,PrimaryColour=&H00E4E4E4'" -map 0:v -c:v libx264 -preset slow -crf 18 -map 0:a -c:a libfdk_aac -vbr 5 verkleind.mkv



#680513 Beleef de lente

Posted by charlesduco on 8 March 2017 - 08:12

Het is opnieuw M3U8:

https://rrr.sz.xlcdn.com/?account=bdl&file=SteenuilWW1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=SteenuilWW2&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=SteenuilWW3&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=SteenuilDongen1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=SteenuilDongen2&type=live&service=wowza&protocol=https&output=playlist.m3u8

https://rrr.sz.xlcdn.com/?account=bdl&file=Ooievaar1&type=live&service=wowza&protocol=https&output=playlist.m3u8

https://rrr.sz.xlcdn.com/?account=bdl&file=SlechtvalkGemert1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=SlechtvalkGemert2&type=live&service=wowza&protocol=https&output=playlist.m3u8

https://rrr.sz.xlcdn.com/?account=bdl&file=Koolmees1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=Koolmees2&type=live&service=wowza&protocol=https&output=playlist.m3u8

https://rrr.sz.xlcdn.com/?account=bdl&file=Ijsvogel1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=Ijsvogel2&type=live&service=wowza&protocol=https&output=playlist.m3u8

https://rrr.sz.xlcdn.com/?account=bdl&file=bosuil1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=bosuil2&type=live&service=wowza&protocol=https&output=playlist.m3u8


https://rrr.sz.xlcdn.com/?account=bdl&file=Reiger1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=Reiger2&type=live&service=wowza&protocol=https&output=playlist.m3u8

https://rrr.sz.xlcdn.com/?account=bdl&file=Kerkuil1&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=Kerkuil2&type=live&service=wowza&protocol=https&output=playlist.m3u8
https://rrr.sz.xlcdn.com/?account=bdl&file=Kerkuil3&type=live&service=wowza&protocol=https&output=playlist.m3u8




#596620 How to use the "extention" with snp-picons?

Posted by charlesduco on 5 October 2016 - 07:22

What is meant with 'When submitting svg files, make sure to convert text to paths.'

First thing you should understand is that there are two types of images: bitmap images and vector images
Watch to learn the difference between bitmap and vector images.
 
SVG means Scalable Vector Graphics and is a file format for vector images. SVG files can contain text with a reference to a font like Arial or Helvetica. But the font itself is not included in the svg file, so you need to install the font on every computer that opens the svg file to render the text correctly. That's why you should convert the text to outlines/paths, so you don't need to install the font anymore on every computer that opens the svg file.

 
 

What is Inkscape and I should I worry about where to download the logo?

Inkscape is an editor for vector images. You can download this software for free at https://inkscape.org/en/

Paint.net, Photoshop, etc are editors for bitmap images.

 

I hope you understand by now that vector images are the preferrable format for most logos, cause you can scale the logos to a bigger size without losing quality or sharpness.

It's preferable to look for logos in vector format, there are different vector file types, for example ai-files, eps-files, pdf-files or svg-files.

 

Most big tv broadcasters provide at least one public website where you can download logos in vector format. For example: http://pers.vrt.be/fotoweb/index.html and http://www.persgroep.be/logos

You can also find vector logos in brochures and folders of tv providers, for example: https://www.online.n...t-W-klanten.pdf https://www.freeview...ANNEL_GUIDE.pdf and http://www.movistar....aTiendaCast.pdf or http://www.tivusat.t...ivusat-2015.pdf

 

Do you have to contribute all types (default, light, dark, black and white)?

No, you should at least provide the default version.
 

By the way, finding logos >800 px is almost impossible...

I understand, but you should try your best to meet these rules.




#595309 How to use the "extention" with snp-picons?

Posted by charlesduco on 2 October 2016 - 07:14

I think Alex_NL has not yet viewed the complete source of https://github.com/picons

 

First step to understand how everything works is downloading the complete source of the project. Click the green download button on github and download the master zip (https://github.com/p...hive/master.zip)

 

Unzip the archive and take a look at the source.

 

And if you wan't to provide some new logos or entries for srp-index and snp-index, read, understand and learn the contributing guide by heart.

 

I hope to see a post form Alex_NL soon at https://github.com/picons/picons-source/issues/122




#540085 Mistake with the image build Bootlogo

Posted by charlesduco on 31 March 2016 - 20:36

I fixed the error for my personal build, like this:

 

Downloaded the creative common license in the base directory /openpli-oe-core: http://creativecommo...0/legalcode.txt en saved it as CC-BY-NC-ND4.0

Changed /openpli-oe-core/meta-openpli/recipes-openpli/bootlogo/openpli-bootlogo.bb:

LICENSE = "CC-BY-NC-ND4.0"
LIC_FILES_CHKSUM = "file://${OPENPLI_BASE}/CC-BY-NC-ND4.0;md5=8009795292660aa9c8da059e5b1581c1"



#303518 Standaard PLI Skin..

Posted by charlesduco on 2 October 2012 - 17:10

Ik heb voorlopig nog geen account op github. (ik ga alvast binnenkort eens kijken hoe dat werkt)

Na verder onderzoek is die 'session.VideoPicture'-regel wel van belang want anders is een verdonkerd videobeeld links/rechts nog zichtbaar naast een foto met een andere beeldverhouding dan het tv-scherm.

Het probleem met flikkerende foto's verdwijnt ook als je de 'size' op 0 zet en daarmee is het videobeeld ook volledig weg. Dus misschien een betere oplossing:
<widget source="session.VideoPicture" backgroundColor="transparent" position="-5,-5" render="Pig" size="0,0" zPosition="1" />

Dit werkt alvast met VU+ Duo en SCART-aansluiting. Hopelijk werkt het ook met andere configuraties, maar dat zien we dan binnenkort wel als de aanpassing wordt doorgevoerd door het ontwikkelingsteam.