Audio missing alternate 1/2 seconds after editing

Moderator: Ken Berry

User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Audio missing alternate 1/2 seconds after editing

Post by lata »

Hi

Kingston recommended using a Muxer file, I downloaded and tested the program which seemed to work very well. Link in earlier post

The program does not install as such but runs in its own window.

I have to admit knot knowing what I was doing, nor understood exactly what the program did, maybe Kingston will give some hints?
The resultant video file seemed ok. and I could recode using Video Studio without problems.
I only have the short samples but the process was instant, so fast that it completed before letting go of the mouse. Larger files will take longer.

I'll be giving the Muxer another go today
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Kingston
Posts: 427
Joined: Tue Jul 14, 2009 7:26 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gateway [Acer] DX4860
processor: Intel Core i5 3rd gen. 3 GHz
ram: 8 GB
Video Card: Intel HD 2500
sound_card: Bluetooth
Hard_Drive_Capacity: 1 TB
Monitor/Display Make & Model: Dell ST2210; Samsung SmartTV 3D 40"
Location: CA, USA

Re: Audio missing alternate 1/2 seconds after editing

Post by Kingston »

Fellow editors,

As you know, an .MPG file is a container for an MPEG video stream and some type of audio stream (and sometimes other stuff, too). What the TSMuxeR utility can do with its "Demux" option is take the video and audio out of the .MPG container and create a separate file for the video and a separate file for the audio. Those separate files are the "elementary" streams, which VideoStudio happily accepts in this case. It's hard to find an application that will accept an .ac3 elementary file. One DVD authoring application I know about actually requires elementary streams instead of the audio and video mixed in an .mpg file.

TSMuxeR can also put the separate video and audio streams back into certain types of containers, such as .TS and .M2TS, but that doesn't help us here. That's muxing.
MotionStudio 3D 1.0; Corel VideoStudio Ultimate X7 (w/o sp1) (Download), Corel PaintShop Pro 15.2.0.12 (Download)
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

OK, I Demux-ed the file.

I'm no Timeline expert, but I put the .mpv file in the Video track and the ac3 file in the Voice track, and then rendered it PAL DVD(16:9, Dolby Digital 5.1), but now the sound isn't synced to the video.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Audio missing alternate 1/2 seconds after editing

Post by lata »

Hi

