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

Real-time video encoding and streaming over home network?

Joined
Jun 13, 2012
Messages
101 (0.05/day)
Likes
4
System Name New gaming rig
Processor Core i7 3700k
Motherboard ASUS Sabertooth z77
Cooling Noctua NH-D14
Memory 4x4GB Corsair Vengeance LP 1600MHz
Video Card(s) ASUS GTX 680 DirectCU II
Storage 1x OCZ Agility 3 (240GB) + 2x Seagate Barracuda (2TBx2) + 1 2TB HDD for backups
Display(s) Yamakasi Catleap 1440p monitor
Case Coolermaster HAF 932 Advanced
Audio Device(s) ASUS Xonar DX
Power Supply Corsair AX850
Software Windows 7 HP 64-bit
#1
Hello everyone, a weird idea is walking around my brain these days... :laugh:
I recently got a Raspberry PI model B, which I currently use to stream movies from an ext4 HDD connected to it. The issue is, some movies are really big and have a high bitrate (20-24Mbps) so it stutters a bit when streaming over wifi. Some movies are unfortunately unwatchable due to this and I have to re-encode them (I use MediaCoder with CUDA and my GTX680 to reduce the bitrate to 8-10Mbps).
What I was wondering is, since my gaming pc is connected via ethernet and I get full 100Mbit speed to the raspberry, could I:
1) Get the movie file streammed by the raspberry
2) Encode it in real-time to 8-10Mbit/s
3) Stream it in live to the laptop connected via wifi
I know it seems really complicated and probably impossible, but I'd like to know your opinions about this, and maybe a better and easier method it there happens to be one.
Thanks in advance.
 

_Zod_

New Member
Joined
Oct 7, 2009
Messages
172 (0.06/day)
Likes
37
System Name Zim
Processor AMD FX-6300
Motherboard GA-970A-UD3 (rev. 2.0)
Cooling AMD Stock with heat pipes
Memory Corsair CMV8GX3M2A1333C9 2x 8GB Kit DDR3 1333
Video Card(s) EVGA GeForce GTX 550 Ti FPB
Storage Western Digital WD RE4 1TB - Main
Display(s) HP LP2465 1920x1200
Case COOLMAX CS-480
Audio Device(s) Intergrated VIA VT2021
Power Supply hec X-Power Pro 600
Software Windows 7 Ultimate
#2
Re-encoding is the only reliable option. The other option (way less reliable) is to cough up cash (because the free ones never work correctly and format compatibility is nill) for a DLNA media server software and stream from the PC leaving the raspberry as a table wedge.
 
Joined
Jun 13, 2012
Messages
101 (0.05/day)
Likes
4
System Name New gaming rig
Processor Core i7 3700k
Motherboard ASUS Sabertooth z77
Cooling Noctua NH-D14
Memory 4x4GB Corsair Vengeance LP 1600MHz
Video Card(s) ASUS GTX 680 DirectCU II
Storage 1x OCZ Agility 3 (240GB) + 2x Seagate Barracuda (2TBx2) + 1 2TB HDD for backups
Display(s) Yamakasi Catleap 1440p monitor
Case Coolermaster HAF 932 Advanced
Audio Device(s) ASUS Xonar DX
Power Supply Corsair AX850
Software Windows 7 HP 64-bit
#3
Re-encoding is the only reliable option. The other option (way less reliable) is to cough up cash (because the free ones never work correctly and format compatibility is nill) for a DLNA media server software and stream from the PC leaving the raspberry as a table wedge.
Is there any way that you know of to encode and stream a file in real time? And what would be the advantages of having a DLNA server? How would that solve my problem?
 
Joined
Jun 13, 2012
Messages
101 (0.05/day)
Likes
4
System Name New gaming rig
Processor Core i7 3700k
Motherboard ASUS Sabertooth z77
Cooling Noctua NH-D14
Memory 4x4GB Corsair Vengeance LP 1600MHz
Video Card(s) ASUS GTX 680 DirectCU II
Storage 1x OCZ Agility 3 (240GB) + 2x Seagate Barracuda (2TBx2) + 1 2TB HDD for backups
Display(s) Yamakasi Catleap 1440p monitor
Case Coolermaster HAF 932 Advanced
Audio Device(s) ASUS Xonar DX
Power Supply Corsair AX850
Software Windows 7 HP 64-bit
#4
I *might* have solved using XBMC and putting this code in the Users\<your_user_name>\AppData\Roaming\XBMC\userdata\advancedsettings.xml file:
Code:
<advancedsettings>
  <network>
    <cachemembuffersize>0</cachemembuffersize>  
  </network>
</advancedsettings>
 
Joined
Oct 26, 2011
Messages
419 (0.19/day)
Likes
116
Processor Intel i7-3820 @ 4.5GHz
Motherboard Gigabyte X79-UD7
Cooling Thermaltake Water Pro 2.0
Memory 16GB DDR3 1866
Video Card(s) Leadtek GeForce GTX 670 Reference
Storage Intel SSD530 120GB OS/BOOT, various mechanical drives for storage
Display(s) 2x Dell U2311H
Case Lian-Li PC-V1000
Audio Device(s) ASUS Xonar Essence ST
Power Supply Cooler Master Silent Pro Modular 600W
Software Windows 7 Ultimate x64 SP1
#5
Isn't this exactly what PS3 Media server does? Basically take any sort of movie from your PC and encode on the fly to a format and bitrate that's playable on PS3. The bitrate and other codec-specific parameters can even be adjusted in the expert mode menus.
 
Joined
Jun 13, 2012
Messages
101 (0.05/day)
Likes
4
System Name New gaming rig
Processor Core i7 3700k
Motherboard ASUS Sabertooth z77
Cooling Noctua NH-D14
Memory 4x4GB Corsair Vengeance LP 1600MHz
Video Card(s) ASUS GTX 680 DirectCU II
Storage 1x OCZ Agility 3 (240GB) + 2x Seagate Barracuda (2TBx2) + 1 2TB HDD for backups
Display(s) Yamakasi Catleap 1440p monitor
Case Coolermaster HAF 932 Advanced
Audio Device(s) ASUS Xonar DX
Power Supply Corsair AX850
Software Windows 7 HP 64-bit
#6
Isn't this exactly what PS3 Media server does? Basically take any sort of movie from your PC and encode on the fly to a format and bitrate that's playable on PS3. The bitrate and other codec-specific parameters can even be adjusted in the expert mode menus.
Thanks for the info, but thinking again I didn't need to change the bitrate, as I can play about any 10-15GB 1080p movies I throw at it. The issue was that MPC-HC didn't keep as much buffer as XBMC with the advancedsettings tweaks does. Basically with this tweak, XBMC downloads the entire file on the go and plays it while doing so. This way, I always have 1-2 minutes in the cache ready to be streammed, even when there is a lot of action.