LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-11-2018, 01:24 AM   #1
xlchief
LQ Newbie
 
Registered: Sep 2018
Posts: 5

Rep: Reputation: Disabled
Convert Dish PVR files


Very new to Linux so please excuse the obvious ignorance. I can copy files from my Dish DVR by connecting the external drive to my Linux Mint laptop. I would like to convert the files to a format that I can edit. I assume that there are converters, online or otherwise, and would appreciate recommendations. Thanks. xlchief
 
Old 09-11-2018, 06:15 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by xlchief View Post
Very new to Linux so please excuse the obvious ignorance. I can copy files from my Dish DVR by connecting the external drive to my Linux Mint laptop. I would like to convert the files to a format that I can edit. I assume that there are converters, online or otherwise, and would appreciate recommendations. Thanks. xlchief
I've always found ffmpeg to be very reliable and fast, and it's widely packaged for a number of Linux distributions as well.

That said, you should always do a search before asking questions, as this thread from this site is about the same topic.
 
2 members found this post helpful.
Old 09-11-2018, 06:16 AM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Very little info givin. These are video files that your dvr recorded? What kind of video format/container are they? Have you run the file command on them?
Code:
file myfile.ts
Also what video and audio formats are they?
Code:
ffprobe myfile.ts
If they are simply a mpeg2 transport stream with ac3 audio(atsc standard), then ffmpeg will reencode them/change containers to whatever you want.
Start with the ouput of file
 
1 members found this post helpful.
Old 09-11-2018, 06:40 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Perhaps the files are already in a format which can be edited. You may instead wish to search the web for the best options for video editors in Linux.
 
Old 09-11-2018, 11:10 AM   #5
xlchief
LQ Newbie
 
Registered: Sep 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks, everyone for the feedback. As stated, I am very new to Linux (3 days), and it was a Google search about file converters that landed me on this forum.

I am using Linux Mint 18.3 Cinnamon 64-bit (v. 3.6.6)

The Dish DVR recordings are stored on an external HDD. My Linux laptop can read and copy the files from the external HDD. Each recording creates a folder and each folder contains 4 files. The files do not show extensions but this is the file info shown:
NAME SIZE TYPE
bm 3.6 kb Image
cat 556 bytes Binary
tsp 596.0 MB Binary
wtt 1.7 MB Binary

My incredible powers of deduction suggest to me that the tsp file is the video. Does ffmpeg require a file extension for the originating file? Should I guess at the file's extension and add that in Properties?

I tried playing the file with VLC but it did not recognize the file type.
 
Old 09-11-2018, 12:39 PM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I've never known VLC to have any problems unless the file is any of: unreadable, very uniquely encoded, or not a video file. Even then, say it was a BMP, VLC would still open it and stay stuck at the static image.

Thus, my guess is that these image files are encoded in a special way so as to privatize them from being copied. It may be a licensing issue, or something related. After all, you've potentially DVRed programs which probably have a copyright and the box manufacturer needs to ensure that the content is not pirated.
 
Old 09-11-2018, 12:59 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Have you tried using mplayer, as mentioned here:

http://www.lyberty.com/mediatech/pro...p-to-mpeg.html
 
Old 09-11-2018, 01:01 PM   #8
xlchief
LQ Newbie
 
Registered: Sep 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
I know that Dish may be using a proprietary encoding and if that's the case then I'm out of luck, but I enjoy problem-solving and will butt my head against the wall a few times before I give up. I appreciate the guidance and will report back if there is any success. - xlchief
 
Old 09-11-2018, 01:14 PM   #9
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I've done some work on media devices using HDMI and we've had to sign documents indicating that we would not reverse engineer, reveal, or re-distribute their technology, because they are required by the FCC (in the US) to protect the media which they decode for distribution to a monitor.

Have to imaging a firm like Dish is going to follow that regulation to the letter.

