Cut few minutes and embed subtitles at the same time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tanin
    Junior Member
    Junior Member
    • Nov 2007
    • 11

    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
  • paglamon
    Lord of Digital Video
    Lord of Digital Video
    • Aug 2005
    • 2126

    #2
    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.
    sigpic

    ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

    Comment

    • tanin
      Junior Member
      Junior Member
      • Nov 2007
      • 11

      #3
      Originally Posted by paglamon
      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?

      Comment

      • paglamon
        Lord of Digital Video
        Lord of Digital Video
        • Aug 2005
        • 2126

        #4
        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.
        sigpic

        ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

        Comment

        • tanin
          Junior Member
          Junior Member
          • Nov 2007
          • 11

          #5
          Originally Posted by paglamon
          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?

          Comment

          • paglamon
            Lord of Digital Video
            Lord of Digital Video
            • Aug 2005
            • 2126

            #6
            Which codec are you using for compression?
            sigpic

            ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

            Comment

            • tanin
              Junior Member
              Junior Member
              • Nov 2007
              • 11

              #7
              Originally Posted by paglamon
              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, 12:45 AM.

              Comment

              • paglamon
                Lord of Digital Video
                Lord of Digital Video
                • Aug 2005
                • 2126

                #8
                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.
                sigpic

                ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

                Comment

                • tanin
                  Junior Member
                  Junior Member
                  • Nov 2007
                  • 11

                  #9
                  Originally Posted by paglamon
                  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

                  Comment

                  • paglamon
                    Lord of Digital Video
                    Lord of Digital Video
                    • Aug 2005
                    • 2126

                    #10
                    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.
                    sigpic

                    ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

                    Comment

                    • tanin
                      Junior Member
                      Junior Member
                      • Nov 2007
                      • 11

                      #11
                      Originally Posted by paglamon
                      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...

                      Comment

                      • paglamon
                        Lord of Digital Video
                        Lord of Digital Video
                        • Aug 2005
                        • 2126

                        #12
                        And is there a way to use subtitles for the output file?
                        In AVIDemux ? Yes.
                        Video/Filters/Subtitles/Subtitler.
                        sigpic

                        ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

                        Comment

                        • tanin
                          Junior Member
                          Junior Member
                          • Nov 2007
                          • 11

                          #13
                          Originally Posted by paglamon
                          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.

                          Comment

                          • paglamon
                            Lord of Digital Video
                            Lord of Digital Video
                            • Aug 2005
                            • 2126

                            #14
                            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.
                            sigpic

                            ONLY MOMENTS LINGER...DEWDROPS ON A FALLEN LEAF

                            Comment

                            • tanin
                              Junior Member
                              Junior Member
                              • Nov 2007
                              • 11

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

                              Comment

                              Working...