Hello,
This kind of question was asked before on here a few years ago but didn't get solved so I was hoping to see if anyone else has any new ideas.
I have recordings I made from a Xoro 9000 DVR about 10 years ago.
A movie recording made from this box is not one file, instead it is split in to several 1GB .ts files and for each 000.ts there is a matching 000.dvr and an extra info(x).dvr also.
Like this:
The .ts files play fine in vlc but I would like to join them together, preferably without loosing quality.Code:000.dvr 000.ts 001.dvr 001.ts 002.dvr 002.ts 003.dvr 003.ts info3.dvr
I tried using the kdenlive video editor but there is a brief audio/video glitch at the join.
I also tried ffmpeg. I made a file called 'mylist.txt' with this contents:
Then ran this command:Code:# this is a comment file '000.ts' file '001.ts'
But I get the same type of glitch at the join for a few seconds.Code:ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.ts
Is this something that is just never going to work out and I am wasting my time trying to have a perfect seamless join?
Cheers,
Flex
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 30 of 34
Thread
-
-
Ali DVR Export Tool
you should have .dvr only, and the tool creates the .ts -
Thank you. But that does not work. When I try to drag the .dvr files on to the "Ali DVR Export Tool" UI the .dvr files are not recognised.
Same thing if I do File > Open and select the folder containing the .dvr files.
Anyone else have other ideas?
Flex -
upload 001.dvr, 002.dvr and 003.dvr here
-
If the files were originally not recorded/splitted seamlessly it can never work of course.
But with a DVR recorder i would expect them to be seamless.
Long ago i also had a DVR/PVR (MPEG2) cable box which recorded in blocks of 1 GB TS files.
The tool i always used then to join/process/repair the files was ProjextX.
Did you already try to join them with a regular "dumb" file joiner and see what that gives?
Same as you would join seamless VOB segments.
Also try/examine with Avidemux possible?Last edited by The_Doman; 24th Sep 2024 at 16:19.
-
Long ago i also had a DVR/PVR (MPEG2) cable box which recorded in blocks of 1 GB TS files.
The tool i always used then to join/process/repair the files was ProjextX.
Did you already try to join them with a regular "dumb" file joiner and see what that gives? -
I have added the .dvr files to the attached zip archive.
They are binary files and I don't know what you can do with them unless you have the .ts files also?
@The_Doman
Yes, I have tried combining the .ts files using three ways:
kdenlive
ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.ts
cat 000.ts 001.ts > o2.ts
Each time there is a blip when the two files join. It's not major but for me it's a showstopper.
I checked ProjextX, haven't tried it yet but it's over 10yrs old and doesn't seem to support H.264 which my .ts files are.
Any help much appreciated.
FlexLast edited by flexmcmurphy; 24th Sep 2024 at 14:07. Reason: adding information
-
OK I see. The .dvr files I knew are audio/video files created by the recorders. Yours are a sort of data/support for the .ts files. Same extensions, different content. Ali DVR Export Tool won't help here.
You can try TSDoctor (https://www.cypheros.de/eng/tsdoc4.html) to see how it reacts to the .ts files ... -
You could also remux the ts to mkv (no re-encode, remux only) and the try to join the mkv's.
-
Yes, I know the exact problem, it annoys me the same too when video joins are not "perfect".
If the recorder uses a special header (with help of the accompanying .dvr files?) for every captured segment then ProjectX won't help too.
Possible by analyzing and editing the files manually may be it can be done? -
Instead of uploading whole 1GB TS files possible you can split them in smaller (50/100 MB?) segments?
"Dumb" Splitted TS files are usually playable thanks to the extra recovery/resync data included.
Assuming they are real TS files.
Then you could post the last part of 000.ts and the first part of 001.ts for example to see if/how they can be joined "perfectly". -
What about a simple concat with Windows command line COPY:
Code:COPY/B 001.ts+002.ts+003.ts output.ts
-
@jagabo
I tried that COPY/B command from Windows...
Code:COPY/B 000.ts+001.ts output.ts
Although, the result in Windows was better than doing this in Linux which is I think basically the same thing:
Code:ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.ts
@The_Doman
Splitting the .ts files into small sizes and then trying to join just two small .ts files would make things easier, but I fear I could spend hours and hours on that. I don't know enough about video and audio codecs and so on.
@lollo
I haven't tried TSDoctor yet but I doubt it will make any difference. It seems those binary .dvr files are needed to make all the .ts files join together seamlessly. The .dvr files probably contain tracking information and so on to make the join perfect.
I think I need the Xoro HRC 9000 media player to play these files. I suppose there is no chance that player could be available to download from the internet because it is likely proprietary software?!
@ProWo
I tried re-mux'ing the .ts files using MKVToolNix.
Then I used this command in Linux to try to join them...
Code:ffmpeg -i "concat:000.mkv|001.mkv" output.mkv
Code:COPY/B 000.mkv+001.mkv output.mkv
Perhaps you cannot join .mkv files? Or maybe MKVToolNix is no good or I used it the wrong way.
I actually wrote an email to info@xoro.fr but I doubt I will get any response. The Xoro 9000 is from 2011 or older.
Flex -
-
If you have the disk space maybe try this. I'm guessing you'll need about 100 GB.
Create AVI files from two of the TS files, and then join them.
Code:ffmpeg -i 000.ts -c:v huffyuv -c:a copy 000.avi ffmpeg -i 001.ts -c:v huffyuv -c:a copy 001.avi copy /b 000.avi 001.avi output.avi
That said, I'd use ffmpeg to join them.
Code:for %%a in (*.avi) do echo file '%%a' >> list.txt ffmpeg -safe 0 -f concat -i list.txt -c copy output.avi del list.txt pause
-
-
The problem is probably that the video stream and the audio stream of the individual ts junks are not the same length.
If the stream lengths match exactly, the join will also work. -
Give TS Doctor a try. In https://www.videohelp.com/software/TS-Doctor/reviews there is a mention on joining files similar to yours (the date of the report is Oct 27, 2009)
-
Indeed, they are a Germany based company and support a lot of different DVR/PVR recording formats what i read.
Also that Xoro DVR box is from Germany too.
The Xoro spitted recordings are mentioned on their (geman) forum too:
Cypheros Forum: Bearbeiten gesplitteter Dateien (Xoro HRS 8750)
Wen loading the first part, it should ask to join the other parts of the recording.Last edited by The_Doman; 25th Sep 2024 at 04:21.
-
Can you upload the last 15 seconds of 000.ts and the first 15 seconds of 001.ts? Something for us to work with.
-
-
-
Thank you to everyone for all your advice so far.
I have about 80 movie recordings that were recorded using that Xoro 9000 box about 10-years ago. Yes I am being pedantic about glitches where I join the .ts files but for me that's a showstopper and if I cannot join the multiple .ts files perfectly I might as well just re-download them, rip them again from friends DVDs or try to record them again when they are shown on TV again.
@Sharc
Thanks. I tried Tssplitter but it's the same as the other joining methods... at the join the audio and video skip about 2 seconds so there is a noticeable glitch. The matching .dvr files must be needed to co-ordinate the timing of connecting the different .ts files.
@The_Domon
I tried TSDoctor in a Win 10 VM but it limits the saved file sized to 500MB so I need to boot in to Windows bare metal and try it again that way. I will report back.
@pcspeak
That's a good idea to split my .ts files into maybe 30 second chunks to share with you guys but after googling a little about how to split the .ts files down to smaller sizes now I think splitting the .ts files may just introduce more potential for out-of-sync audio/video problems! Unless you are sure of a way to split .ts files that preserves the audio and video streams start and stop timestamps then I think that might be a frustrating waste of time because the main issue here IS trying to preserve and re-join the audio and video streams start and stop timestamps exactly.
I also tried converting the .ts files to .avi and yes the resulting .avi file size is so huge that I do not actually have easy access to enough drive storage to try that out fully.
@18davexnet
The glitch is both audio and video. I would not be able to fix the join using Audacity or another video editing tool as far as I can tell because about 2 seconds of audio and video are lost in the transition from one .ts file to the next. I tried lining them up together in kdenlive in Linux and it just doesn't work.
Flex -
If you are using "dumb" data file-splitter, which only splits the files without any other operation, you will end up with exact the same data when the parts are joined again.
So especially NOT use a video splitting tool.
There are many tools around which can do this.
For example with the excellent filemanager Total Commander you co do it easily.
Or the Total Commander inspired Double Commander for Win/Linux/Mac.
Total Commander - Splitting Files:
[Attachment 82460 - Click to enlarge]Last edited by The_Doman; 25th Sep 2024 at 09:57.
-
@The_Doman
Thanks for the advice. But I don't think I will need to try that method now because...
@lollo
TSDoctor works! Thank you so much for mentioning this to me. I doubt I would have ever found it.
Yes that commenter must have had the exact same problem as myself.
I just feed the info(n).dvr file in to it and it syncs up all the .ts files in to one without any glitches
It is really sophisticated software and I can use it free for 30 days or else pay the pretty reasonable license fee.
My last question:
What is the best way to losslessly change/mux the large .ts file to a format suitable for editing out commercials?
I think TSDoctor offers functionality along those lines but it looks complicated and I might have to pay extra for plugins.
From this thread I found some suggestions. Would this work? Is .mkv the best choice output file type to work on removing commercials later in a video editor?
Code:ffmpeg -i movie.ts -map 0 -c copy movie.mkv
Or maybe I don't need lossless which will create files that are too big so maybe I would re-encode the video to H.264 and audio to aac?
Code:ffmpeg -i movie.ts -map 0 -c:v libx264 -c:a aac movie.mkv
FlexLast edited by flexmcmurphy; 25th Sep 2024 at 10:52. Reason: Updating comment
-
Nice you got it working now.
The satisfaction of "seamless" joined video finally!
The best overall tool for such things i think is Video-redo which features smart rendering/editing, but that is not a free solution.
Possible you could try Avidemux?
It works for me nicely/easy to quickly convert/remux TS recordings to more common formats like MP4/MKV.
You then also can choose the desired audio track(s) if available.
And if keyframe editing is good enough you can quickly cut out commercials/unwanted parts too.Last edited by The_Doman; 25th Sep 2024 at 11:31.
Similar Threads
-
Onn 4K set top box (Walmart)
By Boowho III in forum AudioReplies: 8Last Post: 24th Sep 2024, 15:20 -
USB recording from Amiko set top box
By fuge in forum Newbie / General discussionsReplies: 32Last Post: 29th Aug 2024, 04:14 -
Downloading videos using a 4K set-top box
By nadya86 in forum Video Streaming DownloadingReplies: 0Last Post: 23rd Oct 2023, 12:00 -
Capturing in 1080i from set top box
By pthebest19 in forum Capturing and VCRReplies: 8Last Post: 17th Nov 2022, 20:24 -
VLC cannot read .TS files from set-top box
By pchan in forum DVB / IPTVReplies: 14Last Post: 15th Mar 2020, 09:30