PDA

View Full Version : ogm (xvid, ogg) beginning problems


ukishun
1st November 2004, 00:23
I'm not sure if this is the right place to do this, but GSpot told me that the video was XVID, so this might be the place.

Anyway, I extracted the subititles, but I'm getting problems with sync issues. Furthermore, trying to save it as AVI only causes VirtualDubMod to crash. The report in streams list gave me the ff: information.

Is there any way to fix this?


Input files :
- [C:\folder\sam1-1.ogm]

---== Video stream ==---
Source : [Input Ogg Media File]
Description : Video stream
Length : 00:28:54.280
Video stream
Header Size : 56 bytes
Type : [video]
SubType : [XVID]
BufferSize : 79362 bytes
Time Unit : 400000
SamplesPerUnit : 1
Default Len : 1
BitsPerSample : 12
Width : 576 pixels
Height : 432 pixels
SampleRate : 25.000
Stream report for file "C:\folder\sam1-1.ogm"
Some problems have been encountered while parsing the stream :
Page at byte 22688953 (00:03:40.600) exposed 0 Packets instead of 3 expected.
Information about Packet 0 in Page at byte 22688953 (00:03:40.600) has been corrected.
Now containing 6 samples instead of 1.
Page at byte 22697557 (00:03:40.600) exposed 6 Packets instead of 4 expected.
Seems like 1 Packets have been lost in action.
Page at byte 103615587 (00:15:45.640) exposed 0 Packets instead of 1 expected.
Seems like 1 Packets have been lost in action.
Information about Packet 0 in Page at byte 103628620 (00:15:45.640) has been corrected.
Now containing 2 samples instead of 1.
Information about Packet 0 in Page at byte 202594454 (00:28:18.440) has been corrected.
Now containing 2 samples instead of 0.
Page at byte 204609171 (00:28:42.920) exposed 0 Packets instead of 12 expected.
Information about Packet 0 in Page at byte 204609171 (00:28:42.920) has been corrected.
Now containing 5 samples instead of 1.
Page at byte 204621938 (00:28:42.920) exposed 21 Packets instead of 9 expected.

---== Other stream ==---
Source : [Ogg Media File]
Description : OGM audio stream 1 [Vorbis], 2ch, 44100Hz, 104.0kbps
Length : 00:28:54.269
Vorbis stream
Vorbis information :
Version : 0
Channels : 2
SampleRate : 44100
BitRate Lower : 0 bps
BitRate Nominal : 104001 bps
BitRate Upper : 0 bps
BitRate Window : 0
Stream report for file "C:\folder\sam1-1.ogm"
No apparent problem have been encountered while parsing the stream.

---== Other stream ==---
Source : [Ogg Media File]
Description : OGM audio stream 2 [Vorbis], 2ch, 44100Hz, 104.0kbps
Length : 00:28:54.266
Vorbis stream
Vorbis information :
Version : 0
Channels : 2
SampleRate : 44100
BitRate Lower : 0 bps
BitRate Nominal : 104001 bps
BitRate Upper : 0 bps
BitRate Window : 0
Stream report for file "C:\folder\sam1-1.ogm"
Some problems have been encountered while parsing the stream :
Page at byte 95750955 (00:14:37.800) exposed 0 Packets instead of 18 expected.
Information about Packet 0 in Page at byte 95750955 (00:14:38.160) has been corrected.
Now containing 18432 samples instead of 1024.
Page at byte 95768078 (00:14:37.800) exposed 35 Packets instead of 17 expected.
Page at byte 179661973 (00:26:09.200) exposed 0 Packets instead of 21 expected.
Information about Packet 0 in Page at byte 179661973 (00:26:09.600) has been corrected.
Now containing 18432 samples instead of 1024.
Page at byte 179678981 (00:26:09.200) exposed 36 Packets instead of 16 expected.
Seems like 1 Packets have been lost in action.

---== Other stream ==---
Source : [Ogg Media File]
Description : Ogg Media File text stream 1
Length : 00:31:42.520
Text stream
Header Size : 56 bytes
Type : [text]
SubType : []
BufferSize : 16384 bytes
Time Unit : 10000
SamplesPerUnit : 1
Default Len : 1
BitsPerSample : 0
SampleRate : 1000
Stream report for file "C:\folder\sam1-1.ogm"
Some problems have been encountered while parsing the stream :
Information about Packet 0 in Page at byte 23235057 (00:03:50.800) has been corrected.
Now containing 11400 samples instead of 2320.
Information about Packet 0 in Page at byte 95759498 (00:14:41.000) has been corrected.
Now containing 1960 samples instead of 3480.
Information about Packet 0 in Page at byte 103863609 (00:15:51.760) has been corrected.
Now containing 1520 samples instead of 5480.
Information about Packet 0 in Page at byte 180470948 (00:26:23.800) has been corrected.
Now containing 63440 samples instead of 1080.
Information about Packet 0 in Page at byte 203439020 (00:28:30.200) has been corrected.
Now containing 112360 samples instead of 2640.

---== Ogg Media File Import filter report ==---
Source file : [C:\folder\sam1-1.ogm]
Some bytes have been skipped in the file due to corrupted data :
4199 bytes starting at byte 22684754 (00:03:40.600)
4293 bytes starting at byte 95720797 (00:14:37.000)
4379 bytes starting at byte 103611208 (00:15:45.640)
4205 bytes starting at byte 179640574 (00:26:08.480)
4310 bytes starting at byte 202585765 (00:28:18.440)
4222 bytes starting at byte 204604949 (00:28:42.920)

lordadmira
1st November 2004, 04:20
I'm not sure what ur asking but it looks like it doesn't have anything to do with Xvid. Ur ogm file is corrupted. This should be in the Virtual Dub forum.


LA

ukishun
1st November 2004, 04:57
oh ok. i'm sorry. but the video stream is in XVid format, so I thought it was okay to put it here.

Suiryc
2nd November 2004, 12:31
Your OGM file seems badly corrupted.

Furthermore, trying to save it as AVI only causes VirtualDubMod to crash.
Your file appears to contain 2 Ogg Vorbis streams and a subtitle stream. So VirtualDubMod would only save the video to the final AVI file. I don't know a tool that would save your Vorbis streams in the AVI file (and anyway I don't recommand you to do that).

In order to fix your streams, I suggest you go have a look at OGMDemuxer here (http://corecodec.org/projects/ogmtools).
I suggest you try something like
OGMDemuxer all "The path to your file.ogm" --reconstruct
This should demux all the streams from your file (video goes in AVI, Vorbis in .ogg, and Subtitles in .srt), plus the tags associated to each track in separate .txt files, and try to fix the corruption (leading to out-of-sync issues generally) for video (padding with Dropped frames), Vorbis (padding with silence) and Subtitles.