Tag Archives: video

Play DASH video and DASH audio at the same time using VLC

VLC playing DASH video and DASH audio at the same time

As you may know, you can download youtube video using http://vrank.org/. The advantage of http://vrank.org/ over http://ytconv.net/ is that vrank allow you to download the video in their original format supplied by youtube. The one we will discuss is about DASH video and DASH audio formats. They are high quality video and audio formats but it has drawback: when you download a video in DASH video format you can’t hear any sound AND when you download in DASH audio format, you can’t see any video (obviously!).

DASH video and DASH audio formats option in vrank.org

DASH video and DASH audio formats option in vrank.org

Why? Well, the simple answer is: google/youtube separate the video into two stream: video and audio. So, when you are streaming a youtube video (using browser) in high quality format (720p and up), you actually download/stream from two different files.

Now, how can you play these two files (DASH video and DASH audio) at the same time? We will use VLC to do this!

  • Let’s assume you already downloaded the two files (DASH audio and video)
  • Open VLC
  • Access Menu: Media –> Open Multiple Files…
VLC: Media --> Open Multiple Files...

VLC: Media –> Open Multiple Files…

  • A new empty “Open Media” window will be opened, click on that “Add” button then browse and select your first file (could be DASH video or DASH audio file, not in particular order)
VLC: Open Media window

VLC: Open Media window

  • Check/click/activate “Show more options” checkbox
VLC: show more options checkbox

VLC: show more options checkbox

  • Check/click/activate “Play another media synchronously …” then click on “Browse…” button
VLC: play other media synchronously

VLC: play other media synchronously

  • A new empty “Open Media” window will be opened. Click “Add“, browse to your second files (either DASH audio or DASH video depended on your first opened file). Then click “Select” button (the button will become active/clickable after you choose your second file), this second “Open Media” window will be automatically closed.
VLS: a new empty "Open Media" window

VLS: a new empty “Open Media” window

  • Now, you’ll have the two files chosen and listed on the first “Open Media” window. You may click “Play” button.
VLC: two files is selected

VLC: two files is selected

VLC will play those two files synchronously, you may check it via VLC menu: Tools –> Codec Information, there will be two stream played together.

VLC playing DASH video and DASH audio at the same time

VLC playing DASH video and DASH audio at the same time

 

Ytconv.net added new 3GP video format

Yes, YtConv.net already supported 3gp video format. The new 3gp format is subsidary.
What’s the different from the old 3gp:

  1. different video resolution. it’s 240p, the video size (width x height) is 320×240
  2. better video quality
  3. guarantee that you will not get any ‘server is busy’ message that you usually see when converting to the old 3gp format. The 3GP video is taken directly from Youtube server, therefore no need to convert it first.
  4. faster conversion, in fact, it’s instant after grabbing progress is completed.
  5. in many case, the file size is smaller than the old one.

However, there are some drawbacks:

  1. the video might not be playable in old phone (I haven’t tested it on old Nokia phone, the video is playable in Nokia Asha 303)
  2. the grabbing progress take longer than the old one. That’s because the 3gp video taken directly from Google/Youtube server without converting it in YtConv server.
  3. monotonous audio channel (this is default from Youtube) and the audio rate is only at 22KHz. So, the audio quality might be worse from the old one.

If you are using YtConv advanced tricks, the “hq” parameter for this new 3gp format is 6

Pro tips using YtConv.net

YTConv.net is a website that provide free service to convert your Youtube video into an mp3, mp4, flv, 3gp and avi. The converted video then can be downloaded into your PC or mobile phone.

Tips #1 : Access YTconv.net faster simply by changing “youtube.com” into “ytconv.net” in your video URL.
Example:
you want to convert this video: http://www.youtube.com/watch?v=YVw7eJ0vGfM into an mp3, you just need to change word “youtube.com” from the URL into “ytconv.net”, so, your new URL would be: http://www.ytconv.net/watch?v=YVw7eJ0vGfM
Open this new URL into your browser, see what happened 😀

Tips #2: this is complementary for tips #1, suppose you want to convert to other format other than mp3, you need to add “&hq=” into your new URL. This is the full list of “&hq=” value:
&hq=0 –> convert into mp3 (192kbps)
&hq=1 –> convert into mp3 (256kbps)
&hq=2 –> convert into flv
&hq=3 –> convert into 3gp
&hq=4 –> convert into mp4
&hq=5 –> convert into avi

Example:
you want to convert this video: http://www.youtube.com/watch?v=YVw7eJ0vGfM into an mp4, you just need to change word “youtube.com” from the URL into “ytconv.net” and add “&hq=4” into the URL, so, your new URL would be: http://www.ytconv.net/watch?v=YVw7eJ0vGfM&hq=4
Open this new URL into your browser, see what happened 😀

Tips #3: bypass Adf.ly ads. If you, for some reason (such as: the countdown counter did not work), do not want to see adf.ly ads when you click on “DOWNLOAD” button, then do not click the “DOWNLOAD” button. Instead, wait for 60 seconds and then the download will start automatically without needing to see any adf.ly ads.

Tips #4: always download the file from ytconv.net using download accelerator. It is compatible for most common download accelerator. If you don’t want to install any, you can always use DownThemAll add-on for Firefox.

 

That’s it for now.. I’m tired…

How to extract embedded subtitles (.srt/.ass) from MKV files

Here’s the trouble:

  • I had downloaded some movie in MKV format and I want to watch it with my whole family in my standard DVD player that can’t play MKV file.
  • The movie already had multilingual subtitles embedded on it (not separated .srt file) and I want to extract it so the subtitles will appear on the DVD.
  • My favorite video converter application (winFF and Handbrake) can’t extract and re-embed the subtitles into target video (.avi divx).
  • So, I use winFF to convert MKV file into .AVI (divx) file then somehow I need to extract that subtitle from the MKV.

FYI: I’m using Ubuntu 10.04 to do all these commands

Here’s the step you need to do to extract subtitle (.srt) from a MKV movie:


[1] Install mkvtoolnix to manipulate MKV movie


[2] get info about ‘tracks’ available in the MKV movie using mkvinfo tool, example:

You’ll get output like these:

As you may notice from the output, there are 5 ‘tracks’ available in the MKV: track #1 is the video(H.264), track #2 is the audio (AAC), track #3 is subtitle, track #4 is subtitle in French and track #5 is subtitle in Spanish


[3] So, it’s clear, well extract track #3 which is a subtitle (although no language mentioned, it’s in English). To do that, use mkvextract command (for example):

that command above will produce The.Last.Airbender.2010.DVDRip.srt which is the subtitle I want.


[4] One last step is to make sure that the file is in MSDOS (CR-LF) format by using ‘flip’ command (if you haven’t install it yet, do it using sudo apt-get install flip):

Now, you’re ready to pair-up the subtitle with the converted video from winFF!
Note: notice that the subtitle codec is S_TEXT/UTF8, if you found another MKV that has subtitle with codec S_TEXT/SSA or S_TEXT/ASS the the subtitle should be in SSA/ASS format respectively (.ssa/.ass)