DUALPES stream mux to PS format

Digital Recording
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

DUALPES stream mux to PS format

Beitrag von pussygalore »

I will try to post this all again as I think it got deleted (with no warning) for mentioning names of things I am not supposed to (despite having nothing to do with the problem :evil: )

I have searched and searched and can find no suitable s/w that will allow me to take the dualpes stream output from dbox and convert it to a player 'nice' format like PS (or maybe SP-TS). I would like the software to be controllable from the command-line so that I can restart it with new vpid/apid values when I detect a channel change. The reason I would like to do this is to multicast or broadcast the current channel to the network for vlc (or mplayer etc) to play from any computer.

The SPTS mode on the dbox for which I can interface the vlc to directly (via streamts service on dbox) makes the dbox unstable so I really want to remain in dualpes mode. I also would prefer the s/w to run on dbox, or if not then a linux server, and worst case win32!

The closest I have come is the wingrabcmd cmd-line utility but that is win32 / pascal and writes to a file not a pipe/socket/fifo etc. I would prefer to not have to modify and use this...

I have tried lots of images and they are all pretty much the same (ie the important base code comes from cvs).
SPTS mode requires ucode 0014. Box becomes unstable (freezing/lociking-up/loss of audio/video) with this ucode, regardless of avia mode.
I have tried/looked at many different program /combos so far (ggrab, udrec, tuxvision, mjpeg tools mplex, dvbstream, wingrab/wingrabtv, dvb mpeg tools/lib etc).

I reiterate that I would like to achieve following scenario:

Current channel on dbox broadcast/multicast to remote vlc/mplayer/xine (whatever); when channel changes no matter how (from jacktv/remote control-neutrino-zapit, nhttpd-zapit etc) I would like the channel being streamed to change also.
I know that vlc will happily restream, but need to get the data to it in PS (or even TS) format.

Please accept my apologies if this has been answered on this forum (as my german is non-existent beyond babelfish)...

thanks for any tips/assistance
PT-1
Moderator english
Beiträge: 2458
Registriert: Donnerstag 20. Dezember 2001, 00:00

Beitrag von PT-1 »

As mentioned before the BBC Channels on UK Cable are not encrypted in any way (Free TV). You can also plug in the UK Cable Feed into a analog TV or VCR and receive the channels without any descrambling needed.

A bit like our Terestial TV ARD/ZDF

This has also to do with my prevoius post's in the cdk Area to create a english Neutrino Image without any PlugIns for German usage.

It would be nice if any of the "grab" specialists could maybe at least answer this topic without expecting that a Emu Image is used. The only reason this user has this Image is that they are widely spread in the UK and completely modded in english without any German in them.

THX

PT-1
rasc
Senior Member
Beiträge: 5071
Registriert: Dienstag 18. September 2001, 00:00

Re: DUALPES stream mux to PS format

Beitrag von rasc »

pussygalore hat geschrieben:I will try to post this all again as I think it got deleted (with no warning) for mentioning names of things I am not supposed to (despite having nothing to do with the problem :evil: )
Well, we have strict board rules here - especially regarding non-legal images or topics (also naming these here). So no discussion/complains about this, please. If we would allow (parts of) this, we probably would have an ongoing discussion, if a post is within the rules or not and why... - besides legal issues here in DE...


BTW: I have no answer to your question.
But makeing a PS from serveral PES should hopefully not be a problem - there should be programs arround capable of doing this...
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

By the way, I am trying to avoid using any muxer that expects ES, as I dont' want to lose timesync info only to have to reconstruct it (and then have the common problems with maintaining audio-to-video sync). I think that rules out tcmplex, mplex, etc...
tonsel
Erleuchteter
Erleuchteter
Beiträge: 536
Registriert: Freitag 21. September 2001, 00:00

Beitrag von tonsel »

Wingrab is able to mux two or more PES to one MPEG-PS

http://www.linuxatdbox2.de/download.html

tonsel
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

wingrab is file oriented, rather than stream (though I can get it to stream and set the file to NUL!). The problem is that I can't automate the launch of it to a specific channel (via apid/vpid etc). This means that when I change channel (eg via remote) the wingrab is no use. I would prefer a cmd-line based utility that preferably has a mode to not write to files at all (just stream PS)...
tonsel
Erleuchteter
Erleuchteter
Beiträge: 536
Registriert: Freitag 21. September 2001, 00:00

Beitrag von tonsel »

In this case try ggrab.

http://www.menzebach.de/ggrab/

This is a Linux cmd-line utility which also runs under Win with cygwin.

tonsel
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

I tried ggrab 0.22a (as I said above) - but this doesn't work - video /audio all corrupted.
tonsel
Erleuchteter
Erleuchteter
Beiträge: 536
Registriert: Freitag 21. September 2001, 00:00

Beitrag von tonsel »

ggrab and wingrab are the only tools that directly create PS.

I don't know any tool that automaticaly changes the streamed channel if you zap with the remote control. With udrec you can zap per commandline (e.g. udrec -tv 1 2 -ts) to the channel you want to stream and you can create TS.

The ES-streams from udrec can be muxed with mplex without loosing timsync - as the author of udrec I have tried my best.

tonsel
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

ggrab produces nothing usable for me, wingrab works well too (and produces ps). I dont need ps ! ts will also be fine as vlc should handle that as input, I think. As the author of udrec perhaps you could tell me any way to get it to read dual pes and output ts (to a stream or fifo (on linux) or stdout)? That would be a good start for my problem. Also out of interest what does the -mplex option on udrec actually do (does it call mplex binary)?
tonsel
Erleuchteter
Erleuchteter
Beiträge: 536
Registriert: Freitag 21. September 2001, 00:00

Beitrag von tonsel »

In udrec there is no way to read dual PES and output TS. But you can directly stream TS - I don't see the difference.

Output to stdout is not possible in udrec because in almost all modes (except -ts) udrec produces more than one output file.

The -mplex option prints the filenames you need in the call for mplex to stdout. Therfore you can make a simple linux-script which muxes and deletes the ES-Streams after completion of udrec.

tonsel
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

The problem with streaming ts is I need to set spts mode. When I set spts mode I have problems with audio and stability on normal playback.

I don't want normal files to be written as I am trying to constantly stream. I assume the only to avoid files with udrec would be to stream ts to it and output to a fifo using linux version?
tonsel
Erleuchteter
Erleuchteter
Beiträge: 536
Registriert: Freitag 21. September 2001, 00:00

Beitrag von tonsel »

This should be possible - but I havn't tried it.

But You may experience problems (Ruckler = interruptions?) if you view the streams in realtime. This ist because of the special kind of data transmission of udrec which ist optimized for maximum transfer rate and not for realtime use.

With your application ggrab ist the optimum solution. If you expierence problems with the ggrab-streams, find the reason and solve it. A lot of people use this program without problems. At first you should try tcp-transmission instead of udp-transmission. It's slower but safer.

tonsel
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

Not sure how to go about getting ggrab working....most people I have seen positng on various uk formus have no joy with ggrab and use your udrec!!
pussygalore
Neugieriger
Neugieriger
Beiträge: 10
Registriert: Dienstag 14. Juni 2005, 23:08

Beitrag von pussygalore »

Took the advice and tried again with ggrab! Finally found out what my problem was (after pt-1 confirmed that he had no problem with the same ggrab and images etc).

I am not sure if this is a know issue, but what I have found is that if you invoke ggrab using a relative output path (ie -o <path>) it does not work (at least on two machines I tried it on - xp and win2k). Change the path to fully qualified and all is fine!!! I had given up because of this "bug" and had not even tried writing to stdout - c'est la vie.

Now I can stream dualpes to stdout in PS format and vlc reads from stdin. A few dopouts but I should be able to look at fine tuning now.


Thanks @tonsel for your help