Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Converting audio/video files (http://stream-recorder.com/forum/forumdisplay.php?f=16)
-   -  

How to convert .ts file saved from livestreamer to an audio file(mp3)

(http://stream-recorder.com/forum/showthread.php?t=20496)

cksachdev 12-03-2015 07:56 AM

How to convert .ts file saved from livestreamer to an audio file(mp3)


 
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 02:55 AM

Re: How to convert .ts file saved from livestreamer to an audio file(mp3)


 
I know this TS to MP3 converter. 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 05:21 AM

Re: How to convert .ts file saved from livestreamer to an audio file(mp3)


 
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 04:51 AM

Re: How to convert .ts file saved from livestreamer to an audio file(mp3)


 
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 .


All times are GMT -6. The time now is 08:10 PM.