[linux] mkv 720p to avi 480p
Register

We are the best invite forum on the internet! Here you will find free invites, free seedboxes, free bonuses, and much more. Our members know the true meaning of sharing and have created a truly global bittorent community! Our site has the most up to date information on all private trackers and our members will guide you and introduce you to this truly secretive and enlightened club. Ready to get started? Register now!


Results 1 to 5 of 5
Like Tree3Likes
  • 3 Post By jmorris

Thread: [linux] mkv 720p to avi 480p

  1. #1

    Join Date
    Oct 2010
    Location
    Torrent-Invites
    Posts
    75

    Default [linux] mkv 720p to avi 480p

    Hi everyone. Today i will teach how make a BRrip with audio Mp3
    (I still can not AC3 but I'll leave the tutorial for those who want to try)

    First, we need some softwares (These steps are for centos / redhat. For other distributions is similar.):

    mkvtoolnix:

    Code:
    yum install mkvtoolnix
    mediainfo
    Code:
    yum install mediainfo libzen0 libmediainfo0
    ffmpeg
    Code:
    yum install ffmpeg ffmpeg-devel
    mencoder
    Code:
    yum install mencoder
    Now we have the tools let's start. (From here is the same for any distribution of Linux)

    I will use the release: Insidious.2010.720p.BluRay.x264.DTS-WiKi

    First with mediainfo we see the height of the video, audio format and IDs:

    Code:
    mediainfo Insidious.2010.720p.BluRay.x264.DTS-WiKi.mkv
    Output:
    Code:
    Video
    ID                               : 1
    Format                           : AVC
    Format/Info                      : Advanced Video Codec
    Format profile                   : High@L4.1
    Format settings, CABAC           : Yes
    Format settings, ReFrames        : 8 frames
    Codec ID                         : V_MPEG4/ISO/AVC
    Duration                         : 1h 42mn
    Bit rate                         : 6 134 Kbps
    Width                            : 1 280 pixels
    Height                           : 534 pixels
    Display aspect ratio             : 2.35:1
    Frame rate                       : 23.976 fps
    Color space                      : YUV
    Chroma subsampling               : 4:2:0
    Bit depth                        : 8 bits
    Scan type                        : Progressive
    Bits/(Pixel*Frame)               : 0.374
    
    Audio
    ID                               : 2
    Format                           : DTS
    Format/Info                      : Digital Theater Systems
    Codec ID                         : A_DTS
    Duration                         : 1h 42mn
    Bit rate mode                    : Constant
    Bit rate                         : 1 510 Kbps
    Channel(s)                       : 6 channels
    Channel positions                : Front: L C R, Side: L R, LFE
    Sampling rate                    : 48.0 KHz
    As we can see the format is DTS.

    Now we separate the video and audio.

    Video:
    Code:
    mkvextract tracks Insidious.2010.720p.BluRay.x264.DTS-WiKi.mkv 1:video.mkv;
    Audio in DTS:
    Code:
    mkvextract tracks Insidious.2010.720p.BluRay.x264.DTS-WiKi.mkv 2:audio.dts;
    AC3 audio if the video had AC3 audio instead of DTS:
    Code:
    mkvextract tracks Insidious.2010.720p.BluRay.x264.DTS-WiKi.mkv 2:audio.ac3;
    Now we will convert audio to MP3:
    Code:
    ffmpeg -i audio.dts -acodec libmp3lame -ar 48000 -ab 320k -ac 2 audio.mp3
    If you want to convert to AC3:
    Code:
    ffmpeg -i audio.dts -acodec ac3 -ac 6 -ab 448k audio.ac3;
    If you want to convert from AC3 to MP3:
    Code:
    ffmpeg -i audio.ac3 -acodec libmp3lame -ar 48000 -ab 320k -ac 2 audio.mp3

    Now we will convert video to AVI:
    Code:
    mencoder video.mkv -nosound -ovc xvid -xvidencopts fixed_quant=2 -vf scale=720:xxx -o video.nosound.avi;
    where is the xxx will put the new height, the length is always the same 720.

    To calculate the height we can use this methods:
    xxx = Original Height / 1.78947 = 534 / 1.78947 = 298 (rounded)

    This step is the most time consuming. It can last between 2hours and 3hours, or more in great movies.

    To finish merge the audio and video:



    Code:
    mencoder video.nosound.avi -ovc copy -oac copy -audiofile audio.mp3 -af volume=11 -o finalName.480p.BRRip.XviD.MP3.avi;

    Any doubts I'm here to clarify.
    Beast9699, SteadySeed and daydada like this.


  2. To remove ads become VIP. Inquire about advertising here.
  3. #2

    Join Date
    Apr 2011
    Posts
    319

    Default Re: [linux] mkv 720p to avi 480p

    dude, how much time does it take to convert one single movie?
    i think its easier to download 480p movies from trackers

    thanks...

  4. #3

    Join Date
    Oct 2010
    Location
    Torrent-Invites
    Posts
    75

    Default Re: [linux] mkv 720p to avi 480p

    On average it takes about 2 to 3 hours. This is for those like me who like to make rips and share.

  5. #4

    Join Date
    Oct 2011
    Location
    Argentina
    Posts
    2

    Default

    excellent, just what I was looking for.

  6. #5

    Join Date
    Jul 2011
    Location
    Honolulu
    Posts
    526

    Default

    Very nice tut J, I will give it a try later today and see how it goes for me. I think I am going to find the smallest 720p vid I can find to start out though...:P

Similar Threads

  1. Replies: 8
    Last Post: November 29th, 2011, 12:22 PM
  2. Mac: How to stream mkv files to your xbox360
    By Stryker in forum Operating Systems
    Replies: 0
    Last Post: October 26th, 2010, 12:21 PM
  3. How to Merge 2CD Releases on Linux
    By Primus Lord in forum Operating Systems
    Replies: 0
    Last Post: March 28th, 2009, 11:08 AM
  4. HOW TO BURN .avi to dvd
    By dazza1227 in forum Audio & Video
    Replies: 22
    Last Post: March 25th, 2009, 03:35 AM
  5. Best way to watch .mkv? with PS3?!
    By coolkensington in forum General Discussion
    Replies: 8
    Last Post: February 27th, 2009, 12:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •