LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating video snippets in Linux (https://www.linuxquestions.org/questions/linux-newbie-8/creating-video-snippets-in-linux-4175521971/)

rmcellig 10-13-2014 10:12 AM

Creating video snippets in Linux
 
At present I am using the following distros:

lxle 64bit
linuxlite 2.0 64 bit
Debian 7 xfce 32 bit

For many years I have been using my Mac to create video snippets from movies using MPEG Streamclip. It's fast and works very well.

Now that I spend the majority of my computer time in Linux, I would like to know what I can use. I have tried Avidemux but you have to compile the latest version to use it. I also experienced audio syncing problems.


When I switched from the Mac to Linux one of the apps I was searching out was an audio recorder with a scheduling feature. To my utter delight, I discovered the CLI tool arecord and have been using it ever since. Simple and it works! And I am pretty new to the terminal so this is a big deal for me.

I'm hoping to find something similar when it comes to creating video snippets in Linux. I heard of ffmpeg. I just need to hear back from someone who actually uses a cli tool to create video snippets.

I have been looking a guide that would walk me through the process. I am a quick learner. A recommended video would be even better so that I can actually see how this is done.

My videos are in avi, mkv, mp4 and mov formats

Once I am confident that I can use the command line, I will no longer have any use for my aging Mac.

Thanks so much for the help!!!

teckk 10-13-2014 10:26 AM

Sure ffmpeg will dump a portion of a video to file.
Video from 00:01:15 to 00:01:25
Code:

ffmpeg -i video.avi -ss 00:01:15 -t 00:00:10 -c copy NewVid.avi
https://www.ffmpeg.org/ffmpeg.html
http://linux.die.net/man/1/ffmpeg
http://www.commandlinefu.com/
https://trac.ffmpeg.org/wiki/TitleIndex

schneidz 10-13-2014 10:39 AM

also check out xvidenc/h264enc they are essentially mencoder on training wheels. it prompts the user for every option so the first time you run it it will take about 5 minutes to answer each question. but it saves the output script so you can just execute that instead of answering questions each time.


All times are GMT -5. The time now is 10:51 PM.