View Full Version : Loosing 2 seconds at the end of mpeg2 files
bugeyes
17th December 2002, 06:17
Hi.
I'm loosing about 2 seconds at the end of my mpeg2 files after
authoring my SVCDs. My files are music clips.
The files play and ends very well on my computer with WMP and Fraunhoffer filters, or else. The problem appears when they are authored as an SVCD.
Can someone help me with this problem?
I use:
Smart Ripper to rip the vobs
DVD2AVI to demultiplex
HeadAc3he to convert ac3 to Wave
Sound forge to resample and fade the wave files
TMPegEnc to convert wave to mp2 (192)
TMPegEnc to encode the m2v (2p VBR)
bbmpeg to multiplex
VCDEasy/cdrdao to author
Thanks
Suzahara
17th December 2002, 06:30
You lose 2 secs when you play them on what...? Your computer? DVD Player? When you say you played them with WMP and Fraunhoffer filters I assume that was the finished rendered MPEG2 file? Was this on the disc or on your hard drive? You might try the disc on your computer to make sure it's not a imaging/burning error.
bugeyes
18th December 2002, 06:22
The files play correctly on my computer before being wrapped
to an SVCD.
The problem appears on my standalone DVD player,when
playing the authored SVCD. I have a Philco DV-P2500
bugeyes
18th December 2002, 06:33
The indicated playing time of the tracks are about
2 seconds less on the standalone player,
compared with the playing time indicated by WMP.
htc10825
18th December 2002, 19:00
Thx god that you've posted "more clear yet". Without that post we'll never understand what you meen - thx god agin.
The answer is in my long post in the middle/near-end of the thread:
http://forum.doom9.org/showthread.php?s=&threadid=33935
For short: your dvd player dose not always(or better: almost never) display the real playtime of the SVCD(due to the sectors - time code conversion). But the mediaplayer always dose!
bugeyes
19th December 2002, 06:09
Hi HTC10825
I read all the thread and nothing new.
Changing PBC on and off changed nothing.
And the "go to" works properly.
Sometime ago I posted a thread about an AV delay that
happened when my SVCDs played on a Philips standalone.
It was suggested me to multiplex the files with bbmpeg because
TMPGEncoder was not fully compliant with Philips firmware spec.
I'm now doing it and nothing changed. And somethig was
changed by bbMpeg because the mpeg2 files became a bit
larger.
Now I observed that the my Philco standalone does not end
the files properly but a Pioneer standalone does it very well.
And else: when playing my SVCDs on my computer, with WinDVD,
the tracks are ended correctly.
It seems to me that the problem could be the oriental spec applyed
by TMPGEncoder that can produce some non compliance in
some players.
I made a tryal inserting 2.0 seconds of silence at the end of the audio tracks, but the problem keeps the same.
It seems that all the time spent in fading out the sound tracks can be lost for some standalone players.
htc10825
19th December 2002, 19:26
The indicated playing time of the tracks are about 2 seconds less on the standalone player, compared with the playing time indicated by WMP.After read that post I supposed that the displayed playtime on your dvd player was 2 sec less than the displayed playtime in WMP. So I just pointed that my post in whitch I've concerned the problem of displayed playtime of vcd/svcd on dvd players.
But... I see that you have really another problem. You have very bad (in fat not at all)described it before. So such guys can only waste the time of expert. My consequence: bye-bye and good luck.
wmansir
19th December 2002, 22:36
I have the same problem with my APEX player. I don't believe there is a way to fix the issue.
As a work around I append 100 blank frames to the end of the video stream. To make this work you have to split up the video before encoding. I like this method anyway because it allows me to control the cut point, and fadeout/fadein the audio/video for each disc.
It takes a bit more work, but it's a lot better than the video just abruptly ending in the middle of a scene. In fact the reason I think most people don't know about this problem is because they use DVD2SVCD and don't really know where the cut should be, and so they don't notice when it comes ~2 seconds early on the standalone.
EDIT: correcttion, "I reason I think" became "the reason I think".
bugeyes
21st December 2002, 05:54
Hi wmansir.
You got to the point.
As I do not merge my mpeg2 clips before authoring the SVCD,
each music track is bad ended when played.
My first atempt was to enlarge the sound track,
but it did not work.
The second way would be to enlarge the video stream.
But as I do not know how to generate a blank video
stream to end merge it to my clips, I could not try it.
Can you give some light on how to make a blank video
stream 100 frames large as you did?
To copy and reencode a video stream is easy, but to
software generate one is not so simple for me.
Thanks.
wmansir
21st December 2002, 08:31
It's easy if you use Avisynth.
Here's a couple of examples.
This one is for dvd video, it trims the video, fadeouts, and appends 100 blank frames.
LoadPlugin("C:\easyenc\GORDIA~1\mpeg2dec.dll")#
# SOURCE
mpeg2source("f:\band\ep9\ep9.d2v")
#Cut the first segment, and fadeout last 40 frames
temp=trim(0,79132).fadeout(40)
#Append 100 blank frames
temp+temp.blackness(100)
This second one, takes an AVI and just appends 100 blank frames
Source=AviFilesSource("C:\MyVideo.avi")
Source+Source.blackness(100)
I know with my version of Avisynth the funciton Blackness doesn't work exactly as documented, which is why I use the syntax above. This syntax should work with all versions.
There is also a BlankClip function, but you have to enter a bunch of settings depending on what type of clip you want. I prefer blackness because it just creates a blank clip based on the source clip.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.