Posts Tagged ‘linux’

How to use ffmpeg to avoid having to open cinelerra to do simple video tasks, also I am starting a new channel on Youtube

November 14, 2016

I wanted to save the “workflow” I used for my last video.

Video? Oh yeah, I started a new Youtube channel. It’s just for practice. I want to get a cam-audio guitar practice vid up as close to daily as possible.

The channel is here:

I also have an old channel that I still upload to, in case you were wondering:

The first video I put up I used my full-featured nonlinear video-editing software of choice, cinelerra. But all I even *used* it for was to crop the beginning and end!

That first video is here:

I’m practicing an acoustic version of “The Suburbs” by Arcade Fire. I feel like the world is going to come to an end in a few days or weeks or months or years and in that mindset I am beginning to reinterpret some of the lyrics to this song in new ways.

For the second video, I was smarter, and did everything in the command line.

The second video is here:

I’m practicing “Suzanne” by Leonard Cohen. I’m pretty torn up about his passing and I want to learn his songs because I respect him so much.

Walker’s instructions for how to make simple videos:

  1. Record the video on your Flip cam.
  2. Get the file into a linux or mac computer with ffmpeg installed.
  3. Use the following command to take the audio out of the video:
    ffmpeg -i videofile.MP4 audiofile.wav
  4. Open the audio file in audacity. Apply noise reduction, then very light compression, then very light equalization (roll off extreme lows). Export to newaudio.wav
  5. Use the following command to remux the old video with the new audio AND trim the video:
    ffmpeg -i videofile.MP4 -i newaudio.wav -map 0:v -map 1:a -codec copy -ss 00:00:00 -t 00:04:00 remuxedvid.mkv
    Take note that one should replace “00:00:00” with the intended start time. Everything before that will be trimmed. “00:04:00” should be replaced with the total time. Everything after [start + total] time will be trimmed as well.

Compared to the first time around, I avoided 15 minutes of rendering and 15 minutes of reencoding. So using ffmpeg as much as possible and cinelerra as little as possible is usually the most time-optimal solution.

Also, by being sneaky I did all of this using the flip cam’s space. No need to delete temp files from two¬†locations.

Walker’s new rule for doing video work: Do you need to composit something? Then use cinelerra. If you do not, then do not use cinelerra.


And Stuff Episode 008: Fast Paste Environment

January 7, 2016

This time we talk about … stuff?

Listen to And Stuff E08: Fast Paste Environment on Overcast.


@andstuffpodcast on twitter


Smonday Smnapshot #5

July 20, 2015

Ugh, I’m late again. I’ve been kind of “detoxing” from supplements, and also from caffeine and alcohol. Unfortunately if I don’t have any caffeine then basically I sleep all day. Tianeptine still seems to be working. I seriously don’t understand why it isn’t a first-line treatment for a whole slew of mental conditions.

Another thing I did in the past few days is completely upgrade my netbook to Debian 8.1 “jessie”. It’s made a lot of workarounds I had to do in 7.8 “wheezy” unnecessary, which makes me so happy. I wanted to install it on my girlfriend’s netbook also but I’m encountering a weird error. Enjoyed getting everything set up today–I might make a post just for myself to remember all the things I do to get a system the way I like it.

One thing that sucked is that when I installed Wheezy I didn’t allocate enough space to the root partition, so I had to do a fresh install for Jessie instead of “upgrading in place”, which is what I was able to do on my main desktop.

Also she got a new phone, so I took her old one. It’s the same model as my old one, but mine … has a broken screen. So that’s nice.

Smunday Snapshot


Listened to an old episode of App Story and Vic actually talks about Pragmatic, which is kind of hilarious because he later became a cohost on Pragmatic.


Barely read anything. I want to actually read some of the stuff on Gutenberg that Cameron has been reading, but haven’t gotten around to it.

Pens and notebooks:


Still loving the green-black Diamine ink in my Platinum Preppy 03. Not really much to say on the pen front other than I’ve gotten in the habit of using a dark red Pilot Juice 0.4mm in a “daily carry” kind of sense. Clipping it in my back pocket next to my field notes is less uncomfortable that one might expect.


Actually watched the original Buffy the Vampire Slayer movie the other day. It’s so bad but it brought such great things, so … whatever. I think Joss said that the movie isn’t in the same canon as the show, but the original screenplay for the movie is. Hence mentions in the show of the gym getting burned down but that never happens in the movie, etc.

Content Created:

  • Podcasting: Episode 004 of And Stuff, but I already posted about it.

Smunday Specie

Didn’t do any coding yet, but I did migrate all of my bots to dropbox so I can run them from any computer.

Smunday Statuses (omnifocus)

Project statuses:

      • Hate this class. Test on Wednesday, gotta start cramming basically now.
      • I cycled 7.7 miles last week. Previous weeks were 6.9, 11.17, 12.54.
      • Web presence was meh.
      • Podcast was uploaded two days late and blogged about four days late, but it got done so it’s not the end of the world.
      • Haven’t worked any on guitar amp.
      • Finished desk joinery. Need to plane and sand a bit and then glue it to the top next.
      • I started being stricter about diet. Eating powderchow every morning and baking chicken every night and having eggs for lunch. Now I just have to cut back on the snacking and the beer and I’ll probably get my body fat percentage where I want it. Apparently in the past month I’ve gained about ten pounds, so yeah.
      • I’m up to doing 4 sun salutations every day and 30 pushups and 45 situps every other day. Kind of need to get a pullup bar or something though.
      • Applied for a job. No call yet so I might go apply to the other location.