PDA

View Full Version : How to convert .ts file saved from livestreamer to an audio file(mp3)


cksachdev
12-03-2015, 08:56 AM
How can I convert .ts to .mp3 file? Are there any parameters required to have a high quality .mp3 output from .ts?

KsU
04-08-2016, 03:55 AM
I know this TS to MP3 converter (http://www.macxdvd.com/ts-video-converter-free/). it's totally free and most of the quality will be reserved after conversion.

And the automatic choice is proper:) I don't change parameters by hand.

ihryjfbd
09-20-2016, 06:21 AM
ffmpeg -i .ts -c:a copy -bsf:a aac_adtstoasc .mp3

or something like.
Keep in mind though .ts can contain hundreds of audio tracks and videos, it's a format used to multiplex multiple tv streams.

ami_go
04-13-2017, 05:51 AM
Hi all ,

===
"...\ffmpeg.exe" -i "video.ts" 2> video.ts.txt
===
open 'video.ts.txt' with a text editor . Example : In it you can read :
...
Stream #0:0[0x101]: Data: timed_id3 (ID3 / 0x20334449)
Stream #0:1[0x102]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, smpte170m/smpte170m/bt709), 320x240 [SAR 161:160 DAR 161:120], 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
Stream #0:2[0x103]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 32000 Hz, mono, fltp, 36 kb/s
...
===
"...\ffmpeg.exe" -i "video.ts" -map 0:2 -vcodec libmp3lame -f mp3 Audio_Only.mp3
===

Cheers .