LinHES Forums
http://forum.linhes.org/

Playback glitch from Mythburn created DVD
http://forum.linhes.org/viewtopic.php?f=6&t=7077
Page 1 of 1

Author:  marc.aronson [ Fri Nov 25, 2005 8:30 pm ]
Post subject:  Playback glitch from Mythburn created DVD

I am having playback problems with a DVD created by mythburn:
    1. During playback of the show I get a periodic "glitch" where it looks like a very short section of both audio and video has been dropped.

    2. It happens periodically during playback, not just once.

    3. If I play the show back multiple times, the glitches happen at the same spots during playback.

    4. The problem happens both when played on a PC using Windows/PowerDVD and when played on my SONY DVD player connected to my TV.
Some info about my configuration:
    1. I am using an R5A16 install with a PVR-250.

    2. I followed instructions from the wiki, with the exception that I manually installed JRE, as I was hesitant to allow apt-get to do an upgrade on 4 packages it wanted to ugprade.

    3. I record NTSC, 2200kbps, 352x480. I'll note that this resolution worked fine with a much older version of mythburn back when I was running my R4V9 install, many moons ago.


I've tried both "replex" and "mutiplex" in the "remplex.sh" script -- multiplex does give a slightly better result, but I still the the a/v glitch. Any guidance on how to resolve would be appreciated -- I've also included some warnings that show up in my mythburn logs below, in case that is useful. Thanks!

Marc

Code:
Multiplexing MPEG2 video files to DVD format and applying cutlists
----- datestamp=25-11-2005 17:25
----- datestamp=25-11-2005 17:25
1046_20051125103000_20051125110000.nuv
commerical cut disabled, remultiplexing for DVD format only
Re-multiplexing file /myth/tv/1046_20051125103000_20051125110000.nuv
9993
Could not read
Could not read
Return value is 0
use last config or standard ...
ProjectX 0.82.1.02_b2/06.06.2005 TEST PROJECT ONLY , User: www-data

quick CL usage: (Note: CL also loads the GUI components, without displaying)
without options  ...to start the GUI


Another segment

Code:
<<< session infos >>>

-> working with collection 0

-> normal log file
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE

-> write output files to: ./

-> Input File 0:  /myth/tv/1046_20051125103000_20051125110000.nuv (652799052 byt
es)
-> File is MPEG-2 PS/SS (Video/Audio PES)
-> demux
-> found PES-ID 0xE0 (MPEG Video) @ 38103000_20051125110000.nuv
-> found PES-ID 0xBD (private stream 1) (SubID 0x69)-> ignored @ 32768
-> found PES-ID 0xC0 (MPEG Audio) @ 39042
-> video basics: 352*480 @ 29.97fps @ 0.6735 (4:3) @ 2400000bps, vbvBuffer 112
-> starting export of video data @ GOP# 0
!> dropping useless B-Frames @ GOP# 0 / new Timecode 00:00:00.000
!> dropping GOP# 48 @ orig.PTS 00:00:24.357 (2192182)110000.nuv
-> Pics exp/cnt 15/15, inGOP PTS diff. 33ms, new Timecode 00:00:23.957
!> dropping GOP# 49 @ orig.PTS 00:00:24.891 (2240230)
-> Pics exp/cnt 15/15, inGOP PTS diff. 33ms, new Timecode 00:00:23.957
!> PTS difference of 96095 (00:00:01.067) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 50 / new Timecode 00:00:23.957
!> dropping GOP# 54 @ orig.PTS 00:00:27.427 (2468457)
-> Pics exp/cnt 15/15, inGOP PTS diff. 33ms, new Timecode 00:00:25.892
!> PTS difference of 48048 (00:00:00.533) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 55 / new Timecode 00:00:25.892
!> dropping GOP# 75 @ orig.PTS 00:00:37.971 (3417400)110000.nuv
-> Pics exp/cnt 15/15, inGOP PTS diff. 33ms, new Timecode 00:00:35.835
!> PTS difference of 48048 (00:00:00.533) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 76 / new Timecode 00:00:35.835
!> dropping GOP# 78 @ orig.PTS 00:00:39.505 (3555537)
-> Pics exp/cnt 15/15, inGOP PTS diff. 33ms, new Timecode 00:00:36.770
!> PTS difference of 48047 (00:00:00.533) to last exported GOP detected

Author:  marc.aronson [ Fri Nov 25, 2005 10:30 pm ]
Post subject: 

I reinstalled mythburn from CVS to get the latest version & I installed mpg123. Unfortunately, I have the same problems. 2 more additional extracts from the log are below -- thanks for any help!

Marc

