Here’s a quick tip on using Mencoder profiles that serve as shortcuts for all of your favorite settings.This can save you a lot of time, especially when your encoding syntax is lengthy and difficult to remember.Profiles are stored in the [xvid-pass2] profile-desc="MPEG4/MP3 encoding - PASS 2" ovc=xvid=1 xvidencopts=pass=2:max_key_interval=25:vhq=2:bvhq=1:chroma_opt=1:quant_type=mpeg:bitrate=2000 oac=mp3lame=1 lameopts=aq=0:q=0 passlogfile=xvid-pass1.log[x264-pass1] profile-desc="x264 encoding - PASS 1" ovc=x264=1 x264encopts=pass=1:threads=0:subq=1:frameref=1:bframes=3:b_pyramid=normal:weight_b=1:keyint=25 nosound=1 o=/dev/null passlogfile=x264-pass1.log[x264-pass2] profile-desc="x264 encoding - PASS 2" ovc=x264=1 x264encopts=pass=2:threads=0:subq=6:frameref=5:partitions=all:8x8dct=1:me=umh:bframes=3:b_pyramid=normal:weight_b=1:keyint=25:bitrate=2000 oac=mp3lame=1 lameopts=aq=0:q=0 passlogfile=x264-pass1.log[x264] profile-desc="x264 encoding" ovc=x264=1 x264encopts=crf=20:threads=0:subq=6:frameref=5:partitions=all:8x8dct=1:me=umh:bframes=3:b_pyramid=normal:weight_b=1:keyint=25 aspect=16/9 oac=mp3lame=1 lameopts=aq=0:q=0 Posted by admin on November 4, 2014 under Tech Tips | 4 Comments to Read If you would like to add chapters to your video files, such as Xvi D, x264, OGG, etc., simply use the Matroska multimedia container format.

In my search for a tool, I came across this very useful post outlining a similar project.

In the authors quest to do the same thing, he came up with a shell script that searches for all MP3 files, and removes tags that are not in his list of “good” tags.

I usually don’t like to rehash the work someone else has done, but since I use his script so often, I thought it would be useful to repost it with only minor modifications.

If you’re using Ubuntu Linux, install the The easiest method of creating your chapter definitions is with any text editor, using the following format.

Feel free to change the name and time values accordingly. CHAPTER01=.000 CHAPTER01NAME=Chapter 01 CHAPTER02=.000 CHAPTER02NAME=Chapter 02 CHAPTER03=.000 CHAPTER03NAME=Chapter 03 CHAPTER04=.000 CHAPTER04NAME=Chapter 04 CHAPTER05=.000 CHAPTER05NAME=Chapter 05 I typically like to set my default language to English, and also turn off header compression for all tracks since some players don’t play nicely with compression enabled. mkvmerge --default-language eng --compression -1:none --chapters -o mkvmerge v4.2.0 ('No Talking') built on Jul 28 2010 'video.avi': Using the AVI demultiplexer. This may take some time depending on the file's size.

'video.avi' track 0: Using the MPEG-4 part 2 video output module.

'video.avi' track 1: Using the MPEG audio output module. 'video.avi' track 0: Extracted the aspect ratio information from the MPEG4 layer 2 video data and set the display dimensions to 712/416. Now any media player that supports MKV chapters will allow you to navigate them.

Progress: 100% The cue entries (the index) are being written... My favorites are VLC, Mplayer, and my Western Digital media player, the WD TV Live Plus.

Verify the contents of your MKV using mkvinfo + EBML head |+ EBML version: 1 |+ EBML read version: 1 |+ EBML maximum ID length: 4 |+ EBML maximum size length: 8 |+ Doc type: matroska |+ Doc type version: 2 |+ Doc type read version: 2 + Segment, size 1325519138 |+ Seek head (subentries will be skipped) |+ Ebml Void (size: 4029) |+ Segment information | + Timecode scale: 1000000 | + Muxing application: libebml v1.0.0 + libmatroska v1.0.0 | + Writing application: mkvmerge v4.2.0 ('No Talking') built on Jul 28 2010 | + Duration: 5004.680s (.680) | + Date: Thu Aug 5 2010 UTC | + Segment UID: 0x81 0x4b 0xc4 0xf1 0xf4 0x5b 0x6d 0xda 0xc5 0x40 0xc1 0x03 0x3f 0x36 0x0f 0xd9 |+ Segment tracks | + A track | + Track number: 1 | + Track UID: 1318207700 | + Track type: video | + Lacing flag: 0 | + Min Cache: 1 | + Codec ID: V_MS/VFW/FOURCC | + Codec Private, length 40 (Four CC: XVID, 0x44495658) | + Default duration: 40.000ms (25.000 fps for a video track) | + Video track | + Pixel width: 480 | + Pixel height: 416 | + Display width: 712 | + Display height: 416 | + A track | + Track number: 2 | + Track UID: 3206714560 | + Track type: audio | + Codec ID: A_MPEG/L3 | + Default duration: 24.000ms (41.667 fps for a video track) | + Audio track | + Sampling frequency: 48000 | + Channels: 2 |+ Ebml Void (size: 1099) |+ Chapters | + Edition Entry | + Edition Flag Hidden: 0 | + Edition Flag Default: 0 | + Edition UID: 585228242 | + Chapter Atom | + Chapter UID: 4059317607 | + Chapter Time Start: .000000000 | + Chapter Flag Hidden: 0 | + Chapter Flag Enabled: 1 | + Chapter Display | + Chapter String: Chapter 01 | + Chapter Language: eng | + Chapter Atom | + Chapter UID: 3065648262 | + Chapter Time Start: .000000000 | + Chapter Flag Hidden: 0 | + Chapter Flag Enabled: 1 | + Chapter Display | + Chapter String: Chapter 02 | + Chapter Language: eng | + Chapter Atom | + Chapter UID: 2388361707 | + Chapter Time Start: .000000000 | + Chapter Flag Hidden: 0 | + Chapter Flag Enabled: 1 | + Chapter Display | + Chapter String: Chapter 03 | + Chapter Language: eng | + Chapter Atom | + Chapter UID: 1448933008 | + Chapter Time Start: .000000000 | + Chapter Flag Hidden: 0 | + Chapter Flag Enabled: 1 | + Chapter Display | + Chapter String: Chapter 04 | + Chapter Language: eng | + Chapter Atom | + Chapter UID: 1319721142 | + Chapter Time Start: .000000000 | + Chapter Flag Hidden: 0 | + Chapter Flag Enabled: 1 | + Chapter Display | + Chapter String: Chapter 05 | + Chapter Language: eng |+ Ebml Void (size: 101) |+ Cluster Posted by admin on June 20, 2014 under Tech Tips | 14 Comments to Read A while back, I wanted to find a tool that would go through my entire collection of MP3’s and remove all the extra ID3 tags I didn’t want.