Jump to content


Photo

Convert file AVI to TS


  • Please log in to reply
6 replies to this topic

#1 Dimitrij

  • PLi® Core member
  • 10,012 posts

+338
Excellent

Posted 26 February 2022 - 12:21

The plugin is intended primarily for VU+Duo4K, which does not support the AVI codec.

  First version for testing.

Need develop image.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Convert file AVI to TS #2 rantanplan

  • PLi® Contributor
  • 1,806 posts

+83
Good

Posted 27 February 2022 - 01:19

This would also be suitable for the OS mio4k (+) or Zero4k.



Re: Convert file AVI to TS #3 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 27 February 2022 - 12:14

Does it convert on the fly (while watching) or does it convert AVI to TS and then we need to play this TS resulting file?

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Convert file AVI to TS #4 Dimitrij

  • PLi® Core member
  • 10,012 posts

+338
Excellent

Posted 27 February 2022 - 15:23

Need play this TS file.

It will take 80 percent of the time on the duration of the file.


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Convert file AVI to TS #5 Pr2

  • PLi® Contributor
  • 6,074 posts

+257
Excellent

Posted 27 February 2022 - 16:00

Thanks for the clarification.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Convert file AVI to TS #6 Dimitrij

  • PLi® Core member
  • 10,012 posts

+338
Excellent

Posted 13 November 2022 - 14:09

ver. 1.1

-fix spaces in the file name

Attached Files


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: Convert file AVI to TS #7 Erik Slagter

  • PLi® Core member
  • 46,957 posts

+541
Excellent

Posted 27 November 2022 - 13:29

There is no such thing as an AVI codec. AVI is a container.

 

I think you are referring to DIVX and XVID, which were using an AVI container. The container is not the problem, the problem is the (not fully implemented) mpeg4-vc codec (also commonly known as "mpeg4" but incorrect). This codec is supported on only a handful of set-top-boxes.

 

So what you want/need to do is to re-encode the video to use h264 (mpeg4-avc) codec or even h265. The container (avi...) is not relevant, gstreamer can play from avi or mp4 or mkv or ts, it doesn't mind. But h264 or h265 cannot be carried in an avi container, due to limitations of the avi container (which is why nobody is using them nowadays).

 

For everyone wanting to play their antique "divx" clips I'd suggest:

- install ffmpeg on your computer

- run ffmpeg -i "your_divx_media.avi" -acodec ac3 -r:a 48000 -ac 2 -b:a 192k -codec:v hevc -preset fast -crf 28 -vf hqdn3d -x265-params -f matroska "your_output_file.mkv"

 

if the input is interlaced  :o add "-vf bwdif=0". If the input rate is anything other than 23.98 Hz or 25 Hz, add -f 25. For extra compatibility you might consider using one of the standard DVB resolutions like 720x576 or 704x576, using -s, but mostly it's not required.

 

This is suitable for most/usual low quality clips. If you want high quality I can give advise on alternative options for higher bitrates, higher frame rates etc.


* 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.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users