Need to Convert Video to MPEG-1 So That It Can Be Played On Sony TV

Okay,

I am using Leap 42.1

I have packman repo enabled and I use VLC to play most of my video files. For some odd reason, WMV files and FLV files don’t play. I really don’t bother because when I come across those files, I use Handbrake to convert them to m4v or mkv formats and I am all set to go. However, just today I received a file in .DAT format that my mother wants to watch on TV (the file is located on a flash drive).

Since my TV only supports MPEG-1 videos, I need to convert the video to the supported format. I managed to convert the video to m4v format using Handbrake but could not find a way to convert it to .mpg (MPEG-1). I tried a number of other converters like MiroConverter, Selene, Curlew, WinFF etc. None of them managed to do the job. All of them returned errors. I really cannot figure out why? I even tried VLC’s built-in converter to do that but failed. VLC is giving me the following error:

It seems your Libav/FFmpeg (libavcodec) installation lacks the following encoder: MPEG-1 video.

Now where do I find this encoder and how do I install it? Can anyone please help me?

be sure ALL media related programs codecs etc come from packman and ONLY from packman ie don’t have some parts from openSUSE and others from packman

afaik a dat file is an mpeg2 file you can try simply renaming it, I have never heard of a smart tv that can only play mpeg1 seeing how that’s a format from the 80’s that no one really used.
try using the -target vcd switch with ffmpeg
ffmpeg -i mpeg2.dat -target vcd -y mpeg1.mpg

How do I alienate the ones from Suse? Sorry, this might be a real stupid question but I am new to linux as a whole. Can you kindly guide?

post your repo list

zypper lr -d

The Sony TV I am speaking of is not a smart TV. It is about 6 years old. It has no internet connection and uses Satellite TV channels. Specifically, I use TataSky services. I am from India. :slight_smile:

I will try out your suggestion. Thankss :slight_smile:

zypper lr -d

#  | Alias                               | Name                              
      | Enabled | GPG Check | Refresh | Priority | Type   | URI              
                                                              | Service
---+-------------------------------------+-----------------------------------
------+---------+-----------+---------+----------+--------+------------------
--------------------------------------------------------------+--------
 1 | download.nvidia.com-leap            | nVidia Graphics Drivers           
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.n
vidia.com/opensuse/leap/42.1                                  |         
 2 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)         
      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.o
pensuse.org/distribution/leap/42.1/repo/non-oss/              |         
 3 | download.opensuse.org-non-oss_1     | Update Repository (Non-Oss)       
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/update/leap/42.1/non-oss/                         |         
 4 | download.opensuse.org-oss           | Main Repository (OSS)             
      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.o
pensuse.org/distribution/leap/42.1/repo/oss/                  |         
 5 | download.opensuse.org-oss_1         | Main Update Repository            
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/update/leap/42.1/oss                              |         
 6 | google-chrome                       | google-chrome                     
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.
com/linux/chrome/rpm/stable/x86_64                            |         
 7 | http-download.nvidia.com-5be598bc   | nVidia Graphics Drivers           
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.n
vidia.com/opensuse/leap/42.1                                  |         
 8 | http-download.opensuse.org-06f2ea81 | multimedia:libs                   
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/repositories/multimedia:/libs/openSUSE_Leap_42.1/ |         
 9 | http-download.opensuse.org-29a95890 | multimedia:apps                   
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/repositories/multimedia:/apps/openSUSE_Leap_42.1/ |         
10 | linuxdownload.adobe.com-linux       | Adobe Flash Plugin                
      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://linuxdownl
oad.adobe.com/linux/x86_64/                                   |         
11 | openSUSE-42.1-0                     | openSUSE-42.1-0                   
      | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/d