https://www.hdmi.org/learningcenter/kb.aspx?c=9#55
 
Old 09-11-2018, 01:45 PM   #10
xlchief
LQ Newbie
 
Registered: Sep 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
I could protest that my intentions are not nefarious but who would believe me? The truth is that over the years we have accumulated almost 1TB of recordings (mostly snippets from NHL games) and we want to preserve those. We'll be canceling Dish next month but the external HDD is ours. Time-wise there are too many to dub off so if I can figure out a way to still watch those recordings we'll be happy and if not...que sera, sera. I do support copyright integrity so I won't be bitterly disappointed if this doesn't work out.
 
Old 09-11-2018, 02:05 PM   #11
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
One site suggests that you can upload to a converter site.

Pretty sure Dish locked those files with some security as I recall.

I'd guess there may be other ways to skin this tomato.
 
Old 09-11-2018, 02:15 PM   #12
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Right, not implying that you are breaking laws. I don't know the rules about things you have recorded on free TV. I.e. I have sports things on VHS from years ago when the local teams finally started winning the championships. I started ripping our old VHS and 8mm tapes from cameras of family videos. Technically I can rip those old VHS tapes, but probably won't bother. And no I'm not interested in selling just having the memory. Meanwhile, I'm sure Youtube probably has it all!

But that is a possible option, which I "think" you can play these programs to your TV and using a standard definition video capture method, re-record the files in that format. Like I'm not even sure you're allowed to grab the digitally enhanced versions betwixt box and TV, be that legally or technically. I.e. they may have the same HDMI chip in the TV to decode the signals too. I believe they really may have that. But you can grab the red, white, and yellow video/audio signals and capture those.
 
Old 09-11-2018, 07:07 PM   #13
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Pretty sure it isn't based on the HDMI encryption. The files were under some drm or encryption to stop people from doing this only because Dish wanted it. Almost all US OTA channels have no Record restrictions on them. They are free to record legally this being under an old VHS/Betamax deal where a tax on media was to go to them.
 
Old 09-11-2018, 08:39 PM   #14
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by xlchief View Post
...The files do not show extensions but this is the file info shown:
NAME SIZE TYPE
bm 3.6 kb Image
cat 556 bytes Binary
tsp 596.0 MB Binary
wtt 1.7 MB Binary

My incredible powers of deduction suggest to me that the tsp file is the video. Does ffmpeg require a file extension for the originating file? Should I guess at the file's extension and add that in Properties?
Based solely on the file size, you could be right, but I can't say that for sure without more info. However it does say the word "binary", so that would normally mean something like an executable file or similar, rather than a video/audio file.

It's a good question, and while I'd say no, I can't promise that I'm right. My thinking is that file extensions matter in other operating systems because that's normally how they distinguish one type of file from another. Linux on the other hand generally looks at the code inside the file, so even if you changed the file extension, this alone would not change the type of file it is.

Quote:
I tried playing the file with VLC but it did not recognize the file type.
It's likely because VLC doesn't have a codec to play that particular type of format.

Last edited by jsbjsb001; 09-11-2018 at 08:40 PM.
 
Old 09-13-2018, 05:25 PM   #15
xlchief
LQ Newbie
 
Registered: Sep 2018
Posts: 5

Original Poster
Rep: Reputation: Disabled
I'll be marking this thread 'Solved' since it appears that the Dish files are encrypted and there is no current workaround. I appreciate all of the help. I'll dub a few items but most will remain in HDD-Azkaban because audio sync gets progressively worse as longer programs are dubbed and I don't want to spend my few remaining decades fixing that issue. - xlchief
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert pvr format Chinnaroy143 General 19 04-05-2018 04:28 AM
PVR-500 & PVR-150 not working properly srairman76 Linux - Hardware 3 01-02-2007 11:02 AM
Dish/Echostar PVR/DVR Harddrive andyistic Linux - Hardware 1 08-07-2004 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration