[MPlayer-dev-eng] [PATCH] -vobsub support for mencoder

Nicolas George nicolas.george at normalesup.org
Thu Feb 11 13:50:44 CET 2010


Le tridi 23 pluviôse, an CCXVIII, Gianluigi Tiesi a écrit :
> there is a way to pipe audio+video+subsorfriends from mplayer to ffmpeg
> without reling on 1:1 timing?

As far as I know, no, there is not.

> yuv4mpeg is video only so how to mux with audio?

yuv4mpeg is not even video only: the output stream is reset when mplayer
detects a framerate change, for example. A lot of NTSC content will be
unusable.

> maybe using two fifos on filesystem, but this is not suitable e.g. for win32

Not supporting a mediocre OS is not the worst problem here. Having two FIFOs
from a process to another is a sure way to end up with a process blocked
writing in one FIFO while the other is blocked reading in the second FIFO.

I understood the original suggestion like this:

- Imitate -vo yuv4mpeg to implement -vo stream, which muxes the raw video
  frames in a format more robust and complete than yuv4mpeg; maybe nut. At
  the very least, it needs to support accurate timestamps and muxing with
  audio.

- Imitate -ao pcm:fast to implement -ao stream, which muxes the PCM samples
  in the same stream as above.

- Use mplayer -vo stream:file=fifo -ao stream $input.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100211/bdeed3e7/attachment.pgp>


More information about the MPlayer-dev-eng mailing list