ev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-222AB_R8F26GEB806938     |         
12 | opensuse-guide.org-repo             | Libdvdcss Repository              
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-g
uide.org/repo/openSUSE_Leap_42.1/                             |         
13 | packman_1                           | packman                           
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | ftp://ftp.gwdg.de
/%2fpub/linux/misc/packman/suse/openSUSE_Leap_42.1/           |         
14 | repo-debug                          | openSUSE-Leap-42.1-Debug          
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/distribution/leap/42.1/repo/oss/            |         
15 | repo-debug-non-oss                  | openSUSE-Leap-42.1-Debug-Non-Oss  
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/distribution/leap/42.1/repo/non-oss/        |         
16 | repo-debug-update                   | openSUSE-Leap-42.1-Update-Debug   
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/update/leap/42.1/oss                        |         
17 | repo-debug-update-non-oss           | openSUSE-Leap-42.1-Update-Debug-No
n-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/update/leap/42.1/non-oss/                   |         
18 | repo-source                         | openSUSE-Leap-42.1-Source         
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/source/distribution/leap/42.1/repo/oss/           |         
19 | repo-update                         | openSUSE-Leap-42.1-Update         
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/update/leap/42.1/oss/                             |     

That’s what you asked for?

zypper lr -d

#  | Alias                               | Name                              
      | Enabled | GPG Check | Refresh | Priority | Type   | URI              
                                                              | Service
---+-------------------------------------+-----------------------------------
------+---------+-----------+---------+----------+--------+------------------
--------------------------------------------------------------+--------
 1 | download.nvidia.com-leap            | nVidia Graphics Drivers           
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.n
vidia.com/opensuse/leap/42.1                                  |         
 2 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)         
      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.o
pensuse.org/distribution/leap/42.1/repo/non-oss/              |         
 3 | download.opensuse.org-non-oss_1     | Update Repository (Non-Oss)       
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/update/leap/42.1/non-oss/                         |         
 4 | download.opensuse.org-oss           | Main Repository (OSS)             
      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.o
pensuse.org/distribution/leap/42.1/repo/oss/                  |         
 5 | download.opensuse.org-oss_1         | Main Update Repository            
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/update/leap/42.1/oss                              |         
 6 | google-chrome                       | google-chrome                     
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.
com/linux/chrome/rpm/stable/x86_64                            |         
 7 | http-download.nvidia.com-5be598bc   | nVidia Graphics Drivers           
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.n
vidia.com/opensuse/leap/42.1                                  |         
 8 | http-download.opensuse.org-06f2ea81 | multimedia:libs                   
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/repositories/multimedia:/libs/openSUSE_Leap_42.1/ |         
 9 | http-download.opensuse.org-29a95890 | multimedia:apps                   
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/repositories/multimedia:/apps/openSUSE_Leap_42.1/ |         
10 | linuxdownload.adobe.com-linux       | Adobe Flash Plugin                
      | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://linuxdownl
oad.adobe.com/linux/x86_64/                                   |         
11 | openSUSE-42.1-0                     | openSUSE-42.1-0                   
      | Yes     | (r ) Yes  | No      |   99     | yast2  | cd:///?devices=/d
ev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-222AB_R8F26GEB806938     |         
12 | opensuse-guide.org-repo             | Libdvdcss Repository              
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-g
uide.org/repo/openSUSE_Leap_42.1/                             |         
13 | packman_1                           | packman                           
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | ftp://ftp.gwdg.de
/%2fpub/linux/misc/packman/suse/openSUSE_Leap_42.1/           |         
14 | repo-debug                          | openSUSE-Leap-42.1-Debug          
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/distribution/leap/42.1/repo/oss/            |         
15 | repo-debug-non-oss                  | openSUSE-Leap-42.1-Debug-Non-Oss  
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/distribution/leap/42.1/repo/non-oss/        |         
16 | repo-debug-update                   | openSUSE-Leap-42.1-Update-Debug   
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/update/leap/42.1/oss                        |         
17 | repo-debug-update-non-oss           | openSUSE-Leap-42.1-Update-Debug-No
n-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/debug/update/leap/42.1/non-oss/                   |         
18 | repo-source                         | openSUSE-Leap-42.1-Source         
      | No      | ----      | Yes     |   99     | NONE   | http://download.o
pensuse.org/source/distribution/leap/42.1/repo/oss/           |         
19 | repo-update                         | openSUSE-Leap-42.1-Update         
      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.o
pensuse.org/update/leap/42.1/oss/                             |

How do I alienate the ones from Suse?

by executing zypper dup with packman you’ll make sure hat all multimedia comes from packman, according to your repo list that command would be

zypper dup --from 13

Your Sony TV only 6 years old?
Can it play DVDs? Read the TV docs or see if there is a DVDROM option. If so, then you should be able to use MPEG-2.

TSU