I just checked a bunch of mpeg1 files and I notice they now have an mpeg2 header, and don't play properly in windows. (seem to work OK on standalone unit)
Also When I locd these files in virtualdubmod it freaks out, "anachronistic or discontinuous timestamp" millions of these.
I'd like these files to not be patched wiht mpeg2 heder..........
What's up?
+ Reply to Thread
Results 1 to 14 of 14
-
-
Are you talking about your original mpgs or the output of svcd2dvd?
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
Output of svcd2dvd. the source are definately mpeg1 (vcd) files. Mediaplayer, after making program stream with svcd2dvd, is using mpeg2 splitter and my ac3 decoder is processing the mpeg audio, which is strange too. Plius the other stuff I posted in the post above.
note this was making program streams, not elemtary, nor DVD folder.
Further investigation, I oaded tmpgenc demux, and the demuxer reports mpeg1. It's virtualdubmod and directshow that is kicking in the mpeg2 decoder. I will now try the other muxer and see if the same thing happens. -
Here is a logfile using bbdmux and mplex.Starting SVCD2DVD: v1.51.2.0
Begin time: 5:51:22 PM
******** Ripping BIN images to get mpegs (VCDGear -fix)
Analysing File: M:\Temp\New Folder\File.mpg
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: autopadding requires to insert additional 141036 zero bytes into MPEG stream (due to 511 unaligned packets of 512 total)
-->Processing 1 mpeg files.
############### New MPEG File ###############
File: M:\Temp\New Folder\File.mpg
Type: VCD
Horizontal Res: 352
Standard: NTSC
Audio SampleRate: 44100
******** Demultipexing original mpg file
bbDMUX - version 1.9, by Brent Beyeler (beyeler@home.com)
speed increases by, Apachez and Christian Vogelgsang
Saving stream 0xE0 into file M:\Temp\New Folder\File_DVD.mpv...
File M:\Temp\New Folder\File.mpg is an MPEG-1 Program Stream
Summary:
MPEG Packs = 22974
System headers = 1
Padding Stream packets = 3, total bytes = 5442
MPEG Audio stream 0 packets = 2895, total bytes = 5854751
Video stream 0 packets = 20078, total bytes = 40515796
bbDMUX - version 1.9, by Brent Beyeler (beyeler@home.com)
speed increases by, Apachez and Christian Vogelgsang
Saving stream 0xC0 into file M:\Temp\New Folder\File-0.mp2...
File M:\Temp\New Folder\File.mpg is an MPEG-1 Program Stream
Summary:
MPEG Packs = 22974
System headers = 1
Padding Stream packets = 3, total bytes = 5442
MPEG Audio stream 0 packets = 2895, total bytes = 5854751
Video stream 0 packets = 20078, total bytes = 40515796
(Total size: 44MB, Duration: 00:00:02, Rate(MB/Min): 1,011.74)
******** Resampling audio from 44.1 KHz to 48 KHz
(Total size: 5MB, Duration: 00:00:06, Rate(MB/Min): 49.36)
******** Multipexing elementry streams
INFO: [mplex] mplex version 2.2.2 ($Date: 2003/05/13 20:27:15 $)
INFO: [mplex] File M:\Temp\New Folder\File_DVD.mpv looks like an MPEG Video stream.
INFO: [mplex] File M:\Temp\New Folder\File_DVD.mpa looks like an MPEG Audio stream.
INFO: [mplex] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [mplex] Found 1 audio streams and 1 video streams
INFO: [mplex] Selecting dvdauthor DVD output profile
INFO: [mplex] Multiplexing video program stream!
INFO: [mplex] Scanning for header info: Video stream e0 (M:\Temp\New Folder\File_DVD.mpv)
INFO: [mplex] VIDEO STREAM: e0
INFO: [mplex] Frame width : 352
INFO: [mplex] Frame height : 240
INFO: [mplex] Aspect ratio : forbidden
INFO: [mplex] Picture rate : 29.970 frames/sec
INFO: [mplex] Bit rate : variable
INFO: [mplex] Vbv buffer size : 40960 bytes
INFO: [mplex] CSPF : 0
INFO: [mplex] Scanning for header info: Audio stream c0 (M:\Temp\New Folder\File_DVD.mpa)
INFO: [mplex] MPEG AUDIO STREAM: c0
INFO: [mplex] Audio version : 1.0
INFO: [mplex] Layer : 2
INFO: [mplex] CRC checksums : no
INFO: [mplex] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [mplex] Frequency : 48000 Hz
INFO: [mplex] Mode : 0 stereo
INFO: [mplex] Mode extension : 0
INFO: [mplex] Copyright bit : 0 no copyright
INFO: [mplex] Original/Copy : 1 original
INFO: [mplex] Emphasis : 0 none
INFO: [mplex] SYSTEMS/PROGRAM stream:
INFO: [mplex] rough-guess multiplexed stream data rate : 0234048
INFO: [mplex] target data-rate specified : 10080000
INFO: [mplex] Setting specified specified data rate: 10080000
INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay = 13019
INFO: [mplex] New sequence commences...
INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000
++ WARN: [mplex] Discarding incomplete final frame MPEG audio stream c0!
INFO: [mplex] Scanned to end AU 6266
INFO: [mplex] STREAM e0 completed @ frame 6266.
INFO: [mplex] STREAM c0 completed @ frame 8709.
INFO: [mplex] Multiplex completion at SCR=18816000.
INFO: [mplex] Video e0: buf= 217689 frame=006266 sector=00020295
INFO: [mplex] Audio c0: buf= 1408 frame=008709 sector=00002898
INFO: [mplex] VIDEO_STATISTICS: e0
INFO: [mplex] Video Stream length: 40515796 bytes
INFO: [mplex] Sequence headers: 526
INFO: [mplex] Sequence ends : 1
INFO: [mplex] No. Pictures : 6266
INFO: [mplex] No. Groups : 526
INFO: [mplex] No. I Frames : 526 avg. size 20238 bytes
INFO: [mplex] No. P Frames : 2614 avg. size 8529 bytes
INFO: [mplex] No. B Frames : 3127 avg. size 2422 bytes
INFO: [mplex] Average bit-rate : 1550000 bits/sec
INFO: [mplex] Peak bit-rate : 2137600 bits/sec
INFO: [mplex] BUFFERING min 17 Buf max 143219
INFO: [mplex] AUDIO_STATISTICS: c0
INFO: [mplex] Audio stream length 5853124 bytes.
INFO: [mplex] Syncwords : 8711
INFO: [mplex] Frames : 8711 padded
INFO: [mplex] Frames : 0 unpadded
INFO: [mplex] BUFFERING min 15 Buf max 683
INFO: [mplex] MUX STATUS: no under-runs detected.
(Total size: 46MB, Duration: 00:00:23, Rate(MB/Min): 116.36)
Analysing File: M:\Temp\New Folder\File_DVD.mpg
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: autopadding requires to insert additional 141036 zero bytes into MPEG stream (due to 511 unaligned packets of 512 total)
============ Complete ============
============ Duration: 00:00:32 -
next, for giggles, I ran SVCD2DVD on the file that I previously outputted. Here is the log in case it helps. (thinks it's svcd.. strange.)
Starting SVCD2DVD: v1.51.2.0
Begin time: 5:50:00 PM
******** Ripping BIN images to get mpegs (VCDGear -fix)
Analysing File: M:\Temp\New Folder\New Folder\File_DVD.mpg
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: autopadding requires to insert additional 141036 zero bytes into MPEG stream (due to 511 unaligned packets of 512 total)
-->Processing 1 mpeg files.
############### New MPEG File ###############
File: M:\Temp\New Folder\New Folder\File_DVD.mpg
Type: SVCD
Horizontal Res: 352
Standard: NTSC
Audio SampleRate: 48000
- Leaving File_DVD.mpg alone. File has Nav Packs
============ Complete ============
============ Duration: 00:00:00 -
Now here is a logfile using the other muxer and demuxer.
Starting SVCD2DVD: v1.51.2.0
Begin time: 5:55:20 PM
******** Ripping BIN images to get mpegs (VCDGear -fix)
Analysing File: M:\Temp\New Folder\File.mpg
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: autopadding requires to insert additional 141036 zero bytes into MPEG stream (due to 511 unaligned packets of 512 total)
-->Processing 1 mpeg files.
############### New MPEG File ###############
File: M:\Temp\New Folder\File.mpg
Type: VCD
Horizontal Res: 352
Standard: NTSC
Audio SampleRate: 44100
******** Demultipexing original mpg file
(Total size: 44MB, Duration: 00:00:01, Rate(MB/Min): 1,373.66)
******** Resampling audio from 44.1 KHz to 48 KHz
(Total size: 5MB, Duration: 00:00:06, Rate(MB/Min): 50.00)
******** Multipexing elementry streams
INFO: [???] mplex version 2.2.2 ($Date: 2003/05/13 20:27:15 $)
INFO: [???] File M:\Temp\New Folder\File_DVD.mpv looks like an MPEG Video stream.
INFO: [???] File M:\Temp\New Folder\File_DVD.mpa looks like an MPEG Audio stream.
INFO: [???] Video stream 0: profile 8 selected - ignoring non-standard options!
INFO: [???] Found 1 audio streams and 1 video streams
INFO: [???] Selecting dvdauthor DVD output profile
INFO: [???] Multiplexing video program stream!
INFO: [???] Scanning for header info: Video stream e0 (M:\Temp\New Folder\File_DVD.mpv)
INFO: [???] VIDEO STREAM: e0
INFO: [???] Frame width : 352
INFO: [???] Frame height : 240
INFO: [???] Aspect ratio : forbidden
INFO: [???] Picture rate : 29.970 frames/sec
INFO: [???] Bit rate : variable
INFO: [???] Vbv buffer size : 40960 bytes
INFO: [???] CSPF : 0
INFO: [???] Scanning for header info: Audio stream c0 (M:\Temp\New Folder\File_DVD.mpa)
INFO: [???] MPEG AUDIO STREAM: c0
INFO: [???] Audio version : 1.0
INFO: [???] Layer : 2
INFO: [???] CRC checksums : no
INFO: [???] Bit rate : 28672 bytes/sec (224 kbit/sec)
INFO: [???] Frequency : 48000 Hz
INFO: [???] Mode : 0 stereo
INFO: [???] Mode extension : 0
INFO: [???] Copyright bit : 0 no copyright
INFO: [???] Original/Copy : 1 original
INFO: [???] Emphasis : 0 none
INFO: [???] SYSTEMS/PROGRAM stream:
INFO: [???] rough-guess multiplexed stream data rate : 0234048
INFO: [???] target data-rate specified : 10080000
INFO: [???] Setting specified specified data rate: 10080000
INFO: [???] Run-in Sectors = 89 Video delay = 13019 Audio delay = 0
INFO: [???] New sequence commences...
INFO: [???] Video e0: buf= 237568 frame=000000 sector=00000000
INFO: [???] Audio c0: buf= 4096 frame=000000 sector=00000000
INFO: [???] Scanned to end AU 6266
++ WARN: [???] Discarding incomplete final frame MPEG audio stream c0!
INFO: [???] STREAM e0 completed @ frame 6266.
INFO: [???] STREAM c0 completed @ frame 8709.
INFO: [???] Multiplex completion at SCR=18819072.
INFO: [???] Video e0: buf= 218601 frame=006266 sector=00020295
INFO: [???] Audio c0: buf= 1408 frame=008709 sector=00002898
INFO: [???] VIDEO_STATISTICS: e0
INFO: [???] Video Stream length: 40515796 bytes
INFO: [???] Sequence headers: 526
INFO: [???] Sequence ends : 1
INFO: [???] No. Pictures : 6266
INFO: [???] No. Groups : 526
INFO: [???] No. I Frames : 526 avg. size 20238 bytes
INFO: [???] No. P Frames : 2614 avg. size 8529 bytes
INFO: [???] No. B Frames : 3127 avg. size 2422 bytes
INFO: [???] Average bit-rate : 1550000 bits/sec
INFO: [???] Peak bit-rate : 2137600 bits/sec
INFO: [???] BUFFERING min 17 Buf max 143219
INFO: [???] AUDIO_STATISTICS: c0
INFO: [???] Audio stream length 5853124 bytes.
INFO: [???] Syncwords : 8711
INFO: [???] Frames : 8711 padded
INFO: [???] Frames : 0 unpadded
INFO: [???] BUFFERING min 15 Buf max 683
INFO: [???] MUX STATUS: no under-runs detected.
(Total size: 46MB, Duration: 00:00:03, Rate(MB/Min): 799.28)
Analysing File: M:\Temp\New Folder\File_DVD.mpg
++ WARN: mpeg stream will be padded on the fly -- hope that's ok for you!
++ WARN: mpeg stream contained no scan information (user) data
++ WARN: autopadding requires to insert additional 141036 zero bytes into MPEG stream (due to 511 unaligned packets of 512 total)
============ Complete ============
============ Duration: 00:00:11 -
what does avicodec think the _DVD.mpg files are?
SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
No. I will need to see a sample (of the original mpeg). Can you use the MakeSample tool (from the Tool Menu) to make a sample & ftp it to:
ftp://svcd2dvd:Upload@ftp.svcd2dvdmpg.com:7676/duhmez
CBSVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
I was in error with my previous statement, it is doing it to each and every mpeg file I throw at it. (The sample I sent is funny, check it out)
-
Well a few things were discovered...
Yes the file now has a mpg2 header and so programs which only look at this header report it to be a mpg2 program stream. Others look a bit more closely and report it correctly.
Whilst this isn't an issue when authoring with SVCD2DVD i can see how other applications may choke.
I wiill fix it in v2SVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control! -
Good job! A question if you wouldn't mind. Why does this happen? Does it only happen when making PS ? And is this why you didn't detect this issue because ES and Author modes don't do it?
Or does it always do it and no one ever realized because the output files always work? -
ES doesn't do it. Authoring does but the _DVD.mpg files are not usually reused. So it would only be noticed in PS/VCD.... Anyway going forward this won't be an issue.
CBSVCD2DVD v2.5, AVI/MPEG/HDTV/AviSynth/h264->DVD, PAL->NTSC conversion.
VOB2MPG PRO, Extract mpegs from your DVDs - with you in control!
Similar Threads
-
VCD/Mpeg1 to DVD/Mpeg2 - tools?
By shira in forum Video ConversionReplies: 5Last Post: 5th Jan 2011, 20:49 -
Avi to (MPEG1, MPEG2 PS)
By kilee in forum ffmpegX general discussionReplies: 7Last Post: 27th Dec 2010, 18:39 -
remuxing mpeg1 audio to mpeg2
By ChaosOrb in forum Newbie / General discussionsReplies: 3Last Post: 9th Sep 2009, 14:25 -
Question about which is more clear, mpeg1 or mpeg2?
By jimdagys in forum Newbie / General discussionsReplies: 12Last Post: 25th Sep 2008, 01:08 -
Mpeg Streamclip_DVD to Mpeg1 or Mpeg2
By edit204 in forum Newbie / General discussionsReplies: 1Last Post: 9th Nov 2007, 10:58