Playing/ streaming from TV channals

Everything related to the packages in the Ubuntu PPAs (Personal Package Archive).

Playing/ streaming from TV channals

Postby Rich_b21 » Wed May 11, 2016 6:19 pm

Ubuntu 15.10 OS
SMPlayer 16.4.0.

Is it possible to stream from a TV channel via SMPlayer and if so how is this done please:- Step by Step

Thank you for any advice

Richard
Rich_b21
 
Posts: 7
Joined: Wed May 11, 2016 9:30 am

Re: Playing/ streaming from TV channals

Postby rvm » Wed May 11, 2016 9:13 pm

If you mean send the video from SMPlayer to another device via streaming, I'm afraid it's not possible.
rvm
Site Admin
 
Posts: 2696
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playing/ streaming from TV channals

Postby Rich_b21 » Thu May 12, 2016 9:30 am

Thanks for your reply

No that not correct.

I would like to use SMPlayer to watch/stream a TV programme from a either BBC, ITV or Channel 4 (4oD) if this possible.
Rich_b21
 
Posts: 7
Joined: Wed May 11, 2016 9:30 am

Re: Playing/ streaming from TV channals

Postby rvm » Thu May 12, 2016 8:58 pm

It's possible to watch TV channels from a dvb-t device for example. But SMPlayer doesn't provide any function to configure or scan for channels, it has to be done with another application.

There's a document /usr/share/doc/smplayer/Watching_TV.txt.gz that tries to explain it.

It's also possible to play online streams, if you know the URL of a channel stream (usually a URL ending with .m3u8) you can open it in SMPlayer with Open -> URL.
rvm
Site Admin
 
Posts: 2696
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playing/ streaming from TV channals

Postby Rich_b21 » Fri May 13, 2016 12:19 pm

Thanks again
rvm wrote:It's also possible to play online streams, if you know the URL of a channel stream (usually a URL ending with .m3u8) you can open it in SMPlayer with Open -> URL

that's what I thought but did not seam to work for me ?
Rich_b21
 
Posts: 7
Joined: Wed May 11, 2016 9:30 am

Re: Playing/ streaming from TV channals

Postby rvm » Fri May 13, 2016 8:50 pm

Can you send the mplayer/mpv log after trying to open that URL? (Options -> View logs)
rvm
Site Admin
 
Posts: 2696
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playing/ streaming from TV channals

Postby Rich_b21 » Sat May 14, 2016 9:48 am

SMPlayer Log as requested
Also below is other msg I received when trying to play/stream ITV TV channel.
I am using a new PC running Ubuntu 15.10 OS Dual Boot Windows Pro 7.
PC Spec:-
ATX case with 500Watt PSU
Gigabyte Socket 1150 Micro ATX Motherboard - GA-H81M-S2H
Intel Pentium G3220 3.0GHz - BX80646G3220
8GB DDR3 1600MHz DIMM - PC3-12800
128GB SATA-III Solid State Drive - Kingston V300
500GB HDD Seagate Barracuda SATA3 - ST500DM002
Internal SATA Multi-format DVD Writer – SH2-244DB
Multi Card Reader – CR005V4
Windows 7 Professional – 64 Bit

