Audio out of synch with Video after re-rendering

S Vid wrote on 1/7/2012, 5:49 PM
I have a MPEG-2 file (3+ GB).
Trying to convert it to a MPEG-4 (Sony AVC/MVC format) for playback on a PlayStation Portable (PSP) device.

When the file is re-rendered, the audio track goes out of sync (lags) with the video.
Tried both Sony Vegas v10 on a Intel Core 2 Duo, and v11 on a Intel Pentium 4.
(the latter took 3+ hours to render!)

Messages here indicate I have to ungroup the audio and video tracks, and manually synch them up, and then regroup.

What causes the tracks to go out of sync?
Does this happen with other video format converters (e.g. Nero, Pinnacle, Corel, etc.)?

TIA.

Comments

musicvid10 wrote on 1/7/2012, 6:57 PM
Vegas is not a "video format converter."

Try the conversion in Handbrake. Plenty of discussion on their forums for encoding for PSP.
Markk655 wrote on 1/7/2012, 7:39 PM
You can also try Super by erightsoft.
S Vid wrote on 1/7/2012, 9:35 PM
> Vegas is not a "video format converter."

I'm sure it is a whole lot more, but there is a:
Tools --> Export to PSP (PlayStation Portable)
option in Vegas 11 that appears to do video format conversion.
I might try that instead of "Render As...".
Maybe it will keep tracks in sync.
But I'll have to leave my PSP connected to the PC for 3 hours.

> Try the conversion in Handbrake. Plenty of discussion on their forums for encoding for PSP.

Thanks for the info. I will check those out too.
musicvid10 wrote on 1/7/2012, 11:58 PM
"Tools --> Export to PSP (PlayStation Portable)"
Ha, I didn't know that was in Movie Studio.
So if they're going to have a PSP preset, it ought to play in sync, you say?
Quite a reasonable expectation.

(Try Handbrake)
;?)
S Vid wrote on 1/8/2012, 5:57 PM
> You can also try Super by erightsoft.

I just did.
While it is nice that Super has a specific "Sony - PSP (MP4)" output profile for quick selection (unlike Handbrake, which looks more geared towards the Apple fans/crowd), the converted video does not play on my PSP 3000.
The PSP indicates "Unsupported Data".
But it plays fine on my PC.
S Vid wrote on 1/8/2012, 6:02 PM
> So if they're going to have a PSP preset, it ought to play in sync, you say?
> Quite a reasonable expectation.

I used the Sony Vegas v11 "Export to PSP (PlayStation Portable)" menu option.
Took about 3 hours to output to the PSP Memory Stick folder directly.
Video and Audio were of excellent quality on the PSP 3000, but OUT OF SYNC! :(
S Vid wrote on 1/8/2012, 10:43 PM
Warning: There appear to be many obnoxious "free" video file converter software "companies" out there.
If you try to download software X, software Y (from a different vendor) keeps popping up in your browser and tries to detour you somewhere else to download software Y.

When you finally manage to download software X, there are TONS(!) of unrelated stuff in their "suite", e.g. Invoicing Software, Accounting Software, FTP software, etc.
Not free, I am sure.

And many of them trigger AntiVirus Scanner warnings. Not sure if they are false positives, or really malware.

Geez! Is it really that hard to convert a MPEG-2 to a MPEG-4?
S Vid wrote on 1/15/2012, 9:10 PM
I used Vegas 11's "Render As" on a shorter MPEG-2 (to convert to MPEG-4 for my PSP), and the audio is in synch with the video! This shorter video has only 2 audio channels (previous had 6).
Gotta wonder if the additional audio channels is messing with the audio-video sync on re-rendering, or if the previous file was too large...
musicvid10 wrote on 1/15/2012, 10:19 PM
"Geez! Is it really that hard to convert a MPEG-2 to a MPEG-4?"
Oh, I see I already suggested Handbrake (like three times)??
S Vid wrote on 1/20/2012, 10:52 AM
I did try Handbrake along with Super...
It lacks a specific PSP Output setting (Super does), but still, the MPEG-4 output from Handbrake was kinda like the MPEG-4 output from Super: played fine on the PC, but shows up as "Unsupported Data" on the PSP 3000.
I am going to try the H.264 setting (and maybe tweak some other settings) in Handbrake.
The Handbrake forums refer to configuration settings for the PSP that apply to older versions of Handbrake.
musicvid10 wrote on 1/20/2012, 11:11 AM
There are no earth-shattering differences in the way x264 settings are used in older versions of Handbrake vs. newer ones.

https://forum.handbrake.fr/search.php?keywords=playstation+portable&terms=all&author=&fid=7&sc=1&sf=all&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search

I suggest the Apple TV preset, using constant frame rate, disabling large file support, and perhaps disabling AC3 passthrough, but I can't test this for you.
S Vid wrote on 1/21/2012, 1:02 PM
Thanks musicvid.

I got it to work, finally.
So that others may not have to go through all of this:

Use Handbrake 0.9.5 (2011010300), 32-bit, under Windows XP.
(I hear the 64-bit version may not work for this)

1. Import the attached psp3000.plist (preset I created)
2. Handbrake doesn't save the Picture Size, so under the "Picture" tab, ensure:
a. Width: 480
b. "Keep Aspect Ratio" should be checked
(Height should become 272)

The 3.61GB MPEG-2 file became a 302MB H.264 (.m4v) file that plays
fine on my PSP 3000.

psp3000.plist:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist>
<array>
<dict>
<key>AudioList</key>
<array>
<dict>
<key>AudioBitrate</key>
<string>128</string>
<key>AudioEncoder</key>
<string>AAC (faac)</string>
<key>AudioMixdown</key>
<string>Stereo</string>
<key>AudioSamplerate</key>
<string>48</string>
<key>AudioTrack</key>
<integer>1</integer>
<key>AudioTrackDRCSlider</key>
<real>0.0</real>
<key>AudioTrackDescription</key>
<string>Unknown</string>
</dict>
</array>
<key>ChapterMarkers</key>
<integer>1</integer>
<key>Default</key>
<integer>0</integer>
<key>FileFormat</key>
<string>MP4 file</string>
<key>Folder</key>
<false />
<key>Mp4HttpOptimize</key>
<integer>0</integer>
<key>Mp4LargeFile</key>
<integer>0</integer>
<key>Mp4iPodCompatible</key>
<integer>0</integer>
<key>PictureAutoCrop</key>
<integer>1</integer>
<key>PictureBottomCrop</key>
<integer>0</integer>
<key>PictureDeblock</key>
<integer>0</integer>
<key>PictureDecomb</key>
<integer>0</integer>
<key>PictureDecombCustom</key>
<string />
<key>PictureDecombDeinterlace</key>
<integer>1</integer>
<key>PictureDeinterlace</key>
<integer>0</integer>
<key>PictureDeinterlaceCustom</key>
<string />
<key>PictureDenoise</key>
<integer>0</integer>
<key>PictureDenoiseCustom</key>
<string />
<key>PictureDetelecine</key>
<integer>0</integer>
<key>PictureDetelecineCustom</key>
<string />
<key>PictureHeight</key>
<integer>0</integer>
<key>PictureKeepRatio</key>
<integer>0</integer>
<key>PictureLeftCrop</key>
<integer>0</integer>
<key>PictureModulus</key>
<integer>0</integer>
<key>PicturePAR</key>
<integer>0</integer>
<key>PictureRightCrop</key>
<integer>0</integer>
<key>PictureTopCrop</key>
<integer>0</integer>
<key>PictureWidth</key>
<integer>0</integer>
<key>PresetBuildNumber</key>
<string>2011010300</string>
<key>PresetDescription</key>
<string>No Description</string>
<key>PresetName</key>
<string>PSP3000</string>
<key>Type</key>
<integer>1</integer>
<key>UsesMaxPictureSettings</key>
<integer>0</integer>
<key>UsesPictureFilters</key>
<integer>1</integer>
<key>UsesPictureSettings</key>
<integer>2</integer>
<key>VideoAvgBitrate</key>
<string>350</string>
<key>VideoEncoder</key>
<string>H.264 (x264)</string>
<key>VideoFramerate</key>
<string>Same as source</string>
<key>VideFrameratePFR</key>
<integer>0</integer>
<key>VideoGrayScale</key>
<integer>0</integer>
<key>VideoQualitySlider</key>
<real>-1</real>
<key>VideoQualityType</key>
<integer>1</integer>
<key>VideoTargetSize</key>
<string />
<key>VideoTurboTwoPass</key>
<integer>0</integer>
<key>VideoTwoPass</key>
<integer>1</integer>
<key>x264Option</key>
<string>cabac=0:ref=2:me=umh:bframes=0:weightp=0:8x8dct=0:trellis=0:subq=6</string>
</dict>
</array>
</plist>
J Anderson wrote on 4/4/2012, 5:23 PM
Am I missing something here?

Rendering the timeline to a video file is an important, if not the MOST important, function of this product, don't you think? I mean, you use Movie Studio to edit and produce movies, right? How am I supposed to take video that I've edited together on my timeline and produce a finished product, if I can't reliably render a file with the video and audio in sync?

I have to believe that this can work, and that I've overlooked settings somewhere. Is anyone from Sony moderating this forum? Can you help us understand why this is happening and how we can correct it?