Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Combining audio and video with different fps
10-05-2010, 03:58 AM (This post was last modified: 10-05-2010 04:45 AM by cheaper_popcorn.)
Post: #1
Combining audio and video with different fps
I have a DVD containing a 2.0 AC3 (Dolby Digital) audio track of 25fps.

I also have the same movie in an MP4 container, but as 23.976fps AVC - the video quality is better, but it does not have the audio track I want.

What is the best method of combining the two?

More specifically, here are the media info outputs. From the DVD:

Code:
General
Complete name                    : E:\VIDEO_TS\VIDEO_TS.IFO
Format                           : DVD Video
Format profile                   : Menu
File size                        : 16.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz

Text
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits

General
Complete name                    : E:\VIDEO_TS\VIDEO_TS.BUP
Format                           : DVD Video
Format profile                   : Menu
File size                        : 16.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz

Text
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits

General
Complete name                    : E:\VIDEO_TS\VIDEO_TS.VOB
Format                           : MPEG-PS
File size                        : 24.6 MiB
Duration                         : 30s 0ms
Overall bit rate                 : 6 890 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Duration                         : 30s 0ms
Bit rate mode                    : Constant
Bit rate                         : 6 529 Kbps
Nominal bit rate                 : 6 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.630
Stream size                      : 23.3 MiB (95%)

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 29s 952ms
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 819 KiB (3%)

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_01_0.BUP
Format                           : DVD Video
Format profile                   : Program
File size                        : 12.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz

Menu
List (Audio)                     : 0

General
Complete name                    : E:\VIDEO_TS\VTS_01_0.IFO
Format                           : DVD Video
Format profile                   : Program
File size                        : 12.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz

Menu
List (Audio)                     : 0

General
Complete name                    : E:\VIDEO_TS\VTS_01_1.VOB
Format                           : MPEG-PS
File size                        : 20.0 KiB
Duration                         : 40ms
Overall bit rate                 : 4 096 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : No
Format settings, Matrix          : Default
Format settings, GOP             : N=1
Duration                         : 40ms
Bit rate mode                    : Constant
Bit rate                         : 8 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.772
Stream size                      : 39.1 KiB

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_02_0.BUP
Format                           : DVD Video
Format profile                   : Program
File size                        : 56.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 2

Text #1
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Text #2

Text #3

Text #4

Text #5

Text #6

Text #7

Text #8

Text #9

Text #10

Text #11

Text #12

Text #13

Text #14

Text #15

Text #16

Text #17

Text #18

Text #19

Text #20

Text #21

Text #22

Text #23

Text #24

Text #25

Text #26

Text #27

Text #28

Text #29

Text #30

Text #31

Menu #1
List (Audio)                     : 0 / 1
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

Menu #2
ID                               : 32 (0x20) / 32 (0x20)
List (Subtitles 4/3)             : 112
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 81
List (Subtitles Pan&Scan)        : 240

General
Complete name                    : E:\VIDEO_TS\VTS_02_0.IFO
Format                           : DVD Video
Format profile                   : Program
File size                        : 56.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 2

Text #1
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Text #2

Text #3

Text #4

Text #5

Text #6

Text #7

Text #8

Text #9

Text #10

Text #11

Text #12

Text #13

Text #14

Text #15

Text #16

Text #17

Text #18

Text #19

Text #20

Text #21

Text #22

Text #23

Text #24

Text #25

Text #26

Text #27

Text #28

Text #29

Text #30

Text #31

Menu #1
List (Audio)                     : 0 / 1
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

Menu #2
ID                               : 32 (0x20) / 32 (0x20)
List (Subtitles 4/3)             : 112
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 81
List (Subtitles Pan&Scan)        : 240

General
Complete name                    : E:\VIDEO_TS\VTS_02_0.VOB
Format                           : MPEG-PS
File size                        : 94.6 MiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Bit rate mode                    : Constant
Bit rate                         : 6 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.579

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_02_1.VOB
Format                           : MPEG-PS
File size                        : 1 024 MiB
Duration                         : 24mn 9s
Overall bit rate                 : 5 928 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Duration                         : 24mn 9s
Bit rate mode                    : Variable
Bit rate                         : 5 362 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : NTSC
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Bits/(Pixel*Frame)               : 0.517
Stream size                      : 926 MiB (90%)

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 24mn 8s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 38.7 MiB (4%)

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 24mn 8s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 38.7 MiB (4%)

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_02_2.VOB
Format                           : MPEG-PS
File size                        : 1 024 MiB
Duration                         : 22mn 1s
Overall bit rate                 : 6 501 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Duration                         : 22mn 1s
Bit rate mode                    : Variable
Bit rate                         : 5 923 Kbps
Nominal bit rate                 : 9 800 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.571
Stream size                      : 933 MiB (91%)

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 22mn 1s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Video delay                      : -560ms
Stream size                      : 35.3 MiB (3%)

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 22mn 1s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Video delay                      : -560ms
Stream size                      : 35.3 MiB (3%)

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_02_3.VOB
Format                           : MPEG-PS
File size                        : 1 024 MiB
Duration                         : 23mn 38s
Overall bit rate                 : 6 056 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Duration                         : 23mn 38s
Bit rate mode                    : Variable
Bit rate                         : 5 487 Kbps
Nominal bit rate                 : 9 800 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.529
Stream size                      : 928 MiB (91%)

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 23mn 38s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Video delay                      : -168ms
Stream size                      : 37.9 MiB (4%)

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 23mn 38s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Video delay                      : -168ms
Stream size                      : 37.9 MiB (4%)

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Video delay                      : 280ms

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_02_4.VOB
Format                           : MPEG-PS
File size                        : 522 MiB
Duration                         : 13mn 1s
Overall bit rate                 : 5 609 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Duration                         : 13mn 0s
Bit rate mode                    : Variable
Bit rate                         : 5 050 Kbps
Nominal bit rate                 : 9 800 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 16:9
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.487
Stream size                      : 470 MiB (90%)

Audio #1
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 13mn 1s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Video delay                      : -648ms
Stream size                      : 20.9 MiB (4%)

Audio #2
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 13mn 1s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Video delay                      : -648ms
Stream size                      : 20.9 MiB (4%)

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_03_0.BUP
Format                           : DVD Video
Format profile                   : Program
File size                        : 18.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Menu
List (Audio)                     : 0
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

General
Complete name                    : E:\VIDEO_TS\VTS_03_0.IFO
Format                           : DVD Video
Format profile                   : Program
File size                        : 18.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Menu
List (Audio)                     : 0
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

General
Complete name                    : E:\VIDEO_TS\VTS_03_0.VOB
Format                           : MPEG-PS
File size                        : 3.07 MiB
Duration                         : 30s 1ms
Overall bit rate                 : 860 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Duration                         : 49ms
Bit rate mode                    : Constant
Bit rate                         : 618 Kbps
Nominal bit rate                 : 6 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.060
Stream size                      : 3.70 KiB (0%)

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 30s 1ms
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 820 KiB (26%)

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Video delay                      : 50ms

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_03_1.VOB
Format                           : MPEG-PS
File size                        : 53.8 MiB
Duration                         : 2mn 16s
Overall bit rate                 : 3 314 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=3, N=10
Duration                         : 400ms
Bit rate mode                    : Constant
Bit rate                         : 3 024 Kbps
Nominal bit rate                 : 5 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.292
Stream size                      : 148 KiB (0%)

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 2mn 16s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 3.64 MiB (7%)

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_04_0.BUP
Format                           : DVD Video
Format profile                   : Program
File size                        : 14.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Menu
List (Audio)                     : 0
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

General
Complete name                    : E:\VIDEO_TS\VTS_04_0.IFO
Format                           : DVD Video
Format profile                   : Program
File size                        : 14.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Menu
List (Audio)                     : 0
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

General
Complete name                    : E:\VIDEO_TS\VTS_04_1.VOB
Format                           : MPEG-PS
File size                        : 39.9 MiB
Duration                         : 44s 512ms
Overall bit rate                 : 7 521 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=3, N=10
Duration                         : 400ms
Bit rate mode                    : Constant
Bit rate                         : 7 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.675
Stream size                      : 349 KiB (1%)

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 44s 512ms
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 1.19 MiB (3%)

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Video delay                      : 1s 240ms