I ran some tests yesterday and found the two clips, the video and audio were different lengths, comparing them in the timeline.
I was able to adjust them to the same length by using the Playback Speed (Drag the yellow trim handle whilst pressing Shift key

But if you are having these problems then maybe the Muxer is not the option to use? Unless there are other settings to choose.

Super did do the job, but took time to render, changing the settings on Super may improve render times?

You mentioned converting to Pal DVD, are you intending creating DVD's
If so, are the video properties the only ones you can get from the TV tuner, I know my recorder gives options for quality and therefore file sizes.
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Kingston
Posts: 427
Joined: Tue Jul 14, 2009 7:26 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gateway [Acer] DX4860
processor: Intel Core i5 3rd gen. 3 GHz
ram: 8 GB
Video Card: Intel HD 2500
sound_card: Bluetooth
Hard_Drive_Capacity: 1 TB
Monitor/Display Make & Model: Dell ST2210; Samsung SmartTV 3D 40"
Location: CA, USA

Re: Audio missing alternate 1/2 seconds after editing

Post by Kingston »

I don't know about this.

Did you happen to step through the original .mpg file one frame at a time? The 2nd and 3rd frames are duplicates of the 1st frame. Later, stepping from 01:02 to 01:03 frames, there appear to be several dropped frames. Then 9 frames later there is a repeat of the sequence that was already transmitted starting back on frame 00:13 or 00:14. All the while the audio seems to be playing normally.
MotionStudio 3D 1.0; Corel VideoStudio Ultimate X7 (w/o sp1) (Download), Corel PaintShop Pro 15.2.0.12 (Download)
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Audio missing alternate 1/2 seconds after editing

Post by lata »

Hi Kingston

Yep I had noticed the duplicate frames at the beginning, when I play the clip it paused at approx 1 second in, but not every time so I assumed it was my system.

Yes I now see the frames repeating but from 00:00:01:12, the video jumps back to frame 12 ish
Do you have your timeline set to NTSC 29fps?, I am using Pal at 25fps

Very strange as it does not show when playing the clip, at least I don't see the blip?
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

lata wrote:Hi

I ran some tests yesterday and found the two clips, the video and audio were different lengths, comparing them in the timeline.
I was able to adjust them to the same length by using the Playback Speed (Drag the yellow trim handle whilst pressing Shift key
I will have to play with it some more - I never muck around with tracks, so I'm fumbling at the moment -.
But if you are having these problems then maybe the Muxer is not the option to use? Unless there are other settings to choose.

Super did do the job, but took time to render, changing the settings on Super may improve render times?
I will also have a play with Super - only used it for the first time a couple of days ago -.
You mentioned converting to Pal DVD, are you intending creating DVD's
If so, are the video properties the only ones you can get from the TV tuner, I know my recorder gives options for quality and therefore file sizes.
No, it's faster using that setting than adjusting values in Custom all the time - it was just a test -.
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

lata wrote:Hi Kingston

Yep I had noticed the duplicate frames at the beginning, when I play the clip it paused at approx 1 second in, but not every time so I assumed it was my system.

Yes I now see the frames repeating but from 00:00:01:12, the video jumps back to frame 12 ish
Do you have your timeline set to NTSC 29fps?, I am using Pal at 25fps

Very strange as it does not show when playing the clip, at least I don't see the blip?
Sorry about that, I made a quick sample - the capture cards usually fudge a few frames at the start - so that the sound could be tested. I didn't realise I would have to split it up and put it back together, as I have never done it before.

It should be PAL, but I'll check.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Audio missing alternate 1/2 seconds after editing

Post by lata »

Hi Old Grey

First of all you should not have to split the audio and video streams, at least not for a normal/good video.
Using the muxer produced two streams, when rendered together produced a video with suitable audio. however it seems to be out of sync, its then I noticed the lengths of the clips?

There are other strange things going on with VS and these clips, seems to indicate that VS does not read them correctly.
Using the original video, expand the timeline then drag the curser "scrubbing the timeline" watch the lady walking left to right, to just beyond the man.
Now repeat but nudge the digital clock viewing frame by frame( click the clock frame then hit the keyboard up/down arrow) just after the lady has passed the man she magically jumps back to walk again. You do not see this when playing the clip. Very strange...........

The Pal v Ntsc comment, i think Kingston has his timeline set to 29 fps, not sure till he confirms this. Dont worry about this.

Super did convert the video and allowed VS to render without problems, this is probably your best option, choosing the right settings may increase conversion times.

I keep thinking of your TV tuner and still wondering if there is a setting you can choose that captures video to different properties.
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

lata wrote:Hi Old Grey

First of all you should not have to split the audio and video streams, at least not for a normal/good video.
Using the muxer produced two streams, when rendered together produced a video with suitable audio. however it seems to be out of sync, its then I noticed the lengths of the clips?
Looks like Demux-ing is out. My lengths are also different, with the sound lagging behind, and I can't manipulate it to line it back up
The Pal v Ntsc comment, i think Kingston has his timeline set to 29 fps, not sure till he confirms this. Dont worry about this.
It's definitely on PAL
Super did convert the video and allowed VS to render without problems, this is probably your best option, choosing the right settings may increase conversion times.
I still haven't given it another go, but the first time was running at about 1 hour per GB
I keep thinking of your TV tuner and still wondering if there is a setting you can choose that captures video to different properties.

The Compro card has an on-board hardware MPEG2 encoding chip, so will only output Mpeg2 on digital TV - notice how all the settings are greyed out -

Image

Analog is adjustable

The Leadtek must be similar, but it does have an option of recording in transport stream. Unfortunately when I tried it, there was no sound.
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

I ran GSpot Video/codec identifier.
The left one is the original clip, and the right one is a render to "Same as first video clip".
Notice how the audio format has changed, yet it still does the same thing.

Image

Also notice how all the codecs are installed.

http://www.headbands.com/gspot/
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

No fun with Super.
It does 1.5GB per hour for a similar file at 7000kbs, and about 3GB/hr for a 768x528 6000kbs output - a problem when files are 13 - 17 GB in size. I will play with it some more, but I would like a conversion that is 1 hour for a 1 hour file.

I'm have some success with PotPlayer. It can capture and change the format of anything it can play - which is everything -, in a 1 to 1 time ratio - 1 hour takes 1 hour -. You can record just the sections you want, but it's unfortunately in MPEG1. Fortunately VS can convert them back to MPEG2, with no visible loss to my eye - in one case it made the video better -.

It looks like VS just can't do it, so it's either Sony Vegas, or some sort of conversion then edit.
User avatar
lata
Site Admin
Posts: 14280
Joined: Thu Jan 19, 2012 6:21 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK COMPUTER INC A88XM-A USB 3 1 Rev X 0x
processor: 4 10 gigahertz AMD A10-7890K Radeon R7
ram: 16 gb
Video Card: on board
sound_card: Realtek High Definition Audio
Hard_Drive_Capacity: 500 SSD
Monitor/Display Make & Model: LG W2242 [Monitor]
Corel programs: CVSX, 19, 20, 22 PSP2023, PI, MS3D
Location: UK
Contact:

Re: Audio missing alternate 1/2 seconds after editing

Post by lata »

Hi Old Grey

Rendering video times can vary depending on what you are converting to, if you convert like for like then we should expect quick times. This goes for all converters you use.

Super
Try the settings shown in the image below.
I only have the short video so cannot really comment on render times.
notice I have left Audio Stream Copy un-checked, using this produces the clip with bad audio.
Click image for larger view
Click image for larger view
New forum for PSP and VS users, register if you need help

https://psp-vs-forums.freeforums.net
Kingston
Posts: 427
Joined: Tue Jul 14, 2009 7:26 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gateway [Acer] DX4860
processor: Intel Core i5 3rd gen. 3 GHz
ram: 8 GB
Video Card: Intel HD 2500
sound_card: Bluetooth
Hard_Drive_Capacity: 1 TB
Monitor/Display Make & Model: Dell ST2210; Samsung SmartTV 3D 40"
Location: CA, USA

Re: Audio missing alternate 1/2 seconds after editing

Post by Kingston »

One thing that might work is to use Super or a different converter (I used Aunsoft) to open the original MPEG file, but convert just the audio to another AC3 or PCM 5.1 channel file. Most converters let you pick an audio preset. Take that new audio file and put it on the soundtrack in VS.

Take the original MPEG clip, and put that on the video timeline in VS. Split the audio out, and delete or mute the audio.

After doing that, how does the length of the new audio clip compare to the length of the original video clip? Can the video and audio be aligned so they are in sync throughout?

Without a sample clip of sufficient length and with some dialog to go along with a mouth, I can't tell if this setup will work.


BTW, I was using PAL 25fps.
MotionStudio 3D 1.0; Corel VideoStudio Ultimate X7 (w/o sp1) (Download), Corel PaintShop Pro 15.2.0.12 (Download)
Old Grey
Posts: 119
Joined: Sat Jul 21, 2012 3:12 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: MSI Z87-G41 PC MATE
processor: i7 4770K
ram: 16GB
Video Card: MSi GeForce GT1030
sound_card: Realtek ALC887 onboard
Hard_Drive_Capacity: 8TB
Monitor/Display Make & Model: Philips BDM3201FD 32" + Benq G2400WD 24"
Corel programs: VS-X9
Location: Sydney Australia

Re: Audio missing alternate 1/2 seconds after editing

Post by Old Grey »

I tried Super at those setting and it did 1GB per minute, so it's fast enough, but again the sound is lagging behind.
Post Reply