[MPlayer-users] Specifying vpid and apid while encoding MPEG-2 file

Christof Baumgärtner gagga at giggo.de
Tue Dec 19 02:52:50 CET 2006


Hi,
I need to specify which apid and vpid are used while encoding a MPEG-2 file. 
I have read through the manpage and other docs but could not find a way to 
specify these.

Currently I use these options which seem to create a valid PAL MPEG-2 file:
---
mencoder No1.mpg -o No1_neu.mpg -of mpeg -ofps 25 -oac lavc -ovc lavc -srate 
44100 -lavcopts 
acodec=mp2:vcodec=mpeg2video:vhq:keyint=25:vbitrate=1000:abitrate=192:scplx_mask=0.2 
 -vf pp=hb/vb/dr,hqdn3d,scale=720:-2,expand=0:576,crop=704:576
---

I am also using ProjectX to create a transport stream out of the mpeg file:
---
java -jar /home/christof/ProjectX_Source_0.90.4/ProjectX.jar -ini 
/home/christof/pX_ts.ini -out . /home/christof/No1_neu.mpg
---

Is there a way to create the transport stream directly from mencoder without 
using ProjectX? Couldn't find that neither in the docs.

Thanks.


Ciao,
Gagga 




More information about the MPlayer-users mailing list