Jump to content


Photo

What is the utility of .sc and .ap files around .ts files in MoviePlayer?


  • Please log in to reply
96 replies to this topic

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #61 mxtv

  • Member
  • 10 posts

0
Neutral

Posted 5 October 2016 - 14:30

Hi, 

Find this post really interesting,

I have a tons of content, movies, tv shows audio on my nas drive and I really want to use my enigma 2 box to show all the content, which it does, they all play flawlessly but without metadata information on the movies etc,  is there a way for me to create metadata for my content and do I need to convert all my content to .TS format for this to work?

Thanks



Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #62 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 5 October 2016 - 19:03

Convert them to matroska using mkvmerge. Matroska has the index internal.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #63 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 5 October 2016 - 22:05

Convert them to matroska using mkvmerge. Matroska has the index internal.

 

That's right, but Enigma doesn't show that info (in the normal movieplayer) the last time I tried. I needed to convert movies to .ts and added the title in the .meta file.


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #64 mxtv

  • Member
  • 10 posts

0
Neutral

Posted 6 October 2016 - 11:04

thanks for your replies, MKMERGE converts the file to mkv not .ts do I need to choose a different converter or will mkv work within the enigma 2 environment for metadata?

 

thanks



Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #65 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 6 October 2016 - 13:48

No, mkvmerge does not understand enigma2 metadata, but it will allow you to store/play a program without all of the metadata files (.sc, .ap, .cuts, .eit, .meta).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #66 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 6 October 2016 - 13:51

But still Enigma doesn't show that meta information. And that's the question if I understand it right.


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #67 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 6 October 2016 - 13:56

Yes apparently, I didn't interprete the question correctly.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #68 mxtv

  • Member
  • 10 posts

0
Neutral

Posted 6 October 2016 - 15:17

all the files I have play on my enigma 2 box so I dont want to convert them unecessesarily, I want to add metadata to my files, they are in avi, mov flv, tsand m2ts so in order to do this they have to be converted to .Ts? if this is correct what is the best way without losing quality.

 

Thanks


Edited by mxtv, 6 October 2016 - 15:18.


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #69 sjlouis

  • Senior Member
  • 1,573 posts

+3
Neutral

Posted 6 October 2016 - 15:50

Interesting, I didn't know there was metadata with avi files.


Vu+ Ultimo 4K - OpenPli 8.3

Xtrend ET9200 - OpenPli 6.2


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #70 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 6 October 2016 - 16:05

all the files I have play on my enigma 2 box so I dont want to convert them unecessesarily, I want to add metadata to my files, they are in avi, mov flv, tsand m2ts so in order to do this they have to be converted to .Ts? if this is correct what is the best way without losing quality.

 

Thanks

 

What I did:

Use ffmpeg. It's a command line tool in Linux. Maybe it's also available for Windows or others. I used h264 as video codec. The output container is .ts

 

I typed something like this, but I'm not sure:

 

