Re: [vdr] converting ts to mkv

2014-05-28 Thread Lucian Muresan
On 26.05.2014 13:41, Tony Houghton wrote:
[...]
> It's better to use mkvmerge (or ffmpeg etc for mpeg2) to remultiplex
> properly. You still don't have to transcode the streams so it doesn't
> take much longer. Players can't tell how long (in terms of time) TS
> files are, or how any point in the file corresponds to time for seeking
> etc.

Also, mkvmerge removes NALUs from h264 if there are any, on the fly with
no noticeable overhead.


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-26 Thread Tony Houghton
On Mon, 26 May 2014 13:17:51 +0200
Gerald Dachs  wrote:

> Am 2014-05-26 05:09, schrieb VDR User:
> > There's no reason to touch the audio/video streams at all unless you
> > actually want to re-encode them for some reason. If all you want is 
> > an
> > .mkv rather than a .ts, that can be done in seconds with mkvmerge.
> > Re-encoding in that case is pointless & a waste of time.
> 
> This is all true. Beside that there is no need to extract audio before 
> using handbrake, there is even no need to use mkvmerge if you don't 
> pretend on mkv.
> I had used an after recording script that just checked with avprobe, 
> whether the video codec is mpeg2video, or h264. If it was mpeg2video I 
> simply renamed the file to
> .mpeg, and for h264 to .mp4. Every programs known by me played this 
> files without any problems. No need for mkv.

It's better to use mkvmerge (or ffmpeg etc for mpeg2) to remultiplex
properly. You still don't have to transcode the streams so it doesn't
take much longer. Players can't tell how long (in terms of time) TS
files are, or how any point in the file corresponds to time for seeking
etc.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-26 Thread Gerald Dachs

Am 2014-05-26 05:09, schrieb VDR User:

There's no reason to touch the audio/video streams at all unless you
actually want to re-encode them for some reason. If all you want is 
an

.mkv rather than a .ts, that can be done in seconds with mkvmerge.
Re-encoding in that case is pointless & a waste of time.


This is all true. Beside that there is no need to extract audio before 
using handbrake, there is even no need to use mkvmerge if you don't 
pretend on mkv.
I had used an after recording script that just checked with avprobe, 
whether the video codec is mpeg2video, or h264. If it was mpeg2video I 
simply renamed the file to
.mpeg, and for h264 to .mp4. Every programs known by me played this 
files without any problems. No need for mkv.


To add some ts files to one use cat:  cat 1.tx 2.ts >new.ts

Gerald


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-25 Thread VDR User
There's no reason to touch the audio/video streams at all unless you
actually want to re-encode them for some reason. If all you want is an
.mkv rather than a .ts, that can be done in seconds with mkvmerge.
Re-encoding in that case is pointless & a waste of time.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-25 Thread jacek burghardt
Thanks, most of the scripts I was looking at are using ffmpeg to extract
audio and then handbrake to convert them.
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-25 Thread VDR User
I already told you:

"You can merge them directly with the mkv container using append. All
you need is the free "mkvmerge" tool."

Maybe you're unaware that ts & mkv are simply containers. Nothing is
converted when you change containers. Put it this way, milk is milk
whether you have it in a glass or a plastic cup.


On Sun, May 25, 2014 at 3:36 PM, jacek burghardt
 wrote:
> I had delete the movie files that had been broken up so badly, but I had few
> recordings that have two files in them. So is it better to convert each ts
> to mkv and merge the mkv ? I set my max recording option tp 30GB.
> I had found an issue with my vdr it crashes when recording tv. i
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-25 Thread jacek burghardt
I had delete the movie files that had been broken up so badly, but I had
few recordings that have two files in them. So is it better to convert each
ts to mkv and merge the mkv ? I set my max recording option tp 30GB.
I had found an issue with my vdr it crashes when recording tv. i
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-25 Thread Gerald Dachs
Am 25.05.2014 16:20, schrieb jacek burghardt:
> I had recording setup last night and now I have 111 ts files. I guess
> heavy rain  may caused so many ts files. is there a script that would
> merge them into one ts and convert them into mkv ? How I can setup
> after recording rules to convert recordings ?
>  
Why do you want to do this? You will get a movie with 110 breaks that
last some seconds in it. Throw it away.

Gerald

!DSPAM:5382455b408061556753072!


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] converting ts to mkv

2014-05-25 Thread VDR User
You can merge them directly with the mkv container using append. All
you need is the free "mkvmerge" tool.

On Sun, May 25, 2014 at 7:20 AM, jacek burghardt
 wrote:
> I had recording setup last night and now I have 111 ts files. I guess heavy
> rain  may caused so many ts files. is there a script that would merge them
> into one ts and convert them into mkv ? How I can setup after recording
> rules to convert recordings ?
>
>
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] converting ts to mkv

2014-05-25 Thread jacek burghardt
I had recording setup last night and now I have 111 ts files. I guess heavy
rain  may caused so many ts files. is there a script that would merge them
into one ts and convert them into mkv ? How I can setup after recording
rules to convert recordings ?
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr