How I created this large course of 25 chapters (process automation)

cancel
Showing results for 
Search instead for 
Did you mean: 

How I created this large course of 25 chapters (process automation)

Greetings dear Instructors and Managers,

 

Am really happy to announce that my 1st course on Udemy is Live. It took me 50 days to create this 25 chapters (C Language course). It was a great learning experience though. I think it was not a huge achievement when it comes to duration I spent because I was learning a lot about tools, it was not easy for me in the beginning because I had no idea how to record  audio / screen correctly, how to enhance an audio, etc. In the beginning when my 20 years old son started helping me editing videos it was fine, but when number of videos started to grow to hundreds it was not manual job anymore. So started writing scripts and stated automating my process.

 

Enhance Audio - I tried many software including audacity, and spent hours and hours to figure out a way to do it in batch on command-line but every time result was different on separate audio files. So I found out that if I extract all audios from all lectures and make their IDS, I can enhance them using online adobe audio enhancement tool, I used it and enhanced all audios altogether [noise was gone and sound was normalized].

 

Now there's a problem Boss! And that is, the enhanced audios have a very low volume, that was the time when I started writing my custom scripts to do all the stuff of hundreds of files altogether !

 

NOTE: I will gladly supply / upload all script files and tools (that are open source), and will love to create a free course about all this [if you think I should].

 

What scripts I created for batch processing?

I had a separate folder for each chapter [section], so there wasn't any mess, all new enhanced video / audio was going in their respective folder's sub-folder.

 

1. Enhance Volume of enhanced Audio, take it's respective video and replace old audio with enhanced one . Boost volume to [150% <--  that was my setting]. Put new video file in folder called "ENHANCED".

 

2. What 2nd batch script did is, it first found intro file (in my case I have Introduction to Chapter) and created an intro - A banner actually [shown below] using custom background image, custom logo , custom font, chapter name, description [that comes form a text / json file]; Prepended this banner to Introduction video for 6-7 seconds and added a light background music. Mission accomplished, put new file in folder "READY" that contains final / unloadable stuff. 

i. Chapter intro banner

AliShirani_0-1694573906435.png

ii. Topic banner [w/o bg music] - different background image

AliShirani_0-1694574863208.png

 

These tiny scripts saved me days of work; Secondly this small tools set will save my time in next course.

 

I am also planning to convert these scripts to cross-platform binaries so that anyone can use them.

Actually I found this method to be really ZERO cost, and hours of effort that we do designing splash screens is minimized to a single script runtime.

 

I would eagerly be waiting to know your thoughts on this.

 

 

Kind regards

Ali...

50 Replies

Hi @AliShirani Congratulations !!! 🎉

 

Thank you for sharing your experience during the creation of your course.

May success be with you always!!!

 

Best regards,

Thank you @Bessy .

congratulation

 

Highly appreciated.

hello.first upload chapter wise videos.thanks

Dear Mr. Gaurav Singh,

 

Course has already been deployed and approved. Are you proposing to create a free course on this whole process ? didn't follow what you mean.

 

regards 

A free course would be great! but for starters if you could share your thumbnail/banner script , it would be amazing!

As I can see you already have created  a course on ffmpeg, am heavily using ffmpeg for almost all purposes, except for audio and banner. Banner actually is created using PHP script (GD to be specific), because font rendering of ffmpeg is not good enough.

 

1. create 4k background first 

2. load as image resource in GD using PHP

3. plot your text and watermark / logo

4. render as HD png file.

5. use ffmpeg to create clip by joining above mentioned png + custom music track (7 seconds), export mp4.

6. Join #5 and your lecture video using ffmpeg

Ali - love how you combined your skills with a challenge making a course! I've done the same thing by learning how to edit (first in iMovie, then Davinci)... 

 

Would love to partner with how to document/share this if you're interested - I imagine many folks could benefit from this type of automation.

@Robert_Hean Awesome ! Highly appreciate your concern and interest. Why not go for such a course together. Most welcome.

Nice work Ali!

@peter_dalmaris - Thanks a lot

Congratulation @AliShirani 

@ismailkhuz16 - Thank you sir

Congratulation!🎉  Well done 

@Samreen Nisa Qureshi - Thank Samreen, highly appreciated

Awesome, i recently shared my journey as well, it's documented here, will try some of your suggestions.

