From: Josef Wolf <jw@raven.inka.de>
To: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] How to convert MPEG-TS to MPEG-PS on the fly?
Date: Mon, 25 Aug 2008 21:02:41 +0200 [thread overview]
Message-ID: <20080825190241.GH32022@raven.wolf.lan> (raw)
In-Reply-To: <F4917AA8-6EA3-40A7-855B-AEB774B26C58@recoil.org>
On Fri, Aug 22, 2008 at 04:44:56PM +0100, Nick Ludlam wrote:
> On 22 Aug 2008, at 15:44, Josef Wolf wrote:
>>On Fri, Aug 22, 2008 at 11:07:47AM +1000, Kevin Sheehan wrote:
>>
>>>Barry was right on the money with the ts2ps suggestion below. It's
>>>part of the libdvb package. You don't have to use the dvb-mpegtools
>>>app, you can just use the lib in yours - no pipes, etc.
I have now changed my application to create exactly what ts2ps creates.
Now I notice that neither mplayer nor vlc play the stream created by
ts2ps.
Vlc gives tons of error messages like this:
[00000365] main video output warning: vout warning: early picture skipped (47722279483)
[00000359] main audio output warning: received buffer in the future (47722179597)
no audio and black video :-(
If I remove the PS pack header and the PS system header (stream-id 0xba
and 0xbb) then both play the stream, but no STB plays it :-(
Next, I tried:
> The command I wrapped in a popen call from a script was:
>
> /opt/local/bin/replex -o /dev/stdout -i TS -v %s -a %s -t MPEG2
> /dev/ stdin
With this command, I get hopping video with VLC.
It seems to be a mess. None of the programs seem to produce proper
streams. Only mencoder seems to generate a proper stream. But AFAICS,
mencoder completely decodes the stream and re-encodes it again, eating
up all the CPU.
Any more ideas how to do the conversion?
BTW: Can anybody recommend a good book on the topic?
_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
next prev parent reply other threads:[~2008-08-25 19:10 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 21:10 [linux-dvb] How to convert MPEG-TS to MPEG-PS on the fly? Josef Wolf
2008-08-20 21:17 ` Steven Toth
2008-08-20 21:48 ` Josef Wolf
2008-08-21 12:10 ` barry bouwsma
2008-08-21 17:45 ` Josef Wolf
2008-08-22 1:07 ` Kevin Sheehan
2008-08-22 5:15 ` barry bouwsma
2008-08-22 15:16 ` Josef Wolf
2008-08-22 14:44 ` Josef Wolf
2008-08-22 15:44 ` Nick Ludlam
2008-08-25 19:02 ` Josef Wolf [this message]
2008-08-26 6:49 ` Nico Sabbi
2008-08-26 12:00 ` barry bouwsma
2008-08-26 22:45 ` Josef Wolf
2008-08-27 7:26 ` barry bouwsma
2008-08-27 22:00 ` Josef Wolf
2008-08-28 14:40 ` Johannes Stezenbach
2008-08-28 19:34 ` Josef Wolf
2008-08-28 21:09 ` Johannes Stezenbach
2008-08-28 22:48 ` Josef Wolf
2008-08-29 5:49 ` Josef Wolf
2008-08-29 15:45 ` [linux-dvb] PTS/DTS clarification (Was: How to convert MPEG-TS to MPEG-PS on the fly?) Josef Wolf
2008-08-26 22:31 ` [linux-dvb] How to convert MPEG-TS to MPEG-PS on the fly? Josef Wolf
2008-08-21 19:17 ` Josef Wolf
2008-08-21 21:14 ` Josef Wolf
2008-08-22 8:10 ` [linux-dvb] RE : " Thierry Lelegard
2008-08-25 19:55 ` Josef Wolf
2008-08-26 6:50 ` Nico Sabbi
2008-08-26 21:19 ` Josef Wolf
2008-08-22 7:57 ` Thierry Lelegard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080825190241.GH32022@raven.wolf.lan \
--to=jw@raven.inka.de \
--cc=linux-dvb@linuxtv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox