[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mplayer-users
Subject:    Re: [MPlayer-users] output file options for VCD
From:       Nico Sabbi <nsabbi () tiscali ! it>
Date:       2004-12-07 22:14:42
Message-ID: 41B62B52.2060401 () tiscali ! it
[Download RAW message or body]

RC wrote:

>On Mon, 06 Dec 2004 12:12:33 +0000
>Osmany Guirola Cruz <osmany.guirola@cigb.edu.cu> wrote:
>
>  
>
>>then i got multiple lines like this
>>
>>Pos:  59.4s   1784f (99%)  85fps Trem:   0min   4mb  A-V:0.026
>>[409:223] 1 duplicate frame(s)!
>>Unknown block type, possibly non-MPEG stream!
>>    
>>
>
>You need to have "harddup" in your video filters when using "-of mpeg". 
>
>Even with that, the MPEG file you output will have the wrong blocksize
>(as Nico said), and vcdimager will have to pad it, wasting a lot of your
>VCD's disc space for no reason.  It's much better to take the mpeg file,
>then use "mplayer -dumpvideo" and "-dumpaudio", then muxing the two
>together with mplex or tcmplex (even smaller output).  Alternatively,
>you can apply Nico's MPEG patch to your mplayer source, and avoid all of
>this.
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users@mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>  
>

I just realized that there was a nasty bug in write_mpeg_pes_header():
the block that reads:

if(h->dts)
{
      write_mpeg_ts(&buff[len], h->dts, 0x1); // 0001 before DTS
       len += 5;
 }

must be:

if(h->dts)
{
      write_mpeg_ts(&buff[len], h->dts, 0x10); // 0001 before DTS
      len += 5;
}


sorry


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic