• We've upgraded our forums. Please post any issues/requests in this thread.

Headless ubuntu 10.04 media streaming server

Joined
Oct 20, 2009
Messages
2,841 (0.95/day)
Likes
339
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
#1
Hi, I recently set up a ubuntu 10.04 server and need instructions on how to set up Samba for the first time so I can access files from any of my computers on my LAN (windows, Mac, Linux) or remotely( like at my folks place) and also setup a media streaming service for my music and movies on my drives(including external). I am new to servers ( as I have not touched a server since the army in 2006) and I need help. I also would like to know how i can set up my own email server with it as well. My internal storage consists of 1 1TB Drive with an LVM of 80GB for the Server OS and ~800GB for the Media as well as a 1.5TB external Drive.
I am running this as a headless server too. So far I have VNC, Gnome-Core, Webmin, OpenSSH and Samba. As far as the Media Streaming goes, it would be nice to have it transcode the file should it be needed like to a PS3 as a uPnP. Any help would be appreciated.
 
Joined
Sep 3, 2010
Messages
3,443 (1.30/day)
Likes
1,685
Location
NL, Europe
Processor Intel Core i5-4460
Motherboard Gigabyte GA-Z97-D3H
Cooling Arctic Freezer i11
Memory Crucial Ballistix Sport, DDR3-1600, 2x4 GB kit
Video Card(s) Sapphire Radeon R9 270X Vapor-X
Storage Kingston SSDNow V300 (120GB) + Seagate Barracuda 7200.14 (1TB)
Display(s) AOC G2260VWQ6 | Acer AL1916 (in reserve)
Case Cooler Maste Centurion 5
Audio Device(s) integrated
Power Supply Seasonic G450
Mouse Logitech G500
Keyboard Qpad MK-50
Software Windows 10
#2
I now VLC player does have streaming functionality but I don't know if it can transcode during the streaming. The command line version of vlc is called cvlc, by the way (though I don't now exactly what packages are needed to be picked up via APT to get all the functionality you need).
Note: I am not knowledgeable in this particular field so I can not assist you further. I could only give you some thoughts of mine.
 
Joined
Nov 2, 2010
Messages
166 (0.06/day)
Likes
21
Location
Philippines! :D
System Name Noobie XTXx || Portalet Crap Machine
Processor i5 2500K @ 4.5, 1.345V || i7 2640QM
Motherboard ASUS P8P67 PRO || Dell
Cooling CM Hyper 212+ || Stock
Memory 2 x 2gb GSkill DDR3 9-9-9-24 || 8GB DDR3
Video Card(s) PowerColor 6970PCS @stock || Optimus (525m)
Storage WD Caviar Blue 500 + 320 Hitachi || 500GB
Display(s) LG W2253TQ || Crappy 1366*768 15"
Case CM 690 PURE Black
Audio Device(s) On Board
Power Supply ThermalTake Toughpower XT 775w
Software Win 7 64bit
#3
Joined
Mar 31, 2007
Messages
1,895 (0.48/day)
Likes
162
Location
ontario canada
System Name home brew
Processor Intel Corei7 3770K OC @ 4.5Ghz
Motherboard ASUS P8Z77-V
Cooling Corsair H100
Memory 16GB DDR3 1600 GSKILL
Video Card(s) Powercolor Radeon 7970, MSI Radeon 7970
Storage Mushkin Chronos Deluxe 240gb. 2 TB Hdd.
Display(s) 3x24inch Dell Ultra IPS
Case CM storm trooper
Power Supply Antec Quattro OC ed. 1200w
Software Windows 7 Business x64
Benchmark Scores vantage: P43089
#4
I once setup exim4 mail server on an Ubuntu vm. It was straight forward for the most part.
http://blog.edseek.com/~jasonb/articles/exim4_courier/exim4.html seems to have good instruction. I cant remember how i did it, was a year ago.

As for media streaming, not sure what you can use. I use PS3 media server on windows which is fantastic.
 
Joined
Oct 20, 2009
Messages
2,841 (0.95/day)
Likes
339
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
#5
Joined
Mar 31, 2007
Messages
1,895 (0.48/day)
Likes
162
Location
ontario canada
System Name home brew
Processor Intel Corei7 3770K OC @ 4.5Ghz
Motherboard ASUS P8Z77-V
Cooling Corsair H100
Memory 16GB DDR3 1600 GSKILL
Video Card(s) Powercolor Radeon 7970, MSI Radeon 7970
Storage Mushkin Chronos Deluxe 240gb. 2 TB Hdd.
Display(s) 3x24inch Dell Ultra IPS
Case CM storm trooper
Power Supply Antec Quattro OC ed. 1200w
Software Windows 7 Business x64
Benchmark Scores vantage: P43089
#6
Ah, but what I want to do is stream to other windows / linux computers not PS3
ah ok. you had mentioned transcoding for the ps3. Anyway, for playing stuff over the network, can you use it as a samba server, and just add the network location to a media client on the other computers?
 
