[libav-bugs] [Bug 388] New: bugs when muxing to MPEG-PS

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Oct 30 17:02:47 CET 2012


https://bugzilla.libav.org/show_bug.cgi?id=388

           Summary: bugs when muxing to MPEG-PS
           Product: Libav
           Version: git HEAD
          Platform: X86
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavformat
        AssignedTo: bugzilla at libav.org
        ReportedBy: zfsdownuse at 163.com


MPEG-PS files muxed with libav just can't play(turned black) or can't playback
or show wrong play time in most karaoke's mpeg-play-system.

so i tried to find out the reason in many ways, finally i found these:

i use Mediainfo to see the mpg info.
 the playable one's audio info is (it is muxed with mplex.exe(a stuff of
mjpegtools-2.0.0))

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Duration                                 : 3s 0ms
Bit rate mode                            : Constant
Bit rate                                 : 96.0 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 35.2 KiB (9%)

and the non-playable one
 it has a Delay relative to video : -67ms

Audio
ID                                       : 192 (0xC0)
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 2
Duration                                 : 3s 0ms
Bit rate mode                            : Constant
Bit rate                                 : 96.0 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : -67ms
Stream size                              : 35.2 KiB (9%)

 i also use MPEG PS Utils to see the PS Format Info, this file is added to the
attachment.

it shows the differences between the two mpg files in detail.

the non-playable mpg file's system_clock_reference_base is not begin with Zero
and its mux-rate seems to large.

i think the PCR is also buged, it's not begin with 0, the SCR base is not begin
with 0, either.

samples are uploaded

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list