Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<items>
<playlist_name>eventosCL</playlist_name>
<channel>
<title>Papa a la deriva capitulo viernes</title>
<logo_30x30>http://www.mega.cl/v3/website/themes/img/logoMega.png</logo_30x30>
<description>ONLINE</description>
<stream_url><![CDATA[http://edge-81-cl.edge.mdstrm.com/media-cl/_definst_/smil:55b2b4eb7aa7a31a38514cc2/chunklist_b2369000.m3u8?access_token=7bXyvqAQJxcY6xGNYBe5DuygwNsyxHtLSiuUNnR2OCKNhvJzSysgYEXmgBxFLrtaLBGrKVZGbKc]]></stream_url>
</channel>
<channel>
def sumaDosValores( x, y ):
suma = x + y
print ("EL RESULTADO ES %d") %suma
sumaDosValores(4 , 6)
bottles = 99
while bottles > 1:
print "%d bottles of beer on the wall, %d bottles of beer.\nTake one down and pass it around, %d bottles of beer on the wall.\n" % (bottles, bottles, bottles-1)
bottles -= 1
print "1 bottle of beer on the wall, 1 bottle of beer.\nTake one down and pass it around, no more bottles of beer on the wall.\n\nNo more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall.\n"
$( "body" ).html("");
for(var num = 0; num <= 200; num++){
(function (num) {
$.get( url + num + "/Manifest", function( data ) {
$( "body" ).append( "canal" + num + " ok <a href=\"" + url + num + "/playlist.m3u8\">link</a><br>");
});
})(num);
}
@manueldev
manueldev / gist:e6906baec7ce815ad4df
Last active July 21, 2019 07:15
Capturar (grabar) entrada de micrófono, Grabar reproducción, stereo mix... utilizando FFmpeg. Windows.
Descargar Ffmpeg windows ejecutable
32 bit: http://ffmpeg.zeranoe.com/builds/win32/static/ffmpeg-latest-win32-static.7z
64 bit: http://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-latest-win64-static.7z
Abrir simbolo de sistema con privilegios de administrador y ejecutar estos comandos
Agregar ffmpeg al path
setx PATH "%PATH%;C:\reemplazar\esto\con\ruta\al\ffmpeg\y\su\subcarpeta\bin"
Obtener lista de dispositivos de grabación (audio y video).
Go to MEmuHyperv folder
Code:
cd "C:\Program Files\Microvirt\MEmuHyperv"
List MEmu devices and save MEmu device name.
Code:
MEmuManage.exe list vms
List webcam installed on computer and save alias name of webcam to use (".1", ".2", etc).
Code:
@manueldev
manueldev / gist:1a187b9c77826d4b22fd60faa368b928
Created September 27, 2016 07:18
FFmpeg Opus capture segmented
-i ___ -map 0 -c libopus -ab 48k -vbr on -f segment -segment_time 1800 -strftime 1 "__-%Y%m%d_%H-%M-%S.opus"
@manueldev
manueldev / gist:206553c2c84a43e46d095509b143cdc1
Created September 28, 2016 08:51
FFmpeg HE-AACv2 capture VBR 2. Segmented. No time.
ffmpeg.exe -i ___ -c libfdk_aac -profile:a aac_he_v2 -vbr 2 -f segment -segment_time 1800 -reset_timestamps 1 -strftime 1 "__-%Y%m%d_%H-%M-%S.m4a"
@manueldev
manueldev / gist:577d86f290dbfece9f2d5451636f4f69
Created November 30, 2016 07:21
Start Philips CAP713x Video Tuner FM RADIO
start "" "c:\Program Files\VideoLAN\VLC\vlc.exe" dshow://:dshow-vdev="Philips Cap713x Video Capture" :dshow-adev="Line In (Envy24 Family Audio Co" :dshow-aspect-ratio="4\:3" :dshow-chroma= :dshow-fps=0 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=103100000 :dshow-tuner-country=56 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-input=0 :dshow-video-output=0 :dshow-audio-input=1 :dshow-audio-output=3 :dshow-amtuner-mode=2 :dshow-audio-channels=2 :dshow-audio-samplerate=0 :dshow-audio-bitspersample=0 :live-caching=600
start "" "c:\Program Files\VideoLAN\VLC\vlc.exe" dshow://:dshow-vdev="Philips Cap713x Video Capture" :dshow-adev=none :dshow-aspect-ratio="4\:3" :dshow-chroma= :dshow-fps=0 :no-dshow-config :no-dshow-tuner :dshow-tuner-channel=0 :dshow-tuner-frequency=103100000 :dshow-tuner-country=56 :dshow-tuner-standard=0 :dshow-tuner-input=0 :dshow-video-input=0 :dshow-video-output=0 :dshow-audio-input=1 :dshow-audio-output=3 :dshow-amtuner-mode=2 :dshow-audio-chann