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".</p>

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...

«1

Comments

  • Bessy
    Bessy Posts: 845 Udemy rank

    Hi @AliShirani
    Congratulations !!!

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

    May success be with you always!!!

    Best regards,

  • congratulation

  • 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

  • Highly appreciated.

  • Thank you @Bessy
    .

  • 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.

  • Nice work Ali!

  • Congratulation @AliShirani

  • Congratulation! Well done

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

  • 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.

  • 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!

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

  • @peter_dalmaris
    - Thanks a lot

  • @ismailkhuz16
    - Thank you sir

  • @Samreen Nisa Qureshi
    - Thank Samreen, highly appreciated

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

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

  • @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.

  • 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. 🤩

  • @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?