[MEncoder-users] encapsulating mp3 into MPEG-TS

scostas scostas at det.uvigo.es
Tue Jun 20 12:21:49 CEST 2006


Hi all:

I'm working with an Amino set-top-box which, unfortunately, only
supports video in MPEG-TS format. Current version of Mencoder can create
MPEG-TS video files (and I use it for the video part), but I want to
send audio-only streams too (music on demand), so the only solution I
see is to create an MPEG-TS file without video, only with audio stream.

How can I do it with mencoder? I tried with

mencoder -oac lavc -of lavf -lavfopts
i_certify_that_my_video_stream_does_not_use_b_frames:format=mpegts
-lavcopts acodec=mp2:abitrate=224 -o test.ts music1.mp3

But it tells that video stream is mandatory.

Thanks for the answers.

Sergio Costas.



More information about the MEncoder-users mailing list