Re: [vdr] Which extension for TS files?
On Sunday 04 January 2009, Vladimir Kangin wrote: You right. For example I'm keen of LinuxMCE (www.linuxmce.org) and it has a script that looking for media files, thus all .vdr are recognised as a video files of VDR while is not. It would would be a very wise step to improve this at the same time... Without knowing a thing about LinuxMCE, I suppose its scripts could be improved to only look for numbers.vdr. For example, if it uses find(1), instead of find /some/dir -name '*.vdr' ...it could do: find /some/dir -regex '.*/[0-9]+\.vdr' ...or if -regex is a problem, perhaps even simply this would be an improvement over '*.vdr': find /some/dir -name '???.vdr' (This is not in any way an objection to the renaming plans discussed here lately, the outcome of that seems good to me.) ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
Hi guys, Klaus wrote: I've already dropped them. Besides, these files are just auxiliary internal files for VDR's very own purposes. There should normally be no need to edit them at all. I'm writing from work (webmail), so sorry if the email format gets fudged up. I never really liked the name all files .vdr terminology. However, totally dropping them is an EQUALLY bad idea, since, unlike Linux, Windows programs depend on the extension for association. I would like to propose using the following: Video / Audio container files: xyz.ts Index files: index.vdr Info files: info.txt Cutter marks: marks.dat Resume files: resume.vdr or resume.dat Klaus says there is no need to edit them (not quite true ;o)), but I would like at least to be able to read them easily. Here are my reasons for asking this: xyz.ts: Sometimes it is nice to able to edit or even just watching them externally. With an extension that is common to all video editors or players, it makes it much easier. index.vdr: Index contains no valuable info for external programs and it doesn't need editing, so we can leave this or even remove the extension all together. Info.txt: The info file esp. is a good thing to have since you can simply copy the info on a Windows PC (for title or contents) when burn them to a CD or DVD. It saves time, just being able to copy and paste via keyboard. If I have to tell the program to open with and associate a programm EVERY time I burn a video file to DVD it becomes much too time consuming. Marks.dat: To me it has happend a couple of times (esp if vdr runs out of disk space) that you are not able to jump forward or backward in a video file or even move the placed marks. Being able to edit the marks file or even deleting the preset times makes it easy to correct this problem. I can either place the marks where I need them (if known) or delete all of them if the video file is totally unresponsive. Resume files: resume.vdr or resume.dat: I don't use this file, so to me it makes no difference what is done with the extension. However, for others, esp. multi-user VDR setups it might be handy to able to edit these (making the .vdr a better decision to be able to differiantiate it from the marks.dat file) any extension at all. If they are in a .rec-directory it should be pretty clear what a file named index contains. Not quite sure who wrote this, but this argument isn't vaild, since external editors or programs have no knowledge of VDR's data structure or hierarchy. Naming (or just deleting ;o)) all the extensions the same doesn't change the situation. kind regards, Reinhard ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 05/01/2009, Klaus Schmidinger klaus.schmidin...@cadsoft.de wrote: I also strongly tend to drop the '.vdr' extensions and have the files just named plain index, info, marks and resume. Klaus I suppose if the manual page is updated accordingly it shouldn't be a problem (: ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 05.01.2009 00:34, Malte Schröder wrote: On Sun, 04 Jan 2009 22:34:17 +0100 Klaus Schmidinger klaus.schmidin...@cadsoft.de wrote: I think the option is clearly defined now. I little thing that always annoyed me was that every recoding file had the .vdr extension, whatever the actual contents (it seemed like the file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... Well, how about leaving the .vdr part away altogether? I would vote for that. Having .ts for the recording has the nice effect that media-players and who knows what can just handle the recordings. The other files I would consider VDR private data which is not standardized like TS. So I do not see a point in them having any extension at all. If they are in a .rec-directory it should be pretty clear what a file named index contains. I also strongly tend to drop the '.vdr' extensions and have the files just named plain index, info, marks and resume. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 05.01.2009 19:06, Andreas Besse wrote: On 05.01.2009 11:01, Klaus Schmidinger wrote: On 05.01.2009 00:34, Malte Schröder wrote: On Sun, 04 Jan 2009 22:34:17 +0100 Klaus Schmidinger Klaus.Schmidinger at cadsoft.de wrote: I think the option is clearly defined now. I little thing that always annoyed me was that every recoding file had the .vdr extension, whatever the actual contents (it seemed like the file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... Well, how about leaving the .vdr part away altogether? I would vote for that. Having .ts for the recording has the nice effect that media-players and who knows what can just handle the recordings. The other files I would consider VDR private data which is not standardized like TS. So I do not see a point in them having any extension at all. If they are in a .rec-directory it should be pretty clear what a file named index contains. I also strongly tend to drop the '.vdr' extensions and have the files just named plain index, info, marks and resume. dropping the extensions is bad for windows users, since files without extension cannot be assigned to a specific application (like notepad). so i vote for the suggestion of Matthias Schniedermeyer: .dat for binary (e.g. index.dat) .txt for text content (e.g. info.txt) I've already dropped them. Besides, these files are just auxiliary internal files for VDR's very own purposes. There should normally be no need to edit them at all. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 04.01.2009 13:22, Hendrik Müller wrote: I also vote for '.ts' :-) '.mpg' is definitely the wrong extension for that. Ok, thanks for everybody's input. So *.ts it is. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
From: Klaus Schmidinger klaus.schmidin...@cadsoft.de Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. What do you think about this? I am strongly against this. *.ts may conflict with KDE, but it is a usual ending for transport stream. Several mpeg-tools can handle this. I think the dreambox is also using *.ts for its recordings. *.mpg would give much more problems with applications. A TS is not an mpeg-file. Applications which can play mpg but not TS may even crash. Greets, Martin ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
I am strongly against this. *.ts may conflict with KDE, but it is a usual ending for transport stream. Several mpeg-tools can handle this. I think the dreambox is also using *.ts for its recordings. I agree - .ts is the way to go if it a straight dump of the Transport Stream... ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
Just to add 1 more opinion... Over 6 years i'm working with transport stream files and ALWAYS it was .ts because most of proprietary applications do not handle it correctly with any other extensions. There are DVD/VideoCD created by proprietary DVB Live TV recording that use transport stream files as well with .ts extension. Moreover, all players such as VLC/mplayer/xine well working with .ts transport stream files and do not require any renaming, while avidemux consider .ts a native extension for transport stream files as well. IMHO, it sould be .ts On Sun, 2009-01-04 at 14:50 +0100, Martin Dauskardt wrote: From: Klaus Schmidinger klaus.schmidin...@cadsoft.de Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. What do you think about this? I am strongly against this. *.ts may conflict with KDE, but it is a usual ending for transport stream. Several mpeg-tools can handle this. I think the dreambox is also using *.ts for its recordings. *.mpg would give much more problems with applications. A TS is not an mpeg-file. Applications which can play mpg but not TS may even crash. Greets, Martin ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 04.01.2009 11:55, Klaus Schmidinger wrote: Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. What do you think about this? Is *.mpg also appropriate for h.264 encoded files? AFAICT the norm is to name the suffix after the container-format used, not what is stored inside the container. (Or would you use different suffixes for different types of files you put into a .tar-Archive?) So as .ts is the container it should be the appropriate suffix. Bis denn -- Real Programmers consider what you see is what you get to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a you asked for it, you got it text editor -- complicated, cryptic, powerful, unforgiving, dangerous. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
Klaus Schmidinger ha scritto: Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. What do you think about this? Is *.mpg also appropriate for h.264 encoded files? Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr I vote for .ts extension too, since most application use it (same situation for program streaming .ps) ;-) -- Member of the Italian VDR Wiki http://vdr.spaghettilinux.org/ ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On Sun, Jan 4, 2009 at 8:37 AM, Diego Pierotto vdr_ml...@tiscali.it wrote: Klaus Schmidinger ha scritto: Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. The obvious choice is of course .ts as every app I've ever seen/used that handles transport streams uses it by default. Using .mpg would be wrong for the reasons already stated. The extention (.ts, .avi, .mkv, etc) should designate the contianer, not the contents. I don't see why VDR should have to worry Konqueror's problems. If the Konqueror devs made the mistake of assuming *.ts is a quicktime file, it's up to them to fix it, not VDR to do something goofy to compensate for it! Or if Konqueror offers an option like 'Open With' with and a 'always use this' checkbox like Windows Explorer then users can control it themselves. If this is a vote, then I say .ts without question. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
Klaus Schmidinger a écrit : Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. I think the option is clearly defined now. I little thing that always annoyed me was that every recoding file had the .vdr extension, whatever the actual contents (it seemed like the file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... -- NH ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
I also vote for '.ts' :-) '.mpg' is definitely the wrong extension for that. Thanks -Ursprüngliche Nachricht- Von: vdr-boun...@linuxtv.org [mailto:vdr-boun...@linuxtv.org] Im Auftrag von Pertti Kosunen Gesendet: Sonntag, 4. Januar 2009 12:20 An: VDR Mailing List Betreff: Re: [vdr] Which extension for TS files? Klaus Schmidinger wrote: What do you think about this? I vote for .ts, it's widely used on different programs and hardware media players. ___ 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] Which extension for TS files?
Hello, On Sun, Jan 04, 2009 at 11:55:07AM +0100, Klaus Schmidinger wrote: Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. What do you think about this? Is *.mpg also appropriate for h.264 encoded files? I would prefer .ts, as this stands for transport stream and it is widly spread. Konqueror can be reconfigured to threat the file correct. Greeting, Artem ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
Klaus Schmidinger wrote: What do you think about this? I vote for .ts, it's widely used on different programs and hardware media players. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 4 Jan 2009, at 20:55, Klaus Schmidinger wrote: What do you think about this? Is *.mpg also appropriate for h.264 encoded files? Surely the move to native h.264 and dvb-s2 support and transport stream recording would ultimately call for incrementing the major revision number of vdr, so the file extension would then naturally be .vdr2? :) -- Torgeir Veimo torg...@pobox.com ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 04.01.2009 19:21, Nicolas Huillard wrote: Klaus Schmidinger a écrit : Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. I think the option is clearly defined now. I little thing that always annoyed me was that every recoding file had the .vdr extension, whatever the actual contents (it seemed like the file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... Well, how about leaving the .vdr part away altogether? Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
Klaus Schmidinger a écrit : On 04.01.2009 19:21, Nicolas Huillard wrote: file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... Well, how about leaving the .vdr part away altogether? Having no extension at all can also be a problem in itself (I'd personnaly be OK with it, but some may argue). Since the extension should match the content type, what about this: index.bin info.txt marks.txt resume.bin ... -- NH ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On 04.01.2009 22:34, Klaus Schmidinger wrote: On 04.01.2009 19:21, Nicolas Huillard wrote: Klaus Schmidinger a écrit : Up to now VDR has used names like 001.vdr for its recording files. While moving to Transport Stream as the recording format, I need to use a different file name extension, and so was wondering which one to use. My first idea was *.ts, for Transport Stream, but when I point, for instance, Konqueror to such a file, it thinks it is a Qt Translation Source. So I was wondering if I should use *.mpg instead. This one is identified by Konqueror as an MPEG file and will make it launch a proper player. I think the option is clearly defined now. I little thing that always annoyed me was that every recoding file had the .vdr extension, whatever the actual contents (it seemed like the file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... Well, how about leaving the .vdr part away altogether? I'd suggest .dat for binary and .txt for text content. More or less another container question. :-) Bis denn -- Real Programmers consider what you see is what you get to be just as bad a concept in Text Editors as it is in women. No, the Real Programmer wants a you asked for it, you got it text editor -- complicated, cryptic, powerful, unforgiving, dangerous. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Which extension for TS files?
On Sun, 04 Jan 2009 22:34:17 +0100 Klaus Schmidinger klaus.schmidin...@cadsoft.de wrote: I think the option is clearly defined now. I little thing that always annoyed me was that every recoding file had the .vdr extension, whatever the actual contents (it seemed like the file name was used as an extension). See: index.vdr info.vdr marks.vdr resume.vdr Maybe you will find an opportunity to improve this at the same time... Well, how about leaving the .vdr part away altogether? I would vote for that. Having .ts for the recording has the nice effect that media-players and who knows what can just handle the recordings. The other files I would consider VDR private data which is not standardized like TS. So I do not see a point in them having any extension at all. If they are in a .rec-directory it should be pretty clear what a file named index contains. Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr Greets Malte signature.asc Description: PGP signature ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr