MPEG 1/2 file structure
by vh4x0r » Mon, 04 Oct 2010 02:26:10 GMT
Can anyone point me to some article related to the structure of an
MPEG 1/2 video file ? There are lots of sources with information of
the decompression/compression algorithms, but none provide a clear
view of the structure of the bit stream. I have looked into the
libmpeg2 source code, but it's too hand optimized and thereby unclear.
Similar Threads:
1.MPEG 1/2 file structure
Can anyone point me to some article related to the structure of an
MPEG 1/2 video file ? There are lots of sources with information of
the decompression/compression algorithms, but none provide a clear
view of the structure of the bit stream. I have looked into the
libmpeg2 source code, but it's too hand optimized and thereby unclear.
2.JPEG/MPEG file structure
I noticed that viewing some of my JPEG files using Notepad
the first character is always chr(255). Is this valid for
all JPEG files?
I don't have any MPEG files readily available. What is
the first character and is it consistent for all MPEG
files?
What I'm trying to do is read the first character of
various files to determine what type of file it is without
using the file extension. What would be a better solution
without too much coding?
TIA.... John
---------------------------
Sub ReadFiles()
Dim sFile As String
Dim sBuffer As String
Dim ff As Integer
sFile = Dir("*")
Do While sFile <> ""
ff = FreeFile
Open sFile For Binary As #ff
sBuffer = Space$(1)
Get #ff, 1, sBuffer
If sBuffer = Chr(255) Then MsgBox "JPEG File"
Close #ff
sFile = Dir
Loop
End sub
3.Panasonic Announces DMR-E100H - MPEG-2 & MPEG-4 Recorder
4.Writing to MPEG files
I have a little program that writes a few characters to
MPEG files to make them unviewable. More or less like a
simple encrypt/decrypt program. I run into a "Runtime
Error 75 - Path/File access error" if I have previewed the
file before running the program. Preview meaning the
little thumb image that appears in Windows Explorer when
you click on a file. Windows seems to keep the file open
somewhere and I can't write to it. If I click on another
MPEG file and run the program on the previous file then it
works. How do I go about closing the opened file?
Thanks...
Thomas
5.Assembling a DVD from multiple MPEG-2 files
I'm completely new to video editing. I have 25 GB of MPEG-2 files which I
would like to extract segments from and assemble onto one DVD.
I'm using ULEAD DVD Movie Factory for the first time, and it doesn't seem
able to do what I need. The help section doesn't have much info on what I'm
trying to do.
I have multi-trimmed an MPEG-2 file and created several clips, but I don't
see how to join the clips into a continuous video. The join/separate video
icon is greyed out.
Thanks for any help.
George
6. How to 'embed' NOT 'link' avi or mpeg files into DOC
7. How to capture Word Doc as an MPEG file to put on a DVD and Read
8. How to play & edit MPEG-4 files using Video Studio 8