Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
troubleshooting:creating_a_sample [2019/06/13 00:47]
neds created
troubleshooting:creating_a_sample [2022/10/18 23:06] (current)
neds
Line 1: Line 1:
 ====== Saving a 30 second video clip for troubleshooting problems ====== ====== Saving a 30 second video clip for troubleshooting problems ======
 +<btn type="​success"​ size="​xs"​ icon="​fa fa-chevron-left">​[[:​Troubleshooting|Go back to all troubleshooting topics]]</​btn>​
  
-==== Windows ==== +===== Windows ​===== 
-=== Save virtual channel ===+<WRAP indent>
  
-Launch ​Windows ​PowerShell and run: <​code>​Invoke-WebRequest http://<​ip address of hdhomerun>:​5004/​auto/​v<​virtual channel ​number>?​duration=30 -OutFile <​filename>​</code>+==== Windows - Save virtual channel ==== 
 +<WRAP indent>
  
-Example: <​code>​Invoke-WebRequest ​http://192.168.0.100:5004/auto/v2.1?​duration=30 ​-OutFile test.mpg</​code>​+Paste a URL into your web browser and save the resulting file: <​code>​http://​hdhomerun.local:5004/auto/v<​virtual channel number>?​duration=30</​code>​
  
 +The "​hdhomerun.local"​ address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "​device ID"​+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that.
  
-=== Save unfiltered physical channel ===+Examples:  
 +  * <​code>​http://​hdhomerun.local:​5004/​auto/​v2.1?​duration=30</​code>​ 
 +  * <​code>​http://​104fffff.local:​5004/​auto/​v2.1?​duration=30</​code>​ 
 +  * <​code>​http://​192.168.0.100:​5004/​auto/​v2.1?​duration=30</​code>​
  
-Launch Windows PowerShell and run: 
-<​code>​Invoke-WebRequest http://<​ip address of hdhomerun>:​5004/​auto/​ch<​physical channel number>?​duration=30 -OutFile <​filename></​code>​ 
  
-Example: +</WRAP> 
-<code>​Invoke-WebRequest http://​192.168.0.100:​5004/​auto/​ch7?​duration=30 -OutFile test.mpg</code>+==== Windows ​Save unfiltered physical channel ==== 
 +<WRAP indent>
  
-==== Mac ==== +Paste a URL into your web browser and save the resulting file:  
-=== Save virtual ​channel ===+<​code>​http://​hdhomerun.local:​5004/​auto/​ch<​physical ​channel ​number>?​duration=30</​code>​
  
-Launch ​terminal and run: <​code>​curl http://<​ip ​address of hdhomerun>:​5004/​auto/​v<​virtual channel number>?​duration=30 -o <​filename></​code>​+The "​hdhomerun.local"​ address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "​device ID"​+.local. For example, if you have device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that.
  
-Example: <​code>​curl http://​192.168.0.100:​5004/​auto/​v2.1?​duration=30 ​-o test.mpg</​code>​+Examples 
 +  * <​code>​http://​hdhomerun.local:​5004/​auto/​ch7?​duration=30</​code>​ 
 +  * <​code>​http://​104fffff.local:​5004/​auto/​ch7?​duration=30</​code>​ 
 +  * <​code>​http://​192.168.0.100:​5004/​auto/​ch7?​duration=30</​code>​
  
-=== Mac save unfiltered physical channel ​===+</​WRAP>​ 
 +==== Windows ​Legacy devices ==== 
 +<WRAP indent>
  
-Launch a terminal and run: <code>curl http://<ip address of hdhomerun>:​5004/​auto/​ch<​physical channel ​number>?​duration=30 -o <​filename></​code>​+  - <wrapper>Use [[:HDHomeRun Config]] (GUI) to choose the physical channel.
  
-Example: <​code>​curl http://192.168.0.100:​5004/​auto/​ch7?​duration=30 ​-o test.mpg</​code>​+**NOTE:** Ensure the viewer is not running for the next commands.</​wrapper>​ 
 +  - <​wrapper>​Set the filter: Open a cmd prompt and run: <​code>​"C:\Program Files\Silicondust\HDHomeRun\hdhomerun_config"​ <device id> set /tuner0/filter 0x0000-0x1FFF</​code>​
  
-==== Linux ==== +(replace "<​device id>"​ with the 8-digit device ID of the HDHomeRun)</​wrapper>​ 
-=== Save virtual channel ===+  ​- ​Save the stream to disk: <​code>"​C:​\Program Files\Silicondust\HDHomeRun\hdhomerun_config"​ <device id> save /tuner0 sample.ts</​code>​ 
 +  - Wait 30 seconds and stop the stream by pressing Ctrl-C.
  