Menu

General
Complete name                    : E:\VIDEO_TS\VTS_05_0.BUP
Format                           : DVD Video
Format profile                   : Program
File size                        : 14.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Menu
List (Audio)                     : 0
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

General
Complete name                    : E:\VIDEO_TS\VTS_05_0.IFO
Format                           : DVD Video
Format profile                   : Program
File size                        : 14.0 KiB

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Bit rate mode                    : Variable
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Language                         : Language 1

Text
ID                               : 32 (0x20)
Format                           : RLE
Format/Info                      : Run-length encoding
Bit depth                        : 2 bits
Language                         : Language 2

Menu
List (Audio)                     : 0
List (Subtitles 4/3)             : 0
List (Subtitles Wide)            : 0
List (Subtitles Letterbox)       : 0
List (Subtitles Pan&Scan)        : 0

General
Complete name                    : E:\VIDEO_TS\VTS_05_1.VOB
Format                           : MPEG-PS
File size                        : 92.5 MiB
Duration                         : 2mn 1s
Overall bit rate                 : 6 378 Kbps

Video
ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, BVOP            : Yes
Format settings, Matrix          : Default
Format settings, GOP             : M=2, N=15
Duration                         : 400ms
Bit rate mode                    : Constant
Bit rate                         : 6 000 Kbps
Width                            : 720 pixels
Height                           : 576 pixels
Display aspect ratio             : 4:3
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.579
Stream size                      : 294 KiB (0%)

Audio
ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 2mn 1s
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 3.25 MiB (4%)

So I'd like to demux the 'Language 2' audio from the DVD.

And here is the mp4 mediainfo output:
Code:
General
Complete name                    : C:\Said Movie (CTV 1280x692 h264 aac).mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 5.50 GiB
Duration                         : 1h 26mn
Overall bit rate                 : 9 118 Kbps
Encoded date                     : UTC 2010-09-19 01:46:15
Tagged date                      : UTC 2010-09-19 01:46:15

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 8 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 1h 26mn
Bit rate mode                    : Variable
Bit rate                         : 8 864 Kbps
Maximum bit rate                 : 24.9 Mbps
Width                            : 1 280 pixels
Height                           : 692 pixels
Display aspect ratio             : 1.850
Frame rate mode                  : Constant
Frame rate                       : 23.976 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.417
Stream size                      : 5.34 GiB (97%)
Title                            : [HQR]
Writing library                  : x264 core 104 r1683 62997d6
Encoding settings                : cabac=1 / ref=8 / deblock=1:-2:-2 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=0.85:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=9 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=8864 / ratetol=60.0 / qcomp=0.75 / qpmin=6 / qpmax=24 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.95
Encoded date                     : UTC 2010-09-17 01:12:16
Tagged date                      : UTC 2010-09-19 01:53:12
Matrix coefficients              : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 67
Duration                         : 1h 26mn
Bit rate mode                    : Variable
Bit rate                         : 253 Kbps
Maximum bit rate                 : 260 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 156 MiB (3%)
Title                            : Original
Language                         : Language 1
Encoded date                     : UTC 2010-09-19 01:53:00
Tagged date                      : UTC 2010-09-19 01:53:12

For my purposes, I think it would make the most sense to output the final version to MKV using MKV Merge.

But I have never extracted audio from a DVD before, nor do I know exactly what I need to do, and which tools I need to use, to sync the 'Language 2' AC3 audio from the DVD, with the AVC video track from the mp4 file.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 05:15 AM
Post: #2
RE: Combining audio and video with different fps
Quite a task ahead of you - first you would have to demux the DVD to extract the AC3 25fps audio file that you need. Then you would have to convert that file to preferably PCM using a wave editor like Adobe Audition or similar so that you can make timing adjustment 25/23.976 or is it 23.976/25 =

Best combine the vobs as a single large vob (makes life easier in editing) before attempting to extract the AC3 file and DVDShrink will do it - just change the default split in preferences to one large file.