Joined
Oct 20, 2009
Messages
2,841 (0.95/day)
Likes
339
System Name FumoffuFumoffu
Processor Intel i7 4770K
Motherboard Gigabyte Z87X -UD3H
Cooling Corsair H100i
Memory 16GB DDR3 1600 Crucial Ballistix
Video Card(s) Sapphire AMD Radeon HD 7970 OC
Storage 1- WD 500GB 1- Samsung F2 1.5TB 1- Crucial M4 128GB SSD 1-256GB ADATA XPG SX900 ASX900S3 SSD
Display(s) Hanns-G HZ281HPB 27.5'' 3ms Full HD 1920x1200 WideScreen LCD Monitor
Case Corsair Graphite Series 600T
Audio Device(s) Creative Soundblaster X-Fi Titanium
Power Supply Corsair HX 750W Gold
Software Windows 7 Pro x64
#7
ah ok. you had mentioned transcoding for the ps3. Anyway, for playing stuff over the network, can you use it as a samba server, and just add the network location to a media client on the other computers?
eh got it running but the Database kept being "corrupted." Got fed up and switched to XP and running Tversity and Twonky but may need to use my desktop (Gaaming) for streaming as it has 12gb of ram and a AMD 955BE.
 

IlluminAce

New Member
Joined
Aug 6, 2011
Messages
46 (0.02/day)
Likes
40
Location
UK
System Name Ace2
Processor Intel i7 2600
Motherboard ASRock Extreme4 Gen3
Cooling Zalman CNPS10x Extreme
Memory Corsair Vengeance LP 16GB (4x4)
Video Card(s) Asus HD 6970 DirectCUII
Storage 4x Samsung 1TB 7.2krpm
Display(s) 1x 24" 16:10, 1x 20" 16:10, 3x 19" 5:4
Case Fractal Design R3
Audio Device(s) TBD
Power Supply Corsair HX850W
Software Debian dom0 (on Xen hypervisor)
#8
Hi. A few thoughts on Ubuntu & video streaming:

First off, although you opted (possibly wisely) for the LTS, I would have gone for 10.10/11.04 - rate of change is quick at the moment and you may find things easier in the later releases. Also, you may have found gsambad helpful - this GUI tool is commonly used to ease configuring samba shares.

With regard to video streaming, the two utilities you've mentioned seem powerful, but work by live transcoding.

Serving video is basically contingent on your server's hardware and the use cases you expect. For example, if your server's CPU is insufficient to transcode the video on-the-fly (which depends on the quality of video you're pumping in, the output quality you desire, your internal network, external bandwidth, etc), then you may need to look towards offloading processing to another box on your network (which somewhat defeats the point of the server). However, an alternative would be pre-processing your video files for streaming. Whether you can do this or not depends on the free space on your server's drives versus the total space, the different qualities you'd like to output at, etc etc...

Personally, I would choose to forego live streaming, upgrade the internal network to Gigabit ethernet, and pull video files from the server on demand. This eliminates the risk of network or transcoding issues interrupting your viewing part way through, at the cost of a small delay to the commencement of viewing each video. Whether this is significant or not depends on your specific circumstances, considering video quality, frequency of access, concurrent accesses, etc.

As for streaming to remote locations, this can be complex (think of Youtube - it re-encodes your video as you upload it, not just to one different format but to multiple, catering for different devices and network bandwidths). You need to consider your specific needs - do you want high quality fullscreen video? Instant start, or can you wait a while? ... The simplest implementation would involve re-encoding to a lower-quality streaming format such as flv and setting up a web server such as Apache. The pre-encoded files can then be streamed on demand. Clearly though, this simple implementation has many downsides. More complex implementations would require significant development effort, and so probably a product similar to those you've discovered.
 
Joined
Sep 3, 2010
Messages
3,443 (1.30/day)
Likes
1,685
Location
NL, Europe
Processor Intel Core i5-4460
Motherboard Gigabyte GA-Z97-D3H
Cooling Arctic Freezer i11
Memory Crucial Ballistix Sport, DDR3-1600, 2x4 GB kit
Video Card(s) Sapphire Radeon R9 270X Vapor-X
Storage Kingston SSDNow V300 (120GB) + Seagate Barracuda 7200.14 (1TB)
Display(s) AOC G2260VWQ6 | Acer AL1916 (in reserve)
Case Cooler Maste Centurion 5
Audio Device(s) integrated
Power Supply Seasonic G450
Mouse Logitech G500
Keyboard Qpad MK-50
Software Windows 10
#9
he simplest implementation would involve re-encoding to a lower-quality streaming format such as flv
AFAIK, .flv is (like e.g. .mkv and .avi) a container format. That it is .flv does not say anything about the quality, compression rate etc. That depends on the codecs used for the audio and video.
Proof for the fact that it is a container format: http://en.wikipedia.org/wiki/FLV
 

IlluminAce

New Member
Joined
Aug 6, 2011
Messages
46 (0.02/day)
Likes
40
Location
UK
System Name Ace2
Processor Intel i7 2600
Motherboard ASRock Extreme4 Gen3
Cooling Zalman CNPS10x Extreme
Memory Corsair Vengeance LP 16GB (4x4)
Video Card(s) Asus HD 6970 DirectCUII
Storage 4x Samsung 1TB 7.2krpm
Display(s) 1x 24" 16:10, 1x 20" 16:10, 3x 19" 5:4
Case Fractal Design R3
Audio Device(s) TBD
Power Supply Corsair HX850W
Software Debian dom0 (on Xen hypervisor)
#10
flv does not say anything about the quality, compression rate etc. That depends on the codecs used for the audio and video.
Proof for the fact that it is a container format: http://en.wikipedia.org/wiki/FLV
Quite correct; I was in a bit of a rush by that point, my low quality comment was trying to emphasize that the point was to take the originals and re-encode them into lower quality copies. You'd usually stick in a combination like H.26x & AAC. However, regardless of which codecs you choose, my understanding of flv is that all supported codecs are streamable.