ffmeg -i <original-file> -vcodec h264 -acodec mp3 new-file.ts (I'm not sure I used mp3 for the audio codec)


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #71 mxtv

  • Member
  • 10 posts

0
Neutral

Posted 6 October 2016 - 17:40

thanks I am familiar with that method of encoding, if I do this encoding how can I add metadata then so it appears on my enigma 2 box? referring back to my original question.

 

Thanks again for all your help everyone



Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #72 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 7 October 2016 - 11:18

thanks I am familiar with that method of encoding, if I do this encoding how can I add metadata then so it appears on my enigma 2 box? referring back to my original question.

 

Thanks again for all your help everyone

 

I added the meta information in the .meta file. Just store a .ts file in the movie directory on your box and Enigma will make an initial .meta file which you can edit (it's just a text file). You can specify there the title name (instead of the file name), the creation time (I think it's the number of seconds since 1970 so not that easy) and the description. You just need to play a bit with that file; it was never meant to edit it by hand.


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #73 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 7 October 2016 - 12:22

You can use http://www.onlinecon...m/unix_time.htm to create a Unix timestamp from a human readable date.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #74 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 7 October 2016 - 14:05

 

all the files I have play on my enigma 2 box so I dont want to convert them unecessesarily, I want to add metadata to my files, they are in avi, mov flv, tsand m2ts so in order to do this they have to be converted to .Ts? if this is correct what is the best way without losing quality.

 

Thanks

 

What I did:

Use ffmpeg. It's a command line tool in Linux. Maybe it's also available for Windows or others. I used h264 as video codec. The output container is .ts

 

I typed something like this, but I'm not sure:

 

ffmpeg -i <original-file> -vcodec h264 -acodec mp3 new-file.ts (I'm not sure I used mp3 for the audio codec)

Mostly you don't need to transcode, if the codec is already avc or mpeg2, no transcoding is necessary, just repack them (with ffmpeg or tsmuxer, which has a slightly better TS muxer).

 

If you're going to transcode, don't use the above command line, it's way too simple for a proper avc transcoding. Unfortunately one needs to specify lots of parameters for a compliant stream. In that regard is libx265 better, it only needs profile and level and you're good to go. Also don't use mp3, use aac.


Edited by Erik Slagter, 7 October 2016 - 14:05.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #75 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 7 October 2016 - 15:06

My purpose was to transcode old mpeg2 recordings to h264 to save disk space and still have the meta data Enigma could read. As I wrote, I don't know what I did about the audio codec; it was just an example. I may even left it unchanged to mp2.

 

Anyway, the command line does work fine for my receiver. FFmpeg automatically selects a profile and level (depending on the input file) and sets all those parameters. It's almost impossible to specify those parameters yourself unless you have a Master in video transcoding ;)


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #76 mxtv

  • Member
  • 10 posts

0
Neutral

Posted 7 October 2016 - 16:10

ok so when i use location button on my enigma 2 box the metadata file has been created, now I tried entering some characters into the file and then cameout of the directory and back in and nothing.

 

This is what it looked like:

0:0:0:0:0:0:Westworld.ts147585162433182568011120148481880 westword is a crazy film this is a test of metadata for enigma 2.
 
any ideas why nothing showed up on my enigma 2
Mike


Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #77 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 7 October 2016 - 16:45

This is an example of my .meta file (named Airplane.ts.meta)

1:0:0:0:0:0:0:0:0:0:Veronica JETIX
Airplane!

1268849318

531392400
910319312
f:0,c:000100,c:010101,c:030100,c:050001
188
0

It shows the title "Airplane!" instead of Airplane.ts (the filename). And it shows that the original channel was "Veronica JETIX". The "1268849318" is the timestamp 17 March 2010.


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #78 mxtv

  • Member
  • 10 posts

0
Neutral

Posted 7 October 2016 - 17:40

Thanks, where do I add the description?

 

I see the filename working but no description.



Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #79 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 7 October 2016 - 18:41

The short description is between "Airplane!" and "1268849318" in my example (here it is an empty line). There's also a long description but that one is stored in an .eit file which is not text-based.

1:0:1:178E:C82:3:EB0000:0:0:0::FOX
The Middle
Komische serie.2010. (s 2/afl 12). <-- short description
1475850000

0
0
f:40,c:000204,c:010058,c:030204,c:050001
188
0

This is not really a nice solution but I don't know a better way.


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: What is the utility of .sc and .ap files around .ts files in MoviePlayer? #80 Meega

  • Senior Member
  • 3,000 posts

+51
Good

Posted 7 October 2016 - 19:14

Hi, 

Find this post really interesting,

I have a tons of content, movies, tv shows audio on my nas drive and I really want to use my enigma 2 box to show all the content, which it does, they all play flawlessly but without metadata information on the movies etc,  is there a way for me to create metadata for my content and do I need to convert all my content to .TS format for this to work?

Thanks

I am not exactly sure what data you want but i use tmdb info with my movies to add movie information.

Perhaps that's what you are looking for?

 

http://forums.openpl...dpost&p=515858 

 

It's also in the feed!

 

enigma2-plugin-extensions-tmbd 


ET10000+ Openpli 6.1,1m schotel 4x duo-lnb op vaste opstelling.

Momolights teensy 2.0 met 50 leds op een string ,150 channels
DM8000 Openpli 6.1 Release



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users