Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-15-2010, 03:15 AM   #1
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 624

Rep: Reputation: 144Reputation: 144
condensing mp2 files

Hi, I have copied some vides from my camcorder and the size seems a bit excessive - 140mb for 3 mins! Is there a program I can use to save the .mp2 file as .mpg and reduce the size?
Old 08-15-2010, 12:03 PM   #2
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
What you are talking about is transcoding the file to a lower bitrate. You could use an application such as handbrake to do it.

Last edited by rjwilmsi; 08-15-2010 at 12:03 PM. Reason: typo
Old 08-15-2010, 12:50 PM   #3
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,826

Rep: Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973
Also, your terminology is not clear. .mp2 and .mp3 generally refer to the audio-only parts of the mpeg-1/2 standard (they are short for "mpeg-1, audio layer II/III"), usually when taken separately from the video, while .mpg usually refers to the container file that holds both audio and video together, with the video being in encoded in mpeg1 or (more likely these days) mpeg2.

However, there's also the newer mpeg-4 standard, which many camcorders encode to. Unlike the above, .mp4 generally refers to the container format used, which means they are usually combined audio/video files, although they can be audio-only as well. The video inside .mp4 files is usually some form of h.264 codec, and the audio is probably .aac.

So it would help to know exactly what type of media you're referring to. The cli (or file info) output of your media player should be able to tell you what the parameters of the file are. If you have ffmpeg, for example, try using "ffmpeg -i filename" and show us the "input" part of the printout.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Condensing with Open Text Summarizer LXer Syndicated Linux News 0 12-16-2008 02:20 AM
LXer: Condensing Perl Scripts In Linux and Unix LXer Syndicated Linux News 0 09-15-2008 02:50 AM
MP2 to MP3. What bit rate? arubin General 5 05-25-2006 04:45 AM
Condensing Perl Script Poetics Programming 3 04-21-2006 10:54 PM
Converting mp3 audio to mp2 MG-Cloud Linux - General 3 05-08-2004 10:16 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:38 PM.

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