FORUMS: list search recent posts

Convert .ts to .avi

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Luiz Guilherme Louro
Convert .ts to .avi
on Sep 22, 2011 at 12:56:12 pm

I need to convert a video in .ts to .avi, anyone knows how to do it with ffmpeg?


Return to posts index

Michael Rampe
Re: Convert .ts to .avi
on Sep 22, 2011 at 8:39:42 pm

[Luiz Guilherme Louro] "I need to convert a video in .ts to .avi, anyone knows how to do it with ffmpeg?
"


Depends what you wish to do with it and what your source is.....

For source: post results from $ ffmpeg -i file.ts

What codecs do you want for your avi? Is there audio involved as well?
More information needed.

Michael


Return to posts index

Luiz Guilherme Louro
Re: Convert .ts to .avi
on Sep 23, 2011 at 12:19:03 am

Michael,

The .ts file is from a record of Digital TV.

results from $ ffmpeg -i file.ts :

printscreen.png

Can be in anyone codec that decrease the size of the video.
The output must have one audio track.
The format can be in .mkv instead .avi

Luiz


Return to posts index


Michael Rampe
Re: Convert .ts to .avi
on Sep 23, 2011 at 12:53:15 am

seeing that the footage is already H.264 and AAC, you could simply repack the media into a different container.

$ ffmpeg -i input.ts -vcodec copy -acodec copy output.mkv

But this will not make it smaller.....

The reduce the size as well, try:

$ ffmpeg -i input.ts -vcodec libx264 -preset slow -b 5000k -acodec libfaac -ab 192k output.mkv

This should make it about a third of the size of the original which reports at around 15000k.

Michael


Return to posts index


Luiz Guilherme Louro
Re: Convert .ts to .avi
on Sep 24, 2011 at 1:57:57 am

Michael,

The output file is getting longer than the video input (duration in seconds). The audio is ok, but the video is slow.
When I use -vcodec copy I have the normal video in other format, but when I use the libx264, the video slows down.
Do you know any solution?

Luiz


Return to posts index

Luiz Guilherme Louro
Re: Convert .ts to .avi
on Sep 30, 2011 at 11:21:27 am

The program called Mencoder can be used to convert videos too. Anybody knows how I can convert .ts videos?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]