-Open a terminal and run: <code>​wget http://<ip address of hdhomerun>:​5004/​auto/​v<virtual channel number>?duration=30 -O <filename></​code>+</WRAP> 
 +</WRAP> 
 +===== Mac ===== 
 +<WRAP indent>
  
-Example: <​code>​wget http://​192.168.0.100:​5004/​auto/​v2.1?​duration=30 -O test.mpg</code>+==== Mac Save virtual channel ==== 
 +<WRAP indent>
  
 +Launch a terminal and run: <​code>​curl "​http://​hdhomerun.local:​5004/​auto/​v<​virtual channel number>?​duration=30"​ -o <​filename></​code>​
  
-=== Save unfiltered physical channel ===+The "​hdhomerun.local"​ address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "​device ID"​+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that.
  
-Open a terminal and run: <​code>​wget http://<ip address of hdhomerun>:5004/auto/ch<physical channel number>?​duration=30 -<filename></​code>​+Examples 
 +  * <​code>​curl "http://​hdhomerun.local:5004/auto/v2.1?​duration=30"​ -o test.mpg</code> 
 +  * <​code>​curl "​http://​104fffff.local:​5004/​auto/​v2.1?​duration=30" ​-o test.mpg</code> 
 +  * <​code>​curl "​http://​192.168.0.100:​5004/​auto/​v2.1?​duration=30"​ -o test.mpg</​code>​
  
-Example: <​code>​wget http://​192.168.0.100:​5004/​auto/​ch7?​duration=30 -O test.mpg</​code>​+</​WRAP>​ 
 +==== Mac - save unfiltered physical channel ==== 
 +<WRAP indent>​ 
 + 
 +Launch a terminal and run: <​code>​curl "​http://​hdhomerun.local:​5004/​auto/​ch<​physical channel number>?​duration=30"​ -o <​filename></​code>​ 
 + 
 +The "​hdhomerun.local"​ address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "​device ID"​+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that. 
 + 
 +Examples:  
 +  * <​code>​curl "​http://​hdhomerun.local:​5004/​auto/​ch7?​duration=30"​ -o test.mpg</​code>​ 
 +  * <​code>​curl "​http://​104fffff.local:​5004/​auto/​ch7?​duration=30"​ -o test.mpg</​code>​ 
 +  * <​code>​curl "​http://​192.168.0.100:​5004/​auto/​ch7?​duration=30"​ -o test.mpg</​code>​ 
 + 
 +</​WRAP>​ 
 +</​WRAP>​ 
 +===== Linux ===== 
 +<WRAP indent>​ 
 + 
 +==== Linux - Save virtual channel ==== 
 +<WRAP indent>​ 
 + 
 +Open a terminal and run<​code>​wget http://​hdhomerun.local:​5004/​auto/​v<​virtual channel number>?​duration=30 -O <​filename></​code>​ 
 + 
 +The "​hdhomerun.local"​ address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "​device ID"​+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that. 
 + 
 +Examples:  
 +  * <​code>​wget http://​hdhomerun.local:​5004/​auto/​v2.1?​duration=30 -O test.mpg</​code>​ 
 +  * <​code>​wget http://​104fffff.local:​5004/​auto/​v2.1?​duration=30 -O test.mpg</​code>​ 
 +  * <​code>​wget http://​192.168.0.100:​5004/​auto/​v2.1?​duration=30 -O test.mpg</​code>​ 
 + 
 +</​WRAP>​ 
 +==== Linux - Save unfiltered physical channel ==== 
 +<WRAP indent>​ 
 + 
 +Open a terminal and run: <​code>​wget http://​hdhomerun.local:​5004/​auto/​ch<​physical channel number>?​duration=30 -O <​filename></​code>​ 
 + 
 +The "​hdhomerun.local"​ address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "​device ID"​+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that. 
 + 
 +Examples:  
 +  * <​code>​wget http://​hdhomerun.local:​5004/​auto/​ch7?​duration=30 -O test.mpg</​code
 +  * <​code>​wget http://​104fffff.local:​5004/​auto/​ch7?​duration=30 -O test.mpg</​code>​ 
 +  * <​code>​wget http://​192.168.0.100:​5004/​auto/​ch7?​duration=30 -O test.mpg</​code>​ 
 + 
 +</​WRAP>​ 
 +</WRAP>
  
 {{tag>​troubleshooting}} {{tag>​troubleshooting}}
  • Last modified: 2019/06/13 00:47