Re: [FFmpeg-user] Create subtitle playlist

2016-10-18 Thread Tung Tran
Dear Tom Evans

Thank you very much for your guide, It saves ton of my time.


---
Best regards,

*Tung Tran*

*UNO IPTV*

*V247 Enterprise Corp*Phone: 713.358.2257
 Bellaire Blvd., Ste. * | *Houston, TX 77036
*tung.t...@v247.com | www.V247.com *


On Tue, Oct 18, 2016 at 9:03 AM, Tom Evans  wrote:

> On Mon, Oct 17, 2016 at 5:50 PM, Tung Tran  wrote:
> > Dear all
> >
> > Could you please point me the command to create .m3u8 playlist for
> > subtitles on  HLS streaming (VoD) application. I have the .srt file but
> > dont know how to make .m3u8 playlist from it.
> >
> > Thank you
> >
>
> Simply add the srt file as an input and convert to webvtt:
>
> Eg:
>
> > $ ffmpeg \
> > -i bones_s09e07.mp4 \
> > -i bones_s09e07.srt \
> > -c copy -c:s webvtt \
> > -start_number 0 -hls_time 10 -hls_list_size 0 \
> > -f hls \
> > out/index.m3u8
>
> Cheers
>
> Tom
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Create subtitle playlist

2016-10-18 Thread Tom Evans
On Mon, Oct 17, 2016 at 5:50 PM, Tung Tran  wrote:
> Dear all
>
> Could you please point me the command to create .m3u8 playlist for
> subtitles on  HLS streaming (VoD) application. I have the .srt file but
> dont know how to make .m3u8 playlist from it.
>
> Thank you
>

Simply add the srt file as an input and convert to webvtt:

Eg:

> $ ffmpeg \
> -i bones_s09e07.mp4 \
> -i bones_s09e07.srt \
> -c copy -c:s webvtt \
> -start_number 0 -hls_time 10 -hls_list_size 0 \
> -f hls \
> out/index.m3u8

Cheers

Tom
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Create subtitle playlist

2016-10-18 Thread Sven C. Dack

On 17/10/16 17:50, Tung Tran wrote:

Dear all

Could you please point me the command to create .m3u8 playlist for
subtitles on  HLS streaming (VoD) application. I have the .srt file but
dont know how to make .m3u8 playlist from it.

Thank you
From what I know are .m3u files just plain text files (.m3u = ASCII text, m3u8 
= UTF-8 text). See also: https://en.wikipedia.org/wiki/M3U
This is an example for an .m3u file that I have on my desktop to play an 
Internet radio station:


--- PulseRadio.m3u ---
#EXTM3U
#EXTINF:-2,(#1 192k) PulsRadio Version 100% Trance - www.pulsradio.com
http://icecast.pulsradio.com:80/pulstranceHD.mp3
---

I believe lines starting with "#" are mere optional comments and all the file 
then contains are lists of URLs of all sorts. Should be the easiest thing in the 
world to create with only a text editor.


Sven

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Create subtitle playlist

2016-10-17 Thread Tung Tran
Dear all

Could you please point me the command to create .m3u8 playlist for
subtitles on  HLS streaming (VoD) application. I have the .srt file but
dont know how to make .m3u8 playlist from it.

Thank you

---
Best regards,

*Tung Tran*

*UNO IPTV*
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".