Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Satellite TV receivers & systems support forums
Analogue systems
Want to resurrect your D/D2 MAC kit?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Captain Jack" data-source="post: 1016747" data-attributes="member: 243342"><p>Thanks Phil. Will check it out. I am following you on github, so looking in there now and again.</p><p></p><p>In the meantime, I've been playing some more with video sources. One of the main things I've noticed is that various videos appeared stretched depending on the source. Obviously, ffmpeg was simply taking the input and passing it to the frame handler/resizer unchanged, so I needed to run the video past some filter to resize/pad the edges depending on source's aspect ratio.</p><p></p><p>This took me pretty much most of the Bank holiday weekend to work out - libavfilter's docs are not simple for the novice! Eventually I managed to pass the decoded frames through a filter graph to add padding and scaling and pass it back to frame handler.</p><p></p><p>While I was there, I thought I'd add some overlays in form of logos. My absolute favourite one is that of TV1000 from 1994/1995 - it's a simple and small black and white logo, which sat neatly in top left corner (not great for screen burn-ins though!). Various incarnations after that - and they seem to change every year - are a bit rubbish and uninspiring. A logo can be any png file (or any format that libavfilter/codec will accept - even a movie file!) - some channel logos are available online in vector format, so can be resized and coloured very easily.</p><p></p><p>(The code for everything is *extremely* ugly! Logos' filenames are hardcoded and have to recompile every time I change it - so need to add it as switch parameters. Happy to send it to you if you think any of it is useful.)</p><p></p><p>Here's the result - see if you can spot the logos <img src="https://www.satellites.co.uk/styles/default/xenforo/smilies/smile.png" class="smilie" loading="lazy" alt=":)" title="Smile :)" data-shortname=":)" />:-</p><p></p><p>[MEDIA=youtube]jJB22kvP1tk[/MEDIA]</p></blockquote><p></p>
[QUOTE="Captain Jack, post: 1016747, member: 243342"] Thanks Phil. Will check it out. I am following you on github, so looking in there now and again. In the meantime, I've been playing some more with video sources. One of the main things I've noticed is that various videos appeared stretched depending on the source. Obviously, ffmpeg was simply taking the input and passing it to the frame handler/resizer unchanged, so I needed to run the video past some filter to resize/pad the edges depending on source's aspect ratio. This took me pretty much most of the Bank holiday weekend to work out - libavfilter's docs are not simple for the novice! Eventually I managed to pass the decoded frames through a filter graph to add padding and scaling and pass it back to frame handler. While I was there, I thought I'd add some overlays in form of logos. My absolute favourite one is that of TV1000 from 1994/1995 - it's a simple and small black and white logo, which sat neatly in top left corner (not great for screen burn-ins though!). Various incarnations after that - and they seem to change every year - are a bit rubbish and uninspiring. A logo can be any png file (or any format that libavfilter/codec will accept - even a movie file!) - some channel logos are available online in vector format, so can be resized and coloured very easily. (The code for everything is *extremely* ugly! Logos' filenames are hardcoded and have to recompile every time I change it - so need to add it as switch parameters. Happy to send it to you if you think any of it is useful.) Here's the result - see if you can spot the logos :):- [MEDIA=youtube]jJB22kvP1tk[/MEDIA] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Satellite TV receivers & systems support forums
Analogue systems
Want to resurrect your D/D2 MAC kit?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top