Overclock.net › Forums › Software, Programming and Coding › Other Software › subtitles embedding question..
New Posts  All Forums:Forum Nav:

subtitles embedding question..

post #1 of 9
Thread Starter 
so i downloaded arabic subs for a movie and while these subs show up when i play the movie with MPC, they don't when i use WMP instead, that wouldn't have bothered me if i was just watching, but i need to embed the subs into the movie so they show up on my HDTV without having to change the movie's format
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
post #2 of 9
Depends on a few things.

What format are the subs in srt.?
What format is the movie in .avi , .mkv ?
What will you be playing it back on , standalone player/usbHDTV ?
A lot of times if you just change the name of the subs file to the same as the movie it should work.
SoulStorm Brew
(11 items)
 
El Niño
(11 items)
 
 
CPUMotherboardGraphicsRAM
A8 7600 GA-F2A88XN-WIFI Gigabyte windforce gtx 750 ti 2 x 4g GSkill Ripjaws 2133 
Hard DriveCoolingOSMonitor
Sammy 830 128g + 2.5 " Toshiba 1T  Modded stock FX cooler lapped + 92mm Tacens Aur... Sony Bravia 46" 
PowerCaseMouse
420w Tacens radix IV  Silverstone grandia Loves to be touched  
CPUMotherboardGraphicsRAM
Athlon 5350 ASUS AM1I-A itx HD 8400 2 x 2gig Crucial ballistix tactical 1600 
Hard DriveCoolingOSMonitor
Sammy 830 64g + Toshiba 750g 2.5  stock + 120mm Skythe slipstream 32" LG 
KeyboardPowerCase
Tacens Levis  60w brick Akasa Crypto mini ITX 
  hide details  
Reply
SoulStorm Brew
(11 items)
 
El Niño
(11 items)
 
 
CPUMotherboardGraphicsRAM
A8 7600 GA-F2A88XN-WIFI Gigabyte windforce gtx 750 ti 2 x 4g GSkill Ripjaws 2133 
Hard DriveCoolingOSMonitor
Sammy 830 128g + 2.5 " Toshiba 1T  Modded stock FX cooler lapped + 92mm Tacens Aur... Sony Bravia 46" 
PowerCaseMouse
420w Tacens radix IV  Silverstone grandia Loves to be touched  
CPUMotherboardGraphicsRAM
Athlon 5350 ASUS AM1I-A itx HD 8400 2 x 2gig Crucial ballistix tactical 1600 
Hard DriveCoolingOSMonitor
Sammy 830 64g + Toshiba 750g 2.5  stock + 120mm Skythe slipstream 32" LG 
KeyboardPowerCase
Tacens Levis  60w brick Akasa Crypto mini ITX 
  hide details  
Reply
post #3 of 9
Thread Starter 
Quote:
Originally Posted by mr soft View Post

Depends on a few things.
What format are the subs in srt.?
What format is the movie in .avi , .mkv ?
What will you be playing it back on , standalone player/usbHDTV ?
A lot of times if you just change the name of the subs file to the same as the movie it should work.


its srt
the format is avi
using it for USB-HDTV
and i always change the srt file name to the movie name

is MPC messing up things?
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
post #4 of 9
Quote:
its srt
the format is avi
using it for USB-HDTV
and i always change the srt file name to the movie name

is MPC messing up things?

I take it you meant WMP as you said MPC played the subs fine.

Is WMP on your HDTV or are you using a usb port on the HTPC connected to the TV,
I ask because I´ve never seen a TV with WMP integrated.
Either way WMP doesn´t support srt by default, you have to install DirectVobSub


http://www.free-codecs.com/download/DirectVobSub.htm
SoulStorm Brew
(11 items)
 
El Niño
(11 items)
 
 
CPUMotherboardGraphicsRAM
A8 7600 GA-F2A88XN-WIFI Gigabyte windforce gtx 750 ti 2 x 4g GSkill Ripjaws 2133 
Hard DriveCoolingOSMonitor
Sammy 830 128g + 2.5 " Toshiba 1T  Modded stock FX cooler lapped + 92mm Tacens Aur... Sony Bravia 46" 
PowerCaseMouse
420w Tacens radix IV  Silverstone grandia Loves to be touched  
CPUMotherboardGraphicsRAM
Athlon 5350 ASUS AM1I-A itx HD 8400 2 x 2gig Crucial ballistix tactical 1600 
Hard DriveCoolingOSMonitor
Sammy 830 64g + Toshiba 750g 2.5  stock + 120mm Skythe slipstream 32" LG 
KeyboardPowerCase
Tacens Levis  60w brick Akasa Crypto mini ITX 
  hide details  
Reply
SoulStorm Brew
(11 items)
 
El Niño
(11 items)
 
 
CPUMotherboardGraphicsRAM
A8 7600 GA-F2A88XN-WIFI Gigabyte windforce gtx 750 ti 2 x 4g GSkill Ripjaws 2133 
Hard DriveCoolingOSMonitor
Sammy 830 128g + 2.5 " Toshiba 1T  Modded stock FX cooler lapped + 92mm Tacens Aur... Sony Bravia 46" 
PowerCaseMouse
420w Tacens radix IV  Silverstone grandia Loves to be touched  
CPUMotherboardGraphicsRAM
Athlon 5350 ASUS AM1I-A itx HD 8400 2 x 2gig Crucial ballistix tactical 1600 
Hard DriveCoolingOSMonitor
Sammy 830 64g + Toshiba 750g 2.5  stock + 120mm Skythe slipstream 32" LG 
KeyboardPowerCase
Tacens Levis  60w brick Akasa Crypto mini ITX 
  hide details  
Reply
post #5 of 9
If you're trying to play back the video on your TV without using the external .srt subtitles, I recommend burning the subs into the video - this would entail you having to re-encode the video. The process isn't hard at all, but it would require some time depending on your computer CPU speed, resolution of the video, and length.

if you want to avoid the re-encode scenario (and who doesn't?), you could try changing the container to an mp4. I'm not sure how it'll react to having a XviD stream inside a container thats usually meant for h264 streams, but its worth a shot. You can include the .srt file in the mp4 package - which would usually mean the player would auto-load the subtitles.

Furthermore, I could be misunderstanding your problem entirely. If you're just trying to figure out why WMP doesn't play the subtites, while MPC does, then yes, you need DirectVobSub. But why would you try to play it with WMP when MPC does the job? If your computer is connected to your TV via HDMI, then I see no point in using WMP. If however, you're trying to play the AVI with the srt subtitles using a USB drive plugged into your TV, refer to the second paragraph.
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
post #6 of 9
Thread Starter 
Quote:
Originally Posted by mr soft View Post

I take it you meant WMP as you said MPC played the subs fine.
Is WMP on your HDTV or are you using a usb port on the HTPC connected to the TV,
I ask because I´ve never seen a TV with WMP integrated.
Either way WMP doesn´t support srt by default, you have to install DirectVobSub
http://www.free-codecs.com/download/DirectVobSub.htm

yep, WMP won't play the subs on PC,

and there is no WMP on the HDTV, i use a USB stick to transfer AVI files and play them on it,

thanks for the link mate smile.gif
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
post #7 of 9
Thread Starter 
Quote:
Originally Posted by shinigamibob View Post

If you're trying to play back the video on your TV without using the external .srt subtitles, I recommend burning the subs into the video - this would entail you having to re-encode the video. The process isn't hard at all, but it would require some time depending on your computer CPU speed, resolution of the video, and length.
if you want to avoid the re-encode scenario (and who doesn't?), you could try changing the container to an mp4. I'm not sure how it'll react to having a XviD stream inside a container thats usually meant for h264 streams, but its worth a shot. You can include the .srt file in the mp4 package - which would usually mean the player would auto-load the subtitles.
Furthermore, I could be misunderstanding your problem entirely. If you're just trying to figure out why WMP doesn't play the subtites, while MPC does, then yes, you need DirectVobSub. But why would you try to play it with WMP when MPC does the job? If your computer is connected to your TV via HDMI, then I see no point in using WMP. If however, you're trying to play the AVI with the srt subtitles using a USB drive plugged into your TV, refer to the second paragraph.

thanks for the into mate,

as i mentioned before i use a USB stick to play the movies (in AVI format) on my HDTV

anyway, i usually use AVIrecomp to burn in srt subs into the movie, freemake video converter works too but i don't think it has a burn in function and it doesn't work all the time,

anyway, can you suggest and alternative to AVIrecomp?
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
post #8 of 9
My personal favorite is the frameserver AviSynth. Admittedly, it is all based on scripts, so it may seem daunting at first, but I strongly suggest you look into it. You can easily burn the subtitles using an avs (Avisynth) script, then pass that as an input to an command line XviD encoder - most likely xvid_encraw. You'd then have to mux the audio and video separately using ffmpeg to get the final output.

All this sounds very tedious and complicated (and it is to some extent), but its generally a very straight-forward process.

If you do go this route, an example avs script would look like this:
Code:
DirectShowSource ("full_path_to_video.avi")
LoadPlugin(path_to_vsfilter.dll)
TextSub("path_to_subtitles.srt)

Using a program like MeGUI you can then pass that script, select one of the XviD presets, select your audio, and hit "One Click". It should burn your subtitles in, mux the audio, and spit out an avi once its done. MeGUI will take out most of the command line work you'd have to do. The only exception is that you'd have to edit the script I've included to fit your video source paths and such.

Links to programs:

AviSynth: http://avisynth.org (use the x86 version, even if you're x64 compatible)
VSFilter.dll and script: burn-subs.zip 563k .zip file
MeGUI: http://sourceforge.net/projects/megui/

EDIT: Oh look, 1000th post thumb.gif
Edited by shinigamibob - 12/9/12 at 2:12pm
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
Icarus
(19 items)
 
   
CPUMotherboardRAMRAM
i5 3570k Asrock H77-m Pro4 Corsair Vengeance Patriot 
RAMHard DriveHard DriveHard Drive
Kingston HyperX Blu Western Digital Red 3x 3TB Intel 310 160GB Western Digital Green 2x 2TB 
OSMonitorPowerCase
Server 2008 R2 Sony KDL55HX750 Corsair Builder Series 400W Silverstone Grandia GD06B 
  hide details  
Reply
post #9 of 9
Thread Starter 
congrats on your 1000th post mate and thanks for the help smile.gif
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
Underdog
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel C2Q6600 G0 @ 3.40Ghz 8 x 425Mhz 1.26v Gigabyte GA-EP45-UD3R MSI N460GTX Cyclone 1GD5/OC @ 850Mhz/4200Mhz 1.08v Kingston 4x2GB PC2-6400 5-5-5-15 1.90v 1:1 
Hard DriveHard DriveOptical DriveCooling
Samsung Spinpoint 250GB  WesternDigital Blue 160GB Samsung SATA DVD-RW +/- Cooler Master Hyper T4  
OSOSMonitorKeyboard
Windows 7 Ultimate 64Bit Windows 8 Pro 64Bit ASUS VS228-D A4TECH GR-152 
PowerCaseMouseMouse Pad
Corsair VS450W Everest 707BR A4TECH G9-730FX Black 
Audio
Realtek ALC889A 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Other Software
Overclock.net › Forums › Software, Programming and Coding › Other Software › subtitles embedding question..