[09:36:04:136] global_init
[09:36:04:205] global_init: config file: '/home/richard/.config/smplayer/smplayer.ini'
[09:36:04:207] Preferences::load
[09:36:04:207] AssStyles::load
[09:36:04:208] Preferences::load: config_version: 4, CURRENT_CONFIG_VERSION: 4
[09:36:04:209] Translator::loadCatalog: can't load qt_en_GB from /usr/share/smplayer/translations
[09:36:04:210] Translator::loadCatalog: can't load qt_en_GB from /usr/share/qt4/translations
[09:36:04:211] Translator::loadCatalog: successfully loaded smplayer_en_GB from /usr/share/smplayer/translations
[09:36:04:211] This is SMPlayer v. 16.4.0 running on Linux
[09:36:04:211] Compiled with Qt v. 4.8.6, using 4.8.6
[09:36:04:211] * application path: '/usr/bin'
[09:36:04:211] * data path: '/usr/share/smplayer'
[09:36:04:211] * translation path: '/usr/share/smplayer/translations'
[09:36:04:211] * doc path: '/usr/share/doc/smplayer'
[09:36:04:211] * themes path: '/usr/share/smplayer/themes'
[09:36:04:211] * shortcuts path: '/usr/share/smplayer/shortcuts'
[09:36:04:211] * config path: '/home/richard/.config/smplayer'
[09:36:04:211] * ini path: '/home/richard/.config/smplayer'
[09:36:04:211] * file for subtitles' styles: '/home/richard/.config/smplayer/styles.ass'
[09:36:04:211] * current path: '/home/richard'
[09:36:04:211] SMPlayer::processArgs: arguments: 1
[09:36:04:211] SMPlayer::processArgs: 0 = smplayer
[09:36:04:211] SMPlayer::processArgs: files_to_play: count: 0
[09:36:04:212] SMPlayer::gui: changed working directory to app path
[09:36:04:212] SMPlayer::gui: current directory: /usr/bin
[09:36:04:216] Screen::setAutoHideCursor: 0
[09:36:04:216] Screen::setAutoHideCursor: 0
[09:36:04:247] ShareWidget::updateButtons: actions_taken: 0
[09:36:04:247] MediaSettings::reset
[09:36:04:247] Core::changeFileSettingsMethod: hash
[09:36:04:248] PlayerID::Player: player_bin: "/usr/bin/mplayer" filename: "mplayer"
[09:36:04:248] PlayerProcess::createPlayerProcess: creating MplayerProcess
[09:36:04:248] MediaSettings::reset
[09:36:04:248] MplayerLayer::setRepaintBackground: 0
[09:36:04:248] Preferences::monitor_aspect_double
[09:36:04:248] warning: monitor_aspect couldn't be parsed!
[09:36:04:248] monitor_aspect set to 0
[09:36:04:249] Sig::load
[09:36:04:262] Playlist::setModified: 0
[09:36:04:264] Playlist::loadSettings
[09:36:04:264] Playlist::addItem: 'http://www.itv.com/hub/marcella/2a4269a0006'
[09:36:04:264] Playlist::setModified: 0
[09:36:04:264] Playlist::updateView
[09:36:04:265] Playlist::updateView: name: 'http://www.itv.com/hub/marcella/2a4269a0006'
[09:36:04:269] BaseGui::BaseGui: default_style: "gtk+"
[09:36:04:274] Favorites::load
[09:36:04:289] Favorites::load
[09:36:04:298] TVList::parse_channels_conf
[09:36:04:315] VList::parse_channels_conf: /home/richard/.mplayer/channels.conf.ter doesn't exist
[09:36:04:315] TVList::parse_channels_conf: can't open /home/richard/.mplayer/channels.conf
[09:36:04:316] Favorites::load
[09:36:04:316] TVList::parse_channels_conf
[09:36:04:316] VList::parse_channels_conf: /home/richard/.mplayer/channels.conf.ter doesn't exist
[09:36:04:316] TVList::parse_channels_conf: can't open /home/richard/.mplayer/channels.conf
[09:36:04:324] BaseGui::initializeMenus
[09:36:04:324] BaseGui::updateBookmarks
[09:36:04:333] BaseGui::initializeMenus
[09:36:04:333] BaseGui::updateBookmarks
[09:36:04:334] BaseGui::updateRecents
[09:36:04:334] BaseGui::updateWidgets
[09:36:04:334] Core::changeUseCustomSubStyle: 1
[09:36:04:334] Core::changeSubVisilibity: 1
[09:36:04:334] WARNING: PlayerProcess::writeToStdin: process not running
[09:36:04:334] Core::displayMessage
[09:36:04:334] BaseGui::setupNetworkProxy
[09:36:04:334] BaseGui::setupNetworkProxy: no proxy
[09:36:04:334] BaseGui::setStayOnTop: 0
[09:36:04:334] BaseGui::setStayOnTop: nothing to do
[09:36:04:334] BaseGui::updateWidgets
[09:36:04:334] BaseGui::updateRecents
[09:36:04:335] UpdateChecker::UpdateChecker: enabled: true
[09:36:04:335] UpdateChecker::UpdateChecker: days_to_check: 7
[09:36:04:335] UpdateChecker::UpdateChecker: days since last check: 3
[09:36:04:338] BaseGui::initializeMenus
[09:36:04:339] BaseGui::updateBookmarks
[09:36:04:339] BaseGui::updateRecents
[09:36:04:339] BaseGui::updateWidgets
[09:36:04:339] BaseGuiPlus::loadConfig
[09:36:04:340] DefaultGui::createStatusBar
[09:36:04:341] StateWidget::StateWidget: supported formats for QMovie: ("gif", "mng")
[09:36:04:342] DefaultGui::createActions
[09:36:04:342] DefaultGui::createControlWidget
[09:36:04:342] DefaultGui::createControlWidgetMini
[09:36:04:342] AutohideWidget::installFilter: child name: "mplayerwindow"
[09:36:04:342] AutohideWidget::installFilter: child name: "mplayerlayer"
[09:36:04:342] AutohideWidget::installFilter: child name: "mplayerwindow logo"
[09:36:04:342] AutohideWidget::installFilter: child name: ""
[09:36:04:342] AutohideWidget::installFilter: child name: ""
[09:36:04:342] AutohideWidget::installFilter: child name: ""
[09:36:04:342] AutohideWidget::installFilter: child name: ""
[09:36:04:342] AutohideWidget::installFilter: child name: "support_button"
[09:36:04:342] AutohideWidget::installFilter: child name: ""
[09:36:04:344] BaseGui::initializeMenus
[09:36:04:344] BaseGui::updateBookmarks
[09:36:04:345] BaseGui::updateRecents
[09:36:04:345] DefaultGui::updateWidgets
[09:36:04:345] BaseGui::updateWidgets
[09:36:04:345] DefaultGui::loadConfig
[09:36:04:345] DesktopInfo::isInsideScreen: geometry of screen: x:0 y:0 w:1920 h:1080
[09:36:04:345] WARNING: DefaultGui::loadConfig: window is outside of the screen, moved to 0x0
[09:36:04:345] ToolbarEditor::load: 'toolbar1'
[09:36:04:345] ToolbarEditor::load: loading action open_file
[09:36:04:346] ToolbarEditor::load: loading action open_directory
[09:36:04:346] ToolbarEditor::load: loading action tv_menu
[09:36:04:346] ToolbarEditor::load: loading action open_playlist
[09:36:04:346] ToolbarEditor::load: loading action favorites_menu
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action screenshot
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action show_file_properties
[09:36:04:346] ToolbarEditor::load: loading action show_playlist
[09:36:04:346] ToolbarEditor::load: loading action show_tube_browser
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action show_preferences
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action play_prev
[09:36:04:346] ToolbarEditor::load: loading action play_next
[09:36:04:346] ToolbarEditor::load: 'controlwidget'
[09:36:04:346] ToolbarEditor::load: loading action play
[09:36:04:346] ToolbarEditor::load: loading action pause_and_frame_step
[09:36:04:346] ToolbarEditor::load: loading action stop
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action rewindbutton_action
[09:36:04:346] ToolbarEditor::load: loading action timeslider_action
[09:36:04:346] TimeSlider::setDragDelay: 100
[09:36:04:346] ToolbarEditor::load: loading action forwardbutton_action
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action fullscreen
[09:36:04:346] ToolbarEditor::load: loading action mute
[09:36:04:346] ToolbarEditor::load: loading action volumeslider_action
[09:36:04:346] ToolbarEditor::load: 'controlwidget_mini'
[09:36:04:346] ToolbarEditor::load: loading action play_or_pause
[09:36:04:346] ToolbarEditor::load: loading action stop
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action rewind1
[09:36:04:346] ToolbarEditor::load: loading action timeslider_action
[09:36:04:346] TimeSlider::setDragDelay: 100
[09:36:04:346] ToolbarEditor::load: loading action forward1
[09:36:04:346] ToolbarEditor::load: loading action separator
[09:36:04:346] ToolbarEditor::load: adding separator
[09:36:04:346] ToolbarEditor::load: loading action mute
[09:36:04:346] ToolbarEditor::load: loading action volumeslider_action
[09:36:04:347] ToolbarEditor::load: 'floating_control'
[09:36:04:347] ToolbarEditor::load: loading action play
[09:36:04:347] ToolbarEditor::load: loading action pause
[09:36:04:347] ToolbarEditor::load: loading action stop
[09:36:04:347] ToolbarEditor::load: loading action separator
[09:36:04:347] ToolbarEditor::load: adding separator
[09:36:04:347] ToolbarEditor::load: loading action rewindbutton_action
[09:36:04:347] ToolbarEditor::load: loading action timeslider_action
[09:36:04:347] TimeSlider::setDragDelay: 100
[09:36:04:347] ToolbarEditor::load: loading action forwardbutton_action
[09:36:04:347] ToolbarEditor::load: loading action separator
[09:36:04:347] ToolbarEditor::load: adding separator
[09:36:04:347] ToolbarEditor::load: loading action fullscreen
[09:36:04:347] ToolbarEditor::load: loading action mute
[09:36:04:347] ToolbarEditor::load: loading action volumeslider_action
[09:36:04:347] ToolbarEditor::load: loading action separator
[09:36:04:347] ToolbarEditor::load: adding separator
[09:36:04:347] ToolbarEditor::load: loading action timelabel_action
[09:36:04:347] Helper::qtVersion: 4806
[09:36:04:348] DefaultGui::loadConfig: playlist visible: 0
[09:36:04:348] DefaultGui::loadConfig: playlist position: 0, 0
[09:36:04:348] DefaultGui::loadConfig: playlist size: 100 x 30
[09:36:04:348] DefaultGui::updateWidgets
[09:36:04:348] BaseGui::updateWidgets
[09:36:04:348] BaseGui::applyStyles
[09:36:04:348] BaseGui::applyStyles: stylesheet: ""
[09:36:04:348] BaseGui::changeStyleSheet:
[09:36:04:348] BaseGui::loadQss: :/default-theme/style.qss
[09:36:04:348] Images::setThemesPath: "/usr/share/smplayer/themes"
[09:36:04:348] Images::resourceFilename: ""
[09:36:04:348] Images::setTheme: has_rcc: false
[09:36:04:356] BaseGui::applyStyles: style: "gtk+"
[09:36:04:368] BaseGui::showEvent
[09:36:04:370] BaseGui::loadActions
[09:36:04:370] ActionsEditor::loadFromConfig
[09:36:04:382] BaseGui::initializeMenus
[09:36:04:382] BaseGui::updateBookmarks
[09:36:04:382] BaseGui::updateRecents
[09:36:04:383] DefaultGui::updateWidgets
[09:36:04:383] BaseGui::updateWidgets
[09:36:06:335] BaseGui::checkIfUpgraded
[09:36:51:317] BaseGui::showLog

Error when trying to stream ITV TV prog.

/usr/bin/mplayer -noquiet -slave -identify -nofs -sub-fuzziness 1 -vo xv -ao pulse -nodr -double -stop-xscreensaver -nomouseinput -input nodefault-bindings:conf=/dev/null -nokeepaspect -wid 54526004 -monitorpixelaspect 1 -subfont-osd-scale 3 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/richard/.config/smplayer/styles.ass -subcp ISO-8859-1 -subpos 100 -volume 50 -cache 2048 -osdlevel 0 -prefer-ipv4 -vf-add screenshot -noslices -channels 2 -af-add scaletempo -af-add equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 http://www.itv.com/hub/marcella/2a4269a0006

MPlayer2 2.0-728-g2c378c7-4build1 (C) 2000-2012 MPlayer Team
Terminal type `unknown' is not defined.

Playing http://www.itv.com/hub/marcella/2a4269a0006.
Resolving http://www.itv.com for AF_INET...
Connecting to server http://www.itv.com[23.57.2.219]: 80...
Cache size set to 2048 KiB

Cache fill: 0.00% (0 bytes)
Cache fill: 3.24% (67908 bytes)


MPlayer interrupted by signal 11 in module: demux_open
ID_SIGNAL=11
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Last edited by Rich_b21 on Sat May 14, 2016 9:53 am, edited 1 time in total.
Rich_b21
 
Posts: 7
Joined: Wed May 11, 2016 9:30 am

Re: Playing/ streaming from TV channals

Postby Rich_b21 » Sat May 14, 2016 9:51 am

If you can help to point out my errors I would be very grateful.

Thank again for your help.

Richard
Rich_b21
 
Posts: 7
Joined: Wed May 11, 2016 9:30 am

Re: Playing/ streaming from TV channals

Postby rvm » Sat May 14, 2016 1:26 pm

You're using MPlayer2 which is obsolete. I suggest to replace it with mpv.

That video can't be played because the URL is a web page, not the URL of a video. Sometimes mpv with the help of youtube-dl can find out the real URL of a video from a web page but unfortunately it seems that itv.com is not supported by youtube-dl.

This is the list of supported sites by youtube-dl: https://rg3.github.io/youtube-dl/supportedsites.html

If you install mpv and a very recent version of youtube-dl you can play videos from all those sites with smplayer.
rvm
Site Admin
 
Posts: 2696
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: Playing/ streaming from TV channals

Postby Rich_b21 » Sat May 14, 2016 1:43 pm

rvm wrote:You're using MPlayer2 which is obsolete. I suggest to replace it with mpv.

That video can't be played because the URL is a web page, not the URL of a video. Sometimes mpv with the help of youtube-dl can find out the real URL of a video from a web page but unfortunately it seems that itv.com is not supported by youtube-dl.

This is the list of supported sites by youtube-dl: https://rg3.github.io/youtube-dl/supportedsites.html

If you install mpv and a very recent version of youtube-dl you can play videos from all those sites with smplayer.



I thought I was using SMPlayer 16.4.0.
How and were do I obtain a download of mpv and what is this ?
Also please explain youtube-di and what is this ?

Thank you for your help again

Regards,
Richard
Rich_b21
 
Posts: 7
Joined: Wed May 11, 2016 9:30 am

Next

Return to Ubuntu PPAs

Who is online

Users browsing this forum: No registered users and 1 guest