You have am amazing vlog and I think you for your comments. Best of luck

Thanks for sharing and Congratulations on your achievement. Creating and launching the first course has a way of creating fulfillment and motivation to do more.

@GertrudeCho465 - thanks a lot , indeed, you are right.

Congratulations and thank you for sharing. Although, I use Audacity to enhance all the the audio files together at once now - I mean stuff like: Bass & Trebble boosting, Noise Reduction, Compression, Normalisation and so on., I learned that lately anyway. When I bring all the files in, I highlight them all, and they become like a single file or an entity, so any setting given is given to all. Just saying in case you want to give it a trial again. And it's pretty fast too, as it is a free tool. All the same, congratulations once again. Happy Udemying!😊

(MDN)
Oracle DBA, APEX Developer & Intructor/Freelancer.

@Michael_D_Nwaogu - Indeed that is great way of enhancing audio, matter of fact is I used audacity just once and I admit am no expert when it comes to audio and video, believe me :). Thus, I had to find a way to automate stuff (that is what I do as SCRUM Master and Project Manager), so I used my rusty programming skills to do that, written some scripts (also because am too lazy to edit each piece of audio / visual manually); Now while recording a second course these scripts are really saving a lot of my time, am just running these scripts (in batches), and immediately uploading as number of lectures are ready. Thank you for your message sir !

To all great instructors on Udemy.

I would like to someday upload my scripts and make them opensource, or the best would be to provide you all an user interface where you just type chapter / topic / sub-topic / description, select design, music and system generates and intro for you. Also, gives you a batch file containing command t join newly created intro and your lecture video perfectly.

 

Hope to do this very soon.

Congratulations! There will definitely be people who are stuck with the language barrier. So your students will be grateful the more subtitles you have in different languages.

In fact, you reminded me of very important topic sir. I have a small automation of generating vtt and srt subtitles and am still uploading them manually, I plan to automate this too.

 

Thank you for your input

Hey @AliShirani I admire your method, it would even make things faster, I was only trying to encourage those on Audacity now, and that they could achieve some good results with it as well, while they can always upgrade perhaps later at their convenience, so far they work.😊

There seems to be no time; I preach, "start from where you are...." . Never mind, just joking.😄

Thank you once again for sharing, sir.

Thank you.

(MDN)
Oracle DBA, APEX Developer & Intructor/Freelancer.

🙂 Boss, even that method of yours by filtering all audios at once is promising and may save a lot of time; We can write a script that may combine existing videos + chunk from that long audio created from audacity (in fact files must be in correct sequence just the way in audio 1,2,3,4......).

 

It was great talking to you sir !

 

 

And my last opinion on you creating a course on this☝, you have a new course already, congratulations. I can't see anything stopping you from creating a course on what you've just shared with us - it would solve problems.

Please I will like to have the scripts, let me see how they can help me too. Thank you for sharing, sir

Good luck in all your endeavours 💪.

You are doing great. 🤩

(MDN)
Oracle DBA, APEX Developer & Intructor/Freelancer.

@Michael_D_Nwaogu  - Very soon, most probably right after the current course (in-progress). Am planning to release couple of chapters as part 1 to be honest as I still have a lot pending to be recorded.

Scripts: for sure, I just refined couple of scripts to save more execution time. You just need minimal of PHP with GD & ffmpeg only as core of scripts. 

 

I will surely be doing that boss.

Best regards

@AliShirani Awesome👍 More grease to your elbow, sir. Thank you, I will be waiting to hear from you as for the medium to share the files. You made mention of JSON too, right?

(MDN)
Oracle DBA, APEX Developer & Intructor/Freelancer.

@Michael_D_Nwaogu 

JSON: I meant configuration (basic settings of batch processor NOT the muxer that replaces updated audio files), 2 major scripts practically. I will make it use windows INI files which has very less chance of error.

 

regards

congratulation publishing your first course, Yes the video Editing is a panful process, I still struggling do that, but for me the hard work is to clean the mistakes and the Eh or the wrong and repeated  words.

The noise remove and normalizing is easy for me as it take 30 second with audacity for every audio, the real process is on Camtasia trying the fix error and sync the audio with the video or the slide. 

@FettahBen - Thank you so much for appreciation. Indeed it is continuous learning experience.

 

