PDA

View Full Version : problems with xvid with ac35.1 in ps3


Lupo Silenzioso
10th April 2009, 15:04
I can't hear the audio of the following divx (no problem with the video):


--- File Information ---
File Size (in bytes): 1,568,764,746

--- Container Information ---
Base Type (e.g "AVI"): AVI(.AVI)
Subtype (e.g "OpenDML"): AVI v1.0,
Interleave (in ms): 42
Preload (in ms): 32
Audio alignment("split across interleaves"): Split
Total System Bitrate (kbps): 0
Bytes Missing (if any): 0
Number of Audio Streams: 1

--- Video Information ---
Video Codec Type(e.g. "DIV3"): DIVX
Video Codec Name(e.g. "DivX 3, Low-Motion"): DivX 4 (OpenDivX)
Video Codec Status(e.g. "Codec Is Installed"): n.a. (disabled in GSpot settings)
Duration (hh:mm:ss): 01:37:06
Frame Count: 139694
Frame Width (pixels): 720
Frame Height (pixels): 304
Frame Aspect Ratio (e.g "1.3333"):
Frame Aspect Ratio (e.g. "4:3"):
Pixel Aspect Ratio ("SAR"):
Display Aspect Ratio ("DAR"): 2.368
Frames Per Second: ***ERROR***
Video Bitrate (kbps): 1700
MPEG-4 ("MPEG-4" or ""): MPEG-4
B-VOP ("B-VOP" or ""): B-VOP
QPel ("QPel" or ""):
GMC ("GMC" or ""):
H264 ("H264" or ""):

MPEG-2 ("MPEG-2" or ""):
Interlaced ("I/L" or ""):
Progressive ("Prog" or ""):
Top Frame First ("TFF" or ""):
Bottom Frame First ("BFF" or ""):
3:2 Pulldown ("3:2" or ""):
Picture-per-field ("PPF" or ""):

- Aspect Ratio Related:
.......................

--- Audio Information ---
MPEG Stream ID (e.g. "0xbd"):
MPEG VOB file Substream(e.g. "0x80"):
Audio Codec (e.g. "AC3"): 0x2000(AC3, Dolby Laboratories, Inc) AC3
Audio Codec Status (e.g. "Codec Is Installed"): n.a. (disabled in GSpot settings)
Audio Sample Rate (Hz): 48000
Audio Bitrate(kbps): 448
Audio Bitrate Type ("CBR" or "VBR"): CBR
Audio Channel Count (e.g. "2" for stereo): 5


I have no problems with other xvid/divx with ac3 5.1 audio
for example:


--- Audio Information ---
MPEG Stream ID (e.g. "0xbd"):
MPEG VOB file Substream(e.g. "0x80"):
Audio Codec (e.g. "AC3"): 0x2000(AC3, Dolby Laboratories, Inc) AC3
Audio Codec Status (e.g. "Codec Is Installed"): n.a. (disabled in GSpot settings)
Audio Sample Rate (Hz): 48000
Audio Bitrate(kbps): 448
Audio Bitrate Type ("CBR" or "VBR"): CBR
Audio Channel Count (e.g. "2" for stereo): 5



With the 1st above file ps3 tells me that there is only 1 track (instead of 5.1) at 5kps...
Now I am trying to demux the ac3 audio track and fix it with besliced... other solutions?

tebasuna51
10th April 2009, 16:37
PS3 can't play audio with delay at VirtualDub style: garbage until the first valid header.
If is the problem, Demux with VirtualDubMod, Fix and Delay the ac3 with DelayCut, and remux.

Lupo Silenzioso
11th April 2009, 00:10
PS3 can't play audio with delay at VirtualDub style: garbage until the first valid header.
If is the problem, Demux with VirtualDubMod, Fix and Delay the ac3 with DelayCut, and remux.

thanks I realized myself that problem tonight...
I demux, fix the file with besliced and remux (with no interleaving).
Now the xvid works fine (I can hear the audio) but it is out of sync!!!

how much do I have to delay?

tebasuna51
11th April 2009, 01:17
how much do I have to delay?
This is a example log from DelayCut fixing the initial garbage:

====== INPUT FILE INFO ========================
File is ac3
Bitrate (kbit/s) 448
...
Frame length (ms) 32.000000
...
Bytes per Frame 1792.0000
...
=============================================
====== PROCESSING LOG ======================
Time 00:00:00.000; Frame#= 1.
Unsynchronized frame...SKIPPED 55999 bytes.
Found new synch word
The 55999 bytes are 55999/1792 = 31.25 frames
like each frame is 32 ms you need a delay of 1000 ms.

Lupo Silenzioso
11th April 2009, 07:46
so from the main page of delay cut I have when I select the ac3 file audio of the xvid file I have demuxed:
====== INPUT FILE INFO ========================
File is ac3
Bitrate (kbit/s) 448
Act rate (kbit/s) 448.000
File size (bytes) 326221056
Channels mode 3/2: L+C+R+SL+SR
Sampling Frec 48000
Low Frec Effects LFE: Present
Duration 01:37:05.376
Frame length (ms) 32.000000
Frames/second 31.250000
Num of frames 182043
Bytes per Frame 1792.0000
Size % Framesize 0
CRC present: YES
=============================================
====== TARGET FILE INFO ======================
Start Frame 0
End Frame 182042
Num of Frames 182043
Duration 01:37:05.376
NotFixedDelay 0.0000
=============================================


On the right I have two options: Cut file and Delay. (and there is also a CRC errors options to choose from).
Where do I found the "Unsynchronized frame...SKIPPED 55999 bytes" in this file?

I wonder why it is not possible to insert a delay (interleaving?) directly from VDubMod....

tebasuna51
11th April 2009, 17:38
You need two steps:
1) Without options, run 'PROCESS' this delete the initial garbage and send the message:
"Unsynchronized frame...SKIPPED 55999 bytes"

2) Open the x_fixed.ac3 and put the ms calculated (1000 in my sample) at Delay -> Start, and 'PROCESS' one more time.

This method replace the garbage (generated by VirtualDub delay-interleaving and not supported by PS3) with true ac3 frames with silence.
The audio is syncronized for always.

Lupo Silenzioso
13th April 2009, 01:02
perfect! now I completely solved the problem.
thanks a lot!