VirtualDub

load VOB's and save as wave

DVD AudioExtractor

or Demux with DVDDecrypter

Popcorn Hour C200 HDMI
BeyonWiz DP-P1 PVR + LiDiC
Component Video 1080i
Samsung LA40R7 LCD TV
SONY STR-DA1000ES amplifier
Windows 7 -- MAC G4
http://www.openwiz.org/wiki/ProjectX
Find all posts by this user
[+] 1 user says Thank You to Netmask for this post
10-05-2010, 06:07 AM (This post was last modified: 10-05-2010 06:30 AM by cheaper_popcorn.)
Post: #3
RE: Combining audio and video with different fps
Thank you. I just successfully ripped the desired audio from the DVD using DVD Decrypter following this guide: http://www.dvd-guides.com/content/view/136/59/ (I stopped before using Goldwave though).

Also, I just had a thought: Does the frame rate of the audio matter, now that it is extracted? I am thinking that once I mux the audio into the MKV, won't the only important parameters be track length, i.e. if we presume the audio track and video track are the exactly same length (probably not the case but for the sake of the argument), then would it not work to just mux the untouched ripped AC3 track into the MKV with the video, set the output framerate to 23.976, and get proper sync?

I think I will start by loading the AC3 track and AVC video track in mkvmerge to see if it tells me the length of the respective tracks.
Just for the hell of it, I tried muxing the two tracks together. It did not work: the result gradually goes out of sync. (The video track is longer than the AC3 track).

So it was obviously not quite that simple, I guess I just wanted to try anyway, not much time lost. Smile

EDIT: Next thought: maybe the conversion to WAV would not cause any loss in audio quality compared to the original AC3 (which is already 2.0)?

And then, after converting the WAV track, instead of going back to AC3 again, I could convert to FLAC to avoid loss? How about that plan?
Media info output from the extracted AC3 track:

Code:
General
Complete name                    : F:\transfer\VTS_02_1.VOB
Format                           : MPEG-PS
File size                        : 151 MiB
Duration                         : 1h 22mn
Overall bit rate                 : 255 Kbps

Audio
ID                               : 129 (0x81)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Mode extension                   : CM (complete main)
Duration                         : 1h 22mn
Bit rate mode                    : Constant
Bit rate                         : 224 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 133 MiB (88%)

Menu

So the audio track length 1h22 min, while the movie track is 1h 26 min.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 06:33 AM
Post: #4
RE: Combining audio and video with different fps
You will need to stretch the audio track to match and this a lot easier to do as a wave file - there will be no loss of quality going AC3 2 track to wave if you keep the sampling rate at 48kbps. If you stretch the audio to fit the length you should also do a pitch correction as the difference is over 4% ala 24fps films being shown on PAL TV at 25 fps and the reverse. If the Popcorn will play a video file with a FLAC audio go for it so far I haven't seen/heard one - mostly AC#, PCM or MP3

Popcorn Hour C200 HDMI
BeyonWiz DP-P1 PVR + LiDiC
Component Video 1080i
Samsung LA40R7 LCD TV
SONY STR-DA1000ES amplifier
Windows 7 -- MAC G4
http://www.openwiz.org/wiki/ProjectX
Find all posts by this user
10-05-2010, 06:39 AM (This post was last modified: 10-05-2010 06:40 AM by cheaper_popcorn.)
Post: #5
RE: Combining audio and video with different fps
Thanks again for you time. Will not the speedup and pitch correction cause some loss though? I suppose loss may just be unavoidable?

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 08:18 AM (This post was last modified: 10-05-2010 08:22 AM by jj666.)
Post: #6
RE: Combining audio and video with different fps
- rip both disks with MAKEMKV (name: assuming DVD1.mkv is the source you want to slowdown and DVD2.mkv is the 23.976 (29.997) source) and use EAC3TO slowdown the 25fps disk to 23.976fps. We convert the AC3 track to FLAC to keep it as-lossless-as-possible.
- EAC3TO DVD1.mkv 1: video.mkv -25.000 -slowdown 2: audio.flac -25.000 -slowdown.
- Mux resultant audio.flac with DVD2.mkv.

