LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2016, 05:02 PM   #1
hscfhasc
LQ Newbie
 
Registered: Aug 2016
Posts: 1

Rep: Reputation: Disabled
how to split large mpeg file (9 gb) in just two parts by ffmpeg


how to split large mpeg file (9 gb) in just two parts by ffmpeg
 
Old 08-06-2016, 01:25 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi and welcome to LQ

You can use the following to find the video duration in seconds
Code:
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 the-9G-video.mpeg
Then based on the output use this script to cut the video in half

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I want to split a movie in multiple parts with ffmpeg using a list of time stamps codergeek Programming 2 12-23-2012 04:50 PM
[SOLVED] split huge file into small parts and compress them. xeon123 Linux - General 5 06-02-2011 04:17 AM
[quick] trying to split a large file but linux says it's to large steve51184 Linux - General 16 05-06-2008 07:40 AM
bash: how to split a text file in two unequal parts Humbro Programming 7 11-23-2007 07:15 AM
split a large mpeg file into two zstingx Linux - General 3 11-06-2003 06:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration