Late night Cubing...

It's been a while since I've posted something here. My old company decided to (finally) let me go, so I'm currently no longer working as an underpaid IT-Sys-Admin with boreout-syndrome. I don't know where I'm going now or what I'm doing next, got some job offers and need to check them out. My recent project had something to do with ffmpeg and a script to automate a simple process. I do download a lot of .ts files (Transport Stream which is specified for MPEG-2 and includes video, audio and data information), but always have some sound, video or playback issues. So I had to manually convert them with ffmpeg and a big string which includes convert-information just like: where is the file located? what video / audio codec should it be converted to? what the new file location? e.g. E:\ffmpeg\ffmpeg.exe -i D:\test.ts -c:v copy -bsf:a aac_adtstoasc D:\test.mp4 So I thought about it and tried to code a simple script to search for all files with a .ts extension in the given file location and automatically convert them from .ts to .mp4. I don't think there is much more to say about the script, if you have basic knowledge in Python it should be clear. But one thing I want to mention and I also learned during my session is about subprocess. For the actual process, ffmpeg needs to be run in cmd / terminal, so you need to use the module subprocess in python. If you use subprocess, you need feed the module those parameters just like you would enter them into them commandprompt - as a normal string, except variables. Just take a look at the script and test it for yourself, its really cool and maybe I will use this module more than once in the future. Thats all for now. I try to post more and frequently, but first I have to take care of my private life and get a new job soon. • • • • • #coding #codinglife #codingisfun #codingpics #coder #coderlife #programmer #programmers #programmerslife #programmerlife #programmerhumor #programming #programmings #programminglife #nerd #geek #tech #developer #dev #CodeNeurs #programmerrepublic

Facebook, Google, Twitter and Microsoft have announced a new initiative called The Data Transfer Project that allows users to move content, contacts and more across apps. The project has the potential to create an industry standard for data portability and could force companies to compete on utility, instead of trapping users in data lock-ins that make it difficult to switch services. 📱 From porting playlists in music streaming services, to health data from fitness trackers, to our massive libraries of photos and videos, the DTP could be a huge advantage for startups. Tech giants currently hold the upper hand in popularizing new features because of their ability to instantly connect a user’s profile to an app. However, if the DTP gains industry-wide momentum and its founding partners cooperate in good faith, it could lower the barrier for people to experiment with new apps. Meanwhile,the tech giants could argue against government regulation because DTP allows users to freely choose whichever app best competes for their data and attention.👩🏽‍💻 From @techcrunch #coding #coder #programmer #programmers #programming

Companies are using artificial intelligence in Wall Street, Banking, hospital. Most important of A. I. will be on Farming, because this sector has not seen major disruption for years, so the place for innovation is vast. COMMENT :- What will change after 10 years in farms? _________________________________________ #artificialintelligence #ai #machinelearning #deeplearning #cs #it #python #R #iot #blockchain #boats #robots #programming #coding #programmers #tech #farming #farm #aiinfarming #technology #bigdata #data #programmerslife #datascience #coder #itscoming

Do you like fast internet? Well good news, AT&T is working on faster 5G networks that are designed to launch around the next of end year! No more waiting for IG posts to load!

Slightly better Edit 🤔