- To ascertain if there is an initial sync if needed, would suggest playing back both files (DVD2.mkv and newly created video.mkv) in MPC-HC with FFDSHOW decoding the video, turn on the OSD in FFDSHOW to display "current frame number" and "frame duration". Locate a suitable frame, ie, scene change, or logo coming onto the screen in both DVD's and make sure the frame number is the same. You can pause the video using space and step through frames with the left and right arrow keys. If not identical, you can work out a delay needed by number of frames difference x frame duration and add/deduct this to the audio stream by remuxing again with MKVMERGE and manually adding the delay there.

As long as both copies of the film are identical (ie, no different cuts between the two versions) you should be fine with just checking the initial sync.

Cheers,

-jj-

PCH C-200 + LG GGC-H20L internal Blu-ray drive · YAMJ plus Aeon Wall · Samsung LE-46A956 · Sony STR-DG820 · JBL CS 1500 · 2 x 40TB Unraid servers
Find all posts by this user
[+] 1 user says Thank You to jj666 for this post
10-05-2010, 10:20 AM (This post was last modified: 10-05-2010 10:25 AM by cheaper_popcorn.)
Post: #7
RE: Combining audio and video with different fps
Thanks jj666.

Being the stubborn and lazy person I am, I have been trying to exclusively use mkvmergeGUI to correct the synch.

First thing I tried was to use 'Stretch by' on the audio track. I used VLC to note down the track times for video and audio, and then converted into seconds. I got a value of 4969 s for the audio and 5696 s for the video. I selected the audio track, then opened the tab 'Format specific options' and put 4969/5696 into the 'Stretch by' box.

The result was not usable. The audio track did not respond well at all to the option 'Stretch by' (to be fair, the mouseover help text of mkvmerge GUI does mention that 'Stretch by' works best for video and subtitle tracks). The resulting audio had minor glitches throughout, it seems as what it did was to insert regular micro-pauses to fill out the track and adjust it to fit the video. Obviously this was not an acceptable solution.

The second thing I did was to apply the Stretch by to the video track instead. I selected the video track and put 5696/4969 in the 'Stretch by' box. The resulting file looked quite good upon playback in VLC player - no noticeable glitches in the video even on panning, and the audio track, obviously, stays intact when using this method. I had near perfect sync around the first 12 minutes.

I think one of the main problems I have is that the two versions are very close, but not exactly the same throughout. I will now find where the cuts are, and use a wav editor as suggested by Netmask, so I can add or remove required milliseconds of silence where necessary, before converting to FLAC and using MKVmerge.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 10:36 AM
Post: #8
RE: Combining audio and video with different fps
In fact, I don't know anybody using such methods to do things with MKVMERGE. You're making something extremely easy, extremely complicated.

EAC3TO is a tried, trusted and working solution (also for slowing down EUR HDTV caps for viewing in US etc).

If you have any sync issues after setting the initial sync, you know it's a result of differences in the two films, rather than in the process, so can act accordingly (ie, check the waveforms).

For waveform editing, I'm using Adobe Audition to find the differences, then eac3to to make the necessary edits. If you get to that stage, I can offer further advice, just let me know.

Cheers,

-jj-

PCH C-200 + LG GGC-H20L internal Blu-ray drive · YAMJ plus Aeon Wall · Samsung LE-46A956 · Sony STR-DG820 · JBL CS 1500 · 2 x 40TB Unraid servers
Find all posts by this user
10-05-2010, 11:28 AM (This post was last modified: 10-05-2010 11:30 AM by cheaper_popcorn.)
Post: #9
RE: Combining audio and video with different fps
I've tried eac3to for the first time now.

Re-encoding the AC3 to FLAC reduced the bit depth (from 64 to 24) and since there is no pitch correction, the voices sound rather different, like they're dragging their heels or want to emphasize every word, the father's tenor/baritone is now a bass. The conversion also removed AC3 dialog normalisation (previously set to -27dB).

Did I do something wrong here, or would you characterize these changes/reductions in audio quality as acceptable? I did notice eac3to recommends installing Nero7 to improve AC3 decoding so maybe I will try that.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 11:42 AM (This post was last modified: 10-05-2010 11:42 AM by jj666.)
Post: #10
RE: Combining audio and video with different fps
You can use -keepdialnorm switch to preserve the dialog normalisation if you want. There aren't a huge amount of PAL pitch shifted DVDs at least in English - what you're probably hearing is the original, as intended, audio. What language/disk are you working with there?

The libav decoder in EAC3TO these days is more than adequate for AC3 decoding, so no need for Nero :-)

Cheers,

-jj-

PCH C-200 + LG GGC-H20L internal Blu-ray drive · YAMJ plus Aeon Wall · Samsung LE-46A956 · Sony STR-DG820 · JBL CS 1500 · 2 x 40TB Unraid servers
Find all posts by this user
[+] 1 user says Thank You to jj666 for this post
10-05-2010, 11:52 AM (This post was last modified: 10-05-2010 11:55 AM by cheaper_popcorn.)
Post: #11
RE: Combining audio and video with different fps
Actually the sync is close to excellent for the resulting FLAC track, definitely superior to what I got when playing with MKV Merge, so thank you for persisting despite my stubbornness. Smile

And it is quite possible you are right about this pitch being correct. So I would not gain anything by going to RAW or WAV first and then to FLAC, such as being able to keep the bit depth?

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 12:02 PM
Post: #12
RE: Combining audio and video with different fps
Bit depth is irrelevant when working with lossy recordings, so you can ignore that 64bit -> 24bit reference (for more info do a quick search on Doom9). EAC3TO is decoding and encoding to FLAC on the fly, so no, no advantage to changing to another container before conversion.

Regarding the pitch, is it English audio? If so, let me know the movie, maybe I have it already in 23.976fps and we can check the pitch with a quick uploaded AC3 track?

Cheers,

-jj-

PCH C-200 + LG GGC-H20L internal Blu-ray drive · YAMJ plus Aeon Wall · Samsung LE-46A956 · Sony STR-DG820 · JBL CS 1500 · 2 x 40TB Unraid servers
Find all posts by this user
10-05-2010, 12:05 PM (This post was last modified: 10-05-2010 12:05 PM by cheaper_popcorn.)
Post: #13
RE: Combining audio and video with different fps
Thanks again for the further explantion. No, it's actually a Swedish audio track so I guess that wouldn't work.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
10-05-2010, 12:12 PM
Post: #14
RE: Combining audio and video with different fps
If it's from the Dragon Tattoo series or Let The Right One In, it works, apart from that, I'm not sure I have many Swedish movies ;-)

Cheers,

-jj-

PCH C-200 + LG GGC-H20L internal Blu-ray drive · YAMJ plus Aeon Wall · Samsung LE-46A956 · Sony STR-DG820 · JBL CS 1500 · 2 x 40TB Unraid servers
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  freeott audio static through composite tinmancp 4 3,666 02-08-2014 02:06 PM
Last Post: chrisrag
  Video quality of different media streamers john_C200 21 9,217 06-27-2013 11:28 PM
Last Post: accident
  1080P MKV No audio maartendem 2 2,563 12-28-2012 01:22 AM
Last Post: chris57
  Video Card Junkies Help me out Polo151821 4 1,889 11-24-2011 06:20 PM
Last Post: Polo151821
  wifi audio stream to iphone crazyboss 2 3,810 11-23-2011 12:57 AM
Last Post: crazyboss
  Re: mkv file no video display on my plasma virtual_ghost 6 3,520 10-22-2011 10:10 AM
Last Post: chris57
  tsMuxer default audio track Bazrah 1 2,209 01-28-2011 05:08 PM
Last Post: jj666
  Egreat EGR1 CD AUDIO gregoryt 1 1,975 12-14-2010 11:03 AM
Last Post: chris57
  In-car video player? NumberSix 9 3,577 11-11-2010 02:17 PM
Last Post: NumberSix
  What shud be my Video Output on NMT ? sando 0 1,354 11-10-2010 11:28 PM
Last Post: sando

Forum Jump: