PDA

View Full Version : H.264 (.TS) joiner


zoopido
18th July 2006, 06:18
I have many H.264 .TS files that I need to join on a regular basis. They will be encoded using Ateme under the same configurations for audio and video. Is there a program (or combination of programs) that will let me join the clips without a re-encode?

From my research, the closest I've found is using Mplayer to demux the TS to .mp4 and join with YAMB. The problem is, how do I mux it back to .TS? I apologies if the answer is obvious as I haven't played with Mplayer yet.

If there is a better solution, please advise. The program(s) can be commercial or open source. Price isn't much of an issue.

Thanks in advance!

Golgot13
18th July 2006, 09:53
What version of Ateme software do you use?

I want to know if you use a commercial version or free version:
- Free version is only "basic profil" or "main profil", there is
some softwares (freewares) to join.
- Commercial version can do "High Profil", there are 2 softwares
but not free, the best is very expensive (8 000 $ US).

You don't need to make *.mp4, you can with some software
to join directly the *.ts files.


Golgot13

Sergey A. Sablin
18th July 2006, 12:25
try this one - http://www.elecard.com/products/products-pc/consumer/xmuxer-pro/ it is a bit cheaper than $8000 ;)

Golgot13
18th July 2006, 15:12
Yes, but no join (only mux 2 TS, create 2 PMT, on one TS, like
TV channels mux on DVB).

And Xmuxer don't work well with H264 video stream
(it create 1xFFF PID with big bitrate: exemple: 1 H264 file at 15MB with
5Mbps of bitrate + 2 AC3 files with 648kbps of bitrate = 1 TS at 1.12GB
with bitrate at 20Mbps ???? ).

Xmuxer work well with only H264 CBR file (all H264 file is in ABR or VBR)
and don't like AC3 audio file (you can see my 4 posts on your elecard forum:
we need to use graphedit to use your directshows filters to mux AC3 and video file).



Golgot13

Randi
18th July 2006, 18:54
can't you just append the ts files using CLI? I'm quite sure I've read it somewhere, but don't remember where

bond
18th July 2006, 19:59
you also need to make sure that the avc streams use the same codec settings (or get a decoder that can handle avc streams with changing settings)

popper
18th July 2006, 22:25
im not sure its much use to you as is, but crypto has released a beta HDTVPump update that can take AVC/H.264
http://dvbportal.dyn1.de/forum/index.php?board=7;action=display;threadid=653
"
HDTVPump w/ H.264 support announced
« on: June 07, 2006, 12:07:11 AM » Reply with quote

A new version of HDTVPump is in the pipeline. The main change is that it will support H.264 transport streams. Testers with access to H.264 channels / files are welcome.

Current test version is 1.0.9, get it here "

and his tsconverter A/B cutter uses that, there doesnt seem to be a way to add files together though with that.

HDTVtoMPEG2 can, but then HDTVtoMPEG2 doesnt work with AVC ts files afaik.

perhaps you can make a graph or something, to make it work? in some app.

perhaps Crypto can add that multi files join option to TSconverter easly enough ?.

crypto
19th July 2006, 00:37
I think something gets mixed up here. zoopido seems to look for a way to mux a TS, but calls it join. A join however would combine several segments, which can be done by binary copying. I can add joining in tsconverter, but muxing is a much more complex task.

BTW. when using the CyberLink muxer in tsconverter, it claims H.264 TS as an option.

bobololo
19th July 2006, 00:40
try this one - http://www.elecard.com/products/products-pc/consumer/xmuxer-pro/ it is a bit cheaper than $8000 ;)

Try this one: copy /b clip1.ts + clip2.ts + ... clip.ts

It's even cheaper :p Ok that'll only work if all clipX.ts are generated using the same TS muxer settings (ie. same pids for program, es, etc.) and you'll have discontinuities but there is very few chance you can avoid them whatever the joiner you're using.

zoopido
19th July 2006, 03:58
Thanks for all the replies. :D

I've only recently gotten into digital media, so please excuse me for my mixup in terms. I think I have confused many of you with my MUX experiment. All I need is a joiner than accepts H.264 TS files, a program that will let me append any number of clips together in any order to make a larger H.264 TS file.

bobololo:
Could you please clarify on "discontinuities"? I'm assuming that means the transition between each clip won't be seemless.

cryto:
That feature would be greatly appreciated (at least by me).

Golgot13
19th July 2006, 10:56
The best is a software of KDDI (MPEG Edit Studio Pro).
It can edit at frame accurate all MPEG video (MPEG1 to H264 all
Profil, High 4:4:4 too, studio profil soon) on all container
(MP4, TS or MPG no mov yet).
The software change PID and PMT information to make
a good TS stream with all video clip inside.

Or there is MP2TSMS or MP2TSMM from manzanita can do this
but like Xmuxer of Elecard there is some bug (PID 1xFFF and bitrate,
no problems with AC3)


Your H264 video are from DVB TV or from encoder software
(to know if there is MBAFF or PAFF options).




Golgot13

bobololo
20th July 2006, 23:25
bobololo:
Could you please clarify on "discontinuities"? I'm assuming that means the transition between each clip won't be seemless.

Absolutely. The result of these discontinuities depends on your ts demuxer / decoder capabilities to recover from them.

zoopido
21st July 2006, 03:36
Golgot13:

Thanks, I will give that a try if binary copy doesn't work out as I'm not sure if I need a full fledged TS editor

bobololo:

Ahhh.. icic.. I will give it some testing, thanks again for your advice!

Golgot13
21st July 2006, 12:09
Golgot13:

Thanks, I will give that a try if binary copy doesn't work out as I'm not sure if I need a full fledged TS editor



You're welcome (pas de quoi ;) )


Golgot13

Thunderbolt8
14th December 2006, 01:09
I need a tool to join and seperate h264 streams in .ts container (is there 1 GOOD tool that can do both?). i need to join too short files together and seperate them afterwards again, but as fewer, larger pieces. could there happen any loss of quality when doing that ?