Code:
STAT: Processing /myth/mythburn/temp/intro1.mpg...
WARN: attempt to update tv format from ntsc to pal; skipping
WARN: Discontinuity in audio channel 8; please remultiplex input.
WARN: Previous sector: 0.178 - 0.178
WARN: Current sector: 0.256 - 0.256

Code:
STAT: Processing /myth/mythburn/temp/1046_20051125103000_20051125110000.nuv...
WARN: attempt to update resolution from 720xfull to 352xfull; skipping

Author:  marc.aronson [ Sat Nov 26, 2005 11:43 am ]
Post subject: 

I have confirmed that the issue is my use of 352x480 as my recording resolution. The problem does not happen with a 720x480 recording I made. I tried tweaking mythtvburn.sh to deal with 352x480 (diffs are below w/ 1 line of context surrounding each change), but it doesn't seem to solve the problem. I'll do some more digging later, but in the meantime, if anyone has any suggestions on how to solve this so I can continue to record at 352x480, your help would be appreciated. Thanks!

marc

Code:
root@mythtv:/myth/mythburn# diff -bc1 mythtvburn.sh.orig mythtvburn.sh.marc
*** mythtvburn.sh.orig  Sat Nov 26 09:13:45 2005
--- mythtvburn.sh.marc  Sat Nov 26 09:14:56 2005
***************
*** 248,250 ****
        framerate=29.97
!       pageresolution=720x480
  fi
--- 248,250 ----
        framerate=29.97
!       pageresolution=352x480
  fi
***************
*** 395,397 ****
  echo "<vmgm><menus lang='en'>"  >> $myxml
! echo "<video format='$videoformat' aspect='4:3' />"  >> $myxml
  echo "<pgc entry='title'>"  >> $myxml
--- 395,397 ----
  echo "<vmgm><menus lang='en'>"  >> $myxml
! echo "<video format='$videoformat' aspect='4:3' resolution='$pageresolution' />"  >> $myxml
  echo "<pgc entry='title'>"  >> $myxml
***************
*** 767,769 ****
  echo dvdauthor -o ${dvddir} -x $myxml
! nice dvdauthor -o ${dvddir} -x $myxml
  checkreturnvalue
--- 767,769 ----
  echo dvdauthor -o ${dvddir} -x $myxml
! nice dvdauthor -o ${dvddir} -x $myxml -v $pageresolution
  checkreturnvalue

Author:  belcampo [ Tue Nov 29, 2005 10:22 am ]
Post subject:  DVD standard

DVD standard is 720x480 for NTSC, it is impossible to use another resolution, if you want it DVD-compliant

Author:  marc.aronson [ Tue Nov 29, 2005 12:20 pm ]
Post subject: 

Belcampo, thank you for your feedback. I have played back 352x480 DVDs on my DVD player many times in the past. I believe it is one of the standards that is supported.

From http://www.afterdawn.com/glossary/terms/dvd-video.cfm

Quote:
DVD-Video
Full description not available yet.

Subset of DVD specs, even though normally term "DVD" refers to this particular format.

DVD-Video is a standard developed by DVD Forum and specifies how video should be stored on optical DVD disc. DVD-Video specs allow two different kind of video encoding algorithms to be used: MPEG-2 and MPEG-1. Virtually all DVD-Video discs use MPEG-2 format, mostly because of its superiority over MPEG-1 in terms of video quality.

Resolutions that video streams can use, are:

720x480 (NTSC, only with MPEG-2)
720x576 (PAL, only with MPEG-2)
704x480 (NTSC, only with MPEG-2)
704x576 (PAL, only with MPEG-2)
352x480 (NTSC, MPEG-2 & MPEG-1)
352x576 (PAL, MPEG-2 & MPEG-1)
352x240 (NTSC, MPEG-2 & MPEG-1)
352x288 (PAL, MPEG-2 & MPEG-1)


Marc

Author:  ceenvee703 [ Tue Nov 29, 2005 1:33 pm ]
Post subject: 

What Marc said... I use 352x480 all the time.

From http://www.dvddemystified.com/dvdfaq.html#3.4:

Quote:
Allowable picture resolutions are:
MPEG-2, 525/60 (NTSC): 720x480, 704x480, 352x480, 352x240
MPEG-2, 625/50 (PAL): 720x576, 704x576, 352x576, 352x288
MPEG-1, 525/60 (NTSC): 352x240
MPEG-1, 625/50 (PAL): 352x288

Author:  belcampo [ Wed Nov 30, 2005 3:07 am ]
Post subject:  Sorry didn't read carefully enough and didn'tknow about that

Many many moons ago, I think mythburn wasn't using ProjectX, but avidemux, maybe it has something to do with that.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/