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