FORUMS: list search recent posts

Convert single large .ts mpeg-ts h264 file to m3u8

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
sarada sahoo
Convert single large .ts mpeg-ts h264 file to m3u8
on Aug 2, 2016 at 8:04:22 pm

Hi,
i have single .ts file, which is large. Roku does not have feature to play such big file. it always tries to download full file before playing. and also RoKu does not support EXTINF HLS4 discontinuity option.
So, i need to write in m3u8 with minimum 3 .ts files.

I was trying to convert but download is failing with all options i tried for ffmpeg.

Could you please help how can i play this in roku or how can i convert this to m3u8.

Error below.

./ffmpeg -re -i http://ns3045782.ip-5-135-142.eu:8000/live/sYKADDaJs2/SnoQc6v4hZ/3900.ts -c copy chunklist.m3u8 -headers 'User-Agent: "FMLE/3.0 (compatible; FMSc/1.0)"'
ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 52. 89.100 / 52. 89.100
libavcodec 55. 66.101 / 55. 66.101
libavformat 55. 43.100 / 55. 43.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 8.100 / 4. 8.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
Trailing options were found on the commandline.
Input #0, mpegts, from 'http://ns3045782.ip-5-135-142.eu:8000/live/sYKADDaJs2/SnoQc6v4hZ/3900.ts':
Duration: N/A, start: 37562.820100, bitrate: 179 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 179 kb/s
Output #0, hls, to 'chunklist.m3u8':
Metadata:
encoder : Lavf55.43.100
Stream #0:0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 90k tbn, 25 tbc
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, 179 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 700 fps= 25 q=-1.0 Lsize=N/A time=00:00:28.00 bitrate=N/A
video:5604kB audio:444kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown


Return to posts index

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