PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Here are software that related with Samsung F series TVs.

oconnor
Posts: 3
Joined: Mon Jan 06, 2014 8:34 pm

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by oconnor » Tue Mar 25, 2014 8:58 am

karo2204 wrote:I solved it now with a workaround. TV now records and decrypts at the same time to my HDD. the HDD is now connected via sata to my NAS
Hey this is exactly what I'm looking for! I also opend a thread Looking for PVR to Samba share for this. What do I have to do, that my TV is doing the same thing?

karo2204
SamyGO Project Donor
Posts: 137
Joined: Fri Feb 07, 2014 10:09 am
Location: M?nchen
Contact:

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by karo2204 » Tue Mar 25, 2014 10:12 am

oconnor wrote:
karo2204 wrote:I solved it now with a workaround. TV now records and decrypts at the same time to my HDD. the HDD is now connected via sata to my NAS
Hey this is exactly what I'm looking for! I also opend a thread Looking for PVR to Samba share for this. What do I have to do, that my TV is doing the same thing?
I was asked to do a tutorial for it, so just watch out. It will be there in the next couple of days.

My thing just works on NFS, but maybe someone can help you do get it running on SMB too.
Samsung TV: UE46F6500
Website: http://www.karolin-bierbrauer.de

Lordbyte
Official SamyGO Developer
Posts: 1472
Joined: Sun Aug 18, 2013 11:07 pm

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by Lordbyte » Tue Mar 25, 2014 10:16 am

@Karo2204,

I will be implementing your tutorial .. step by step .. and I know NADA about linux :roll:
Got NFS enabled on my DS412+ ... But thats about it.
Please make sure your tutorial is verbose enough that a NOVICE can follow it :lol:
Thanks for your great work, and your commitment to do the tutorial !

Oh, and could you make it optional to have an USB-device attached .. I dont need double-recordings .. on NAS only, please :mrgreen:
I provide NO assistance by PM, unless absolutely necessary. Please ask questions in dedicated topics.

karo2204
SamyGO Project Donor
Posts: 137
Joined: Fri Feb 07, 2014 10:09 am
Location: M?nchen
Contact:

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by karo2204 » Tue Mar 25, 2014 10:18 am

Lordbyte wrote:@Karo2204,

I will be implementing your tutorial .. step by step .. and I know NADA about linux :-)
Got NFS enabled on my DS412+ ... But thats about it :-)
Please make sure your tutorial is verbose enough that a NOVICE can follow it :-)
Thanks for your great work, and your commitment to do the tutorial !
Thanks. I had no clue either... ;)

I will do my best.
Samsung TV: UE46F6500
Website: http://www.karolin-bierbrauer.de

User avatar
mmhorda
SamyGO Project Donor
Posts: 151
Joined: Tue Jan 25, 2011 11:23 am

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by mmhorda » Thu May 15, 2014 11:54 am

Hi all,
I haven't been here for a long time.
Sorry I don't have time right now to read it all and realize where you are.
As I understand you want to record directly from TV to NAS? correct?

rename 02_04_vusb.init to 02_04_vusb.init.dis
rename 03_03_nfsmount.init to 03_03_nfsmount.init.dis
80_80_record_to_nwshare.init to 80_80_record_to_nwshare.init.dis (if used)

unzip and do necessary changes in the attached config and upload it to /mnt/etc/init.d/
do not forget chmod 777 03_03_nfsmount.init

restart TV.

ask me if you have more questions.
You do not have the required permissions to view the files attached to this post.
TV: LE40C750 - T-VALDEUC 3011.0
TV: UE40D6100 - T-GAS6DEUC 1026.0
TV: UE50ES6300 - T-MST10PDEUC 1042.0
NAS: MyBookLive 3Tb - Core F/W 02.43.03-022

gogo
SamyGO Project Donor
Posts: 159
Joined: Sat May 17, 2014 9:24 am
Location: Croatia

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by gogo » Sat May 17, 2014 11:11 am

For easier usage on Linux I modified a little decrypt.sh script and made PPA repository for ubuntu and other ubuntu based distros.

1. Add this ppa in terminal and install with command:
sudo add-apt-repository ppa:trebelnik-stefina/sam && sudo apt-get update && sudo apt-get install samdecrypt

2. During installation enter your recording device, IP TV address and video file downloading and encoding path.

3. To start run shortuct Samdecrypt or type in terminal command:
samdecrypt

If you want change recording device, IP TV address or video file downloading and encoding path type in terminal this command:
sudo dpkg-reconfigure samdecrypt

if you want faster decoding type in terminal command: "samdumpkeys" (without quotes) to generate *.key files, discconect recording device from your TV and connect it to PC then in terminal type this command:
decrypt /Path_to_your_video_files/Name_of_your_srf_file.srf /Path_to_destination_folder/Name_for_your_decrypted_file.ts /Path_to_your_video_files/Name_of_your_key_file.key

I added an extra package for Samtoolbox chanell editor.
If you want install it type in terminal:
sudo apt-get install samtoolbox
or install it from your package manager.
Samsung TV: UE46F6500

takuma84
Posts: 4
Joined: Sat Jun 28, 2014 6:59 pm

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by takuma84 » Sat Jun 28, 2014 7:10 pm

Hello,
I've the following error when I execute the script:

Code: Select all

Checking if drmdecrypt is already compiled.
File drmdecrypt doesn't exist. Compiling...
gcc aes.c drmdecrypt.c -o drmdecrypt
drmdecrypt.c:44:15: error: conflicting types for ?off64_t?
/usr/include/stdio.h:98:19: note: previous declaration of ?off64_t? was here
drmdecrypt.c: In function ?process_section?:
drmdecrypt.c:98:3: warning: format ?%llu? expects argument of type ?long long unsigned int?, but 

argument 2 has type ?off64_t? [-Wformat]
drmdecrypt.c: In function ?main?:
drmdecrypt.c:252:2: warning: format ?%llu? expects argument of type ?long long unsigned int?, but 

argument 2 has type ?off64_t? [-Wformat]
drmdecrypt.c:267:5: warning: format ?%llx? expects argument of type ?long long unsigned int?, but 

argument 2 has type ?off64_t? [-Wformat]
drmdecrypt.c:288:6: warning: format ?%llu? expects argument of type ?long long unsigned int?, but 

argument 2 has type ?off64_t? [-Wformat]
drmdecrypt.c:288:6: warning: format ?%llu? expects argument of type ?long long unsigned int?, but 

argument 3 has type ?off64_t? [-Wformat]
drmdecrypt.c:288:6: warning: format ?%lld? expects argument of type ?long long int?, but argument 4 has 

type ?long int? [-Wformat]
drmdecrypt.c:295:3: warning: format ?%llu? expects argument of type ?long long unsigned int?, but 

argument 2 has type ?off64_t? [-Wformat]
make: *** [all] Errore 1
Getting PVR list.
Downloading PVR info files.
All PVR info files downloaded.
Select PVR recording to download.


./decrypt.sh: riga 78: 
Error: Expected at least 6 tokens for --menu, have 4.
Use --help to list options.: errore di sintassi nell'espressione (il token dell'errore ? ": Expected at 

least 6 tokens for --menu, have 4.
Use --help to list options.")
rm: impossibile rimuovere "./infs/*": File o directory non esistente
What can I do?
The TV must have root access?
Thank you.

sectroyer
Official SamyGO Developer
Posts: 5643
Joined: Wed May 04, 2011 5:10 pm

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by sectroyer » Sat Jun 28, 2014 7:13 pm

Change your compiler. You do need root access.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

takuma84
Posts: 4
Joined: Sat Jun 28, 2014 6:59 pm

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by takuma84 » Sat Jun 28, 2014 7:38 pm

Thanks. And I have to enable ftp on my TV with root access?

sectroyer
Official SamyGO Developer
Posts: 5643
Joined: Wed May 04, 2011 5:10 pm

Re: PVR Decoder for Linux/Unix/Mac OS X (Console Script)

Post by sectroyer » Sun Jun 29, 2014 12:10 am

takuma84 wrote:Thanks. And I have to enable ftp on my TV with root access?
it should be enabled by default. But keep in mind that decrypt.sh fails on the stage of compiling drmdecrypt. This part has nothing to do with rooting/ftp :) The tool fails at the initialization stage :D
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on http://ctrlv.it/ Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

Post Reply

Return to “[F] Software”