I am trying my best extract the pattern of noise profile within audios (using different tools), problem starts when you do not have silent portion in audio in the beginning. My second concern is boosting volume + enhance audio to studio standard (which adobe podcast does), I want to do all the stuff from command-line even if it produces 80%+ results it is perfect, we can tune it gradually. (Goal reduce said 30 seconds job to 10ms).

 

Kind regards

For audacity noise profile you can get it from any part of the audio not just the 1st silent portion in audio in the beginning. you can select any part of the silent portion in audio and use it as a noise profile.

I am talking about getting profile from whole audio collectively and intelligently which "sox" does automatically. Most importantly using command-line not GUI.

@FettahBen 😊😅🤣 I can feel what you saying, brother. Rome is not built in a day really. Salute to the senior instructors, I must say.

(MDN)
Oracle DBA, APEX Developer & Intructor/Freelancer.

@FettahBen @Michael_D_Nwaogu @goyashy @Robert_Hean 

 

Can any amongst respected instructors please attach / send 5 seconds long audio that has noise ? for testing purposes (especially the sample that you may have later updated using audacity, I will need original noisy one), this research will benefit all of us.

 

Actually noise profile creation using SoX is not clear to me because the samples am testing my own samples that do not have noise at all.

 

regards

The noise is not the same. Is is in relation about you mic 🎤  and your atmosphere and you PC. For exemple a laptop with battery have less statistics noise than a pluging laptop. Some mic have noise reduction automatically and some has not. 

Just start recording you voice in audacity and stay silent for 10 second. That 10 seconds is you noise profile. 

@FettahBen - Indeed, but "sox" can auto-detect (consecutive distortion chunks,) create a noise profile that mostly is correct with proper narration untouched. I did, and since I have filtered microphone  I don't have this problem mostly except for requirement to boost volume. i just got a sample from web and reduced noise to absolutely ZERO. Let me someway attach samples (before & after) or upload somewhere and link here. I want this to be part of automation process (in fact no none goes in crowded market to record their lecture lol, but as far small noise, that I think can be reduced perfectly). Give a try to sox please Mr. Fettah.

 

regards

Audio noise reduction process test results (public domain audio sample):

 

ORIGINAL : https://tinkle.wiki/original.mp3

NO-NOISE: https://tinkle.wiki/noise-removed.mp3

 

Will try incorporating this mechanism in automation.

 

@Michael_D_Nwaogu @Robert_Hean @FettahBen 

I think that the "SOX" is a Linux command and I'm not a Linux gay, 

For the example you share I got the same result using audacity  by applying the noise reduction option as in this tutorial and just using the default values:

https://www.youtube.com/watch?v=10FFKl_0GSA

From the example you share its look like you need another good mic to avoid that strong voice, I was straggling with my old mic too, now I'm using a good quality mic, getting a good voice recording plus auto noise reduction, meaning the mic record only my voice and not the entourage voices.

@FettahBen - sox is cross-platform, I tested it on Microsoft Windows and sent you guys results. There are many software out there and best amongst those is audacity, but the thing is saving editing time and concentrating on publishing. When I have to record using OBS I won't be running audacity at the same time, it becomes confusing. I hope you get the point.

Bit late on the reply, but that's a solid reduction in background static/etc!

 

I've managed to eliminate most of it via preamps, but if it can be done with scripts and cheaper equipment thats amazing.

In fact am doing it win no cost boss ! Your response is appreciated.

Wow, @AliShirani besides the little decrease in the volume, which I think could be boosted up if needed, the background noise vanished. Nice one.

(MDN)
Oracle DBA, APEX Developer & Intructor/Freelancer.

@Michael_D_Nwaogu In fact boosting volume is not an issue, but the reduced volume you are noticing is due to noise gone. Thank you for review. Best would be if you guys can provide me real samples (although short).

 

Thank you

Thanks for sharing. I learned one or two things.

My pleasure

Thanks for the idea of using Enhance Speech from Adobe! It was just what I needed for two of my lectures, the sound had background noise and I didn't have a good room noise print.

cancel
Showing results for 
Search instead for 
Did you mean: 
Stories and inspiration
Pull up a seat and chat with your fellow instructors. This is a great place to get to know each other, swap stories, and just relax.