Here is the lastest version OnlineTV app (v. 1.1.12.8.)
[App] More TV channels on E/F/H series
-
- Official SamyGO Developer
- Posts: 1051
- Joined: Sat Sep 21, 2013 5:07 pm
- Location: Poland
Re: [App] More TV channels on E/F/H series
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
Re: [App] More TV channels on E/F/H series
Thank You wluczykijwfwluczykijwf wrote: ↑Thu Aug 31, 2017 7:51 pmHere is the lastest version OnlineTV app (v. 1.1.12.8.)
-
- SamyGO Project Donor
- Posts: 489
- Joined: Sun Mar 23, 2014 8:15 pm
- Location: Bulgaria
Re: [App] More TV channels on E/F/H series
Any idea to use similar approach to transcode dvb subtitles into the video.wluczykijwf wrote: ↑Sun Mar 20, 2016 12:44 amTranscoding mjpeg stream from http://192.168.0.100:8080/video (address to IPWebcam stream in local network) and streaming it by HLS via ffmpeg appmatrixabc wrote:If you have a telephone with android you make download "IPWebcam" and check it, but i dont see options to change video streaming.
Usage - now for test manually:For me it work's
- 1. Download ffmpeg and put it to: /mtd_rwcommon
2. Set permissions:3. Create the directory: /dtv/www/hlsCode: Select all
chmod +x /mtd_rwcommon/ffmpeg
4. Add new channel to TV channel list (*scm file) and to TvList.xml:5. Put command via telnet:Code: Select all
<item> <tvid>999</tvid> <source>OnlineTV</source> <title>My IPWebCam</title> <link>http://127.0.0.1:1080/hls/playlist.m3u8</link> <image>None</image> <type>HLS</type> <ch_category> <id_category /> </ch_category> <description> </description> </item>
6. Run OnlineTV and play new channelCode: Select all
/mtd_rwcommon/ffmpeg -f mjpeg -r 8 -i "http://192.168.0.100:8080/video" -vcodec mpeg4 -r 25 -f ssegment -segment_list /dtv/www/hls/playlist.m3u8 -segment_list_type hls -hls_flags delete_segments -segment_list_size 10 -segment_list_flags +live -segment_time 10 /dtv/www/hls/out%03d.ts
7. Watch your stream...
Use CPU ~8%
This needs to be automated (in listCH.sh) and add scripts to delete unnecessary files from the directory: /dtv/www/hls
I managed to do it on my pc with static files but I can't do it on the tv with live video
ffmpeg -i video.ts -filter_complex '[0:v][0:s]overlay[v]' -map '[v]' -map 0:a video.mp4
This is the stream which I am trying to transcode
Code: Select all
Metadata:
service_name : TV 1
service_provider: TV
Stream #0:0[0x1979]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x197c]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x197b](bul): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:3[0x197e]: Data: bin_data ([6][0][0][0] / 0x0006)
Code: Select all
ffmpeg -f mpegts -r 8 -i "http://streamIp/tv.ts" -vcodec mpeg4 -r 25 -f ssegment -segment_list playlist.m3u8 -segment_list_type hls -hls_flags delete_segments -segment_list_size 10 -segment_list_flags +live -segment_time 10 -filter_complex '[0:v][0:s]overlay[v]' -map '[v]' -map 0:a out%03d.ts
Code: Select all
root@tv:/dtv/usb/sda1/REC $ /mtd_rwcommon/ffmpeg -f mpegts -r 8 -i "http://videoIP/tv.ts" -vcodec mpeg4 -r 25 -f ssegment -segment_list playlist.m3u8 -segment_list_type hls -hls_flags delete_segments -segment_lis
t_size 10 -segment_list_flags +live -segment_time 10 -filter_complex '[0:v][0:s]overlay[v]' -map '[v]' -map 0:a out%03d.ts
ffmpeg version N-79040-g29d106e Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.3 (Sourcery CodeBench Lite 2014.05-29) 20140320 (prerelease)
configuration: --disable-yasm --disable-ffplay --disable-ffprobe --disable-doc --disable-txtpages --disable-podpages --disable-manpages --disable-htmlpages --disable-fft --cross-prefix=/opt/arm-2014.05/bin/arm-none-linux-gnueabi- --enable-cross-compile --target-os=linux --arch=armv7 --enable-static --disable-shared --disable-cuda --enable-pic --extra-cflags=--static --extra-libs=-static
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 28.103 / 57. 28.103
libavformat 57. 28.101 / 57. 28.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 39.102 / 6. 39.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
[mpeg2video @ 0x2d185b0] Invalid frame dimensions 0x0.
Last message repeated 20 times
[mpegts @ 0x2d12b10] Could not find codec parameters for stream 1 (Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 2 channels, 192 kb/s): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mpegts, from 'http://videoIP/tv.ts':
Duration: N/A, start: 40580.663500, bitrate: 15192 kb/s
Program 6520
Metadata:
service_name : TV1
service_provider: TV
Stream #0:0[0x1979]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x197c]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 2 channels, 192 kb/s
Stream #0:2[0x197b](bul): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
Stream #0:3[0x197e]: Data: bin_data ([6][0][0][0] / 0x0006)
[mpegts @ 0x2d12b10] sub2video: using 720x576 canvas
No decoder for stream #0:1, filtering impossible
Error opening filters!
Last edited by bobiturboto on Mon Sep 04, 2017 3:39 pm, edited 1 time in total.
-
- Official SamyGO Developer
- Posts: 1051
- Joined: Sat Sep 21, 2013 5:07 pm
- Location: Poland
Re: [App] More TV channels on E/F/H series
hi @bobiturboto
I had it try also. I had try written subtitle on TV and play it from stream. Without success... Thanks you for your the report.
edit
Does it work on your PC for live video also?
I had it try also. I had try written subtitle on TV and play it from stream. Without success... Thanks you for your the report.
edit
Does it work on your PC for live video also?
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
-
- SamyGO Project Donor
- Posts: 489
- Joined: Sun Mar 23, 2014 8:15 pm
- Location: Bulgaria
Re: [App] More TV channels on E/F/H series
At the first place some codecs are missing, I just updated my post with logs from the tv.
-
- SamyGO Project Donor
- Posts: 489
- Joined: Sun Mar 23, 2014 8:15 pm
- Location: Bulgaria
Re: [App] More TV channels on E/F/H series
Here is log from my pc where is working https://pastebin.com/JTpJS994
-
- Official SamyGO Developer
- Posts: 1051
- Joined: Sat Sep 21, 2013 5:07 pm
- Location: Poland
Re: [App] More TV channels on E/F/H series
Maybe version ffmpeg make a difference
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
-
- SamyGO Project Donor
- Posts: 489
- Joined: Sun Mar 23, 2014 8:15 pm
- Location: Bulgaria
Re: [App] More TV channels on E/F/H series
So we need to crosscompilled from the latest source right? Do you know which switches we should use? Thanks
Sent from my D6503 using Tapatalk
Sent from my D6503 using Tapatalk
-
- Official SamyGO Developer
- Posts: 1051
- Joined: Sat Sep 21, 2013 5:07 pm
- Location: Poland
Re: [App] More TV channels on E/F/H series
I did a cross compile for a default configure of args.bobiturboto wrote: ↑Mon Sep 04, 2017 6:47 pm So we need to crosscompilled from the latest source right? Do you know which switches we should use?
It works for me also for windows compilation with args:
Code: Select all
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
Code: Select all
configuration: --disable-yasm --disable-ffplay --disable-ffprobe --disable-doc --disable-txtpages --disable-podpages --disable-manpages --disable-htmlpages --disable-fft --cross-prefix=/opt/arm-2014.05/bin/arm-none-linux-gnueabi- --enable-cross-compile --target-os=linux --arch=armv7 --enable-static --disable-shared --disable-cuda --enable-pic --extra-cflags=--static --extra-libs=-static
edit
it works nice on PC (without slow motion and with best video quality):
Code: Select all
ffmpeg -i "http://my_stream" -f ssegment -segment_list playlist.m3u8 -segment_list_type hls -hls_flags delete_segments -segment_list_size 10 -segment_list_flags +live -segment_time 10 -filter_complex [0:v][0:s]overlay[v] -map [v] -map 0:a -c:v libx264 -c:a copy out%03d.ts
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
-
- Official SamyGO Developer
- Posts: 1051
- Joined: Sat Sep 21, 2013 5:07 pm
- Location: Poland
Re: [App] More TV channels on E/F/H series
Probably we need new cross compile with two new args:
Code: Select all
--enable-libfontconfig enable libfontconfig, useful for drawtext filter [no]
--enable-libx264 enable H.264 encoding via x264 [no]
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500