Digital Video Forums  

Go Back   Digital Video Forums > Other > Archive (Closed) > VirtualDub

 
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 16 Nov 2007, 03:56 AM   #1
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default Cut few minutes and embed subtitles at the same time

Hi,
Is it possible to cut a portion from a movie and at the same time embed subtitles for that part?

Thanks in advance
tanin is offline  
Old 16 Nov 2007, 04:10 AM   #2
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

Yes.Load the file in Virtualdub.Select Video/Full processing mode.Then Video/Filters.Add Textsub or Vobsub filter and load the subtitle file(ensuring that the timing matches the sequence of the part you wish to keep by previewing the filtered output).Next select Video/Compression and configure the codec.Then select the part you wish to keep and save as avi.There is no way you can hardcode the avi without reencoding.
__________________

ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF
paglamon is offline  
Old 16 Nov 2007, 07:29 AM   #3
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

Quote:
Originally Posted by paglamon View Post
Yes.Load the file in Virtualdub.Select Video/Full processing mode.Then Video/Filters.Add Textsub or Vobsub filter and load the subtitle file(ensuring that the timing matches the sequence of the part you wish to keep by previewing the filtered output).Next select Video/Compression and configure the codec.Then select the part you wish to keep and save as avi.There is no way you can hardcode the avi without reencoding.
Thanks.
When I try to do that I get "statsfile not found" and then "cannot start video compression: the operation is not supported(error code -1)".

Any ideas?
tanin is offline  
Old 16 Nov 2007, 02:05 PM   #4
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

Quote:
When I try to do that I get "statsfile not found"
You are trying to do a Two pass encoding without specifying the position to save the First Pass "statsfile". Either specify the path OR do a single pass encoding.
paglamon is offline  
Old 16 Nov 2007, 06:55 PM   #5
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

Quote:
Originally Posted by paglamon View Post
You are trying to do a Two pass encoding without specifying the position to save the First Pass "statsfile". Either specify the path OR do a single pass encoding.
I'm sorry, but I don't understand what you're saying. Specify the path for the avi file to save?
tanin is offline  
Old 16 Nov 2007, 07:53 PM   #6
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

Which codec are you using for compression?
paglamon is offline  
Old 16 Nov 2007, 08:04 PM   #7
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

Quote:
Originally Posted by paglamon View Post
Which codec are you using for compression?
XivD MPEG-4 Codec.

edit: I just tried using DivX 5.2.1 codec and it works fine, but the problem is that the video that I saved has a very small audio delay.
edit 2: The part with the delayed audio was 3 minutes. When I tried shorter segements(around 30 sec.) there was no visible/audible delay.
edit 3: I just tried another video with the same results.

Last edited by tanin; 17 Nov 2007 at 01:45 AM
tanin is offline  
Old 17 Nov 2007, 01:52 AM   #8
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

Are you compressing the audio or doing a Direct Stream Copy? What is the format of the original audio ? Better still,give the original file info using Mediainfo.
paglamon is offline  
Old 17 Nov 2007, 03:02 AM   #9
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

Quote:
Originally Posted by paglamon View Post
Are you compressing the audio or doing a Direct Stream Copy? What is the format of the original audio ? Better still,give the original file info using Mediainfo.
For the audio I use direct steam copy.
I also tried disabling the audio/video interleaving, but apparently there's still a delay.

General #0
Complete name : G:\Movies\Seen\Un Homme et Une Femme (1966).avi
Format : AVI
Format/Info : Audio Video Interleave
Format/Family : RIFF
File size : 700 MiB
PlayTime : 1h 43mn
Bit rate : 940 Kbps
StreamSize : 12.4 MiB
Writing application : VirtualDubMod 1.5.1.1a (build 1639/release)
Writing library : VirtualDubMod build 1639/release

Video #0
Codec : DivX 5
Codec/Family : MPEG-4
Codec settings/Packe : Yes
Codec settings/BVOP : Yes
Codec settings/QPel : No
Codec settings/GMC : 2
Codec settings/Matri : Default
PlayTime : 1h 43mn
Bit rate : 829 Kbps
Width : 704 pixels
Height : 400 pixels
Display Aspect ratio : 16/9
Frame rate : 23.976 fps
Resolution : 8 bits
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.122
StreamSize : 612 MiB

Audio #0
Codec : MPEG-1 Audio layer 3
Codec profile : Joint stereo
PlayTime : 1h 43mn
Bit rate : 103 Kbps
Bit rate mode : VBR
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 75.6 MiB
Writing library : LAME3.93
Encoding settings : ABR
tanin is offline  
Old 17 Nov 2007, 04:32 AM   #10
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

As I had suspected, the audio is VBR. Virtualdub does not like VBR audio. Use AVIDemux instead.It will ask you to build Time map. Click YES to that.
paglamon is offline  
Old 17 Nov 2007, 07:01 AM   #11
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

Quote:
Originally Posted by paglamon View Post
As I had suspected, the audio is VBR. Virtualdub does not like VBR audio. Use AVIDemux instead.It will ask you to build Time map. Click YES to that.
When I edit the movie there is no sound, is that normal?
And is there a way to use subtitles for the output file?

Thanks in advance...
tanin is offline  
Old 17 Nov 2007, 07:00 PM   #12
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

Quote:
And is there a way to use subtitles for the output file?
In AVIDemux ? Yes.
Video/Filters/Subtitles/Subtitler.
paglamon is offline  
Old 17 Nov 2007, 07:27 PM   #13
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

Quote:
Originally Posted by paglamon View Post
In AVIDemux ? Yes.
Video/Filters/Subtitles/Subtitler.
Thanks again.
I finally used a version of virtualdub called vdub-mp3-freeze, and apparently it works fine.
tanin is offline  
Old 18 Nov 2007, 03:35 AM   #14
Lord of Digital Video
Lord of Digital Video
 
paglamon's Avatar
 
Join Date: Aug 2005
Location: 22░38'12.55" N, 88░25'20.87" E
Posts: 2,126
Default

Glad it worked out for you.I have no experience with Vdubmp3.I have got used to AVIDemux for these problem files.Maybe I will need Vdubmp3 someday.Thanks to you for pointing towards this.
paglamon is offline  
Old 18 Nov 2007, 11:28 PM   #15
Junior Member
Junior Member
 
Join Date: Nov 2007
Posts: 11
Default

I'm trying to use AVIDemux now for a certain file, but I get no audio when I preview the movie. Why is that?
tanin is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
embed in html without controls dazlia Developers/Webmasters 2 14 Aug 2004 07:21 AM
How do I embed subtitles?!? kilgor traut Junior Members/Newbies 9 12 May 2003 04:38 AM
Embed subtitles in movie, then VCD Nini Junior Members/Newbies 3 20 Jul 2002 04:30 PM
Movie file is 40 minutes, but WMP says its 37 minutes... JohnGafnea DVD Encoding and Playback 0 10 Jul 2002 04:33 PM



All times are GMT +10. The time now is 05:33 PM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com