To get information about a file (say video.mp4), run the following command. Remember you have to specify an ouput file, but in this case we only want to get some information about the input file.
$ ffmpeg -i movie.mp4 -hide_banner
public class MainActivity extends Activity { | |
private Firebase mRef; | |
private HashMap<Firebase, ValueEventListener> mListenerMap; | |
@Override | |
protected void onStart() { | |
super.onStart(); | |
mRef = new Firebase("https://<your-firebase-app>/myChatRooms/testUser"); |
v1 = ARGV[0] | |
v2 = ARGV[1] | |
puts "Primeiro parametro : #{v1}" | |
puts "Segundo parametro : #{v2}" | |
puts "fim do arquivo." | |
import { Component, Input } from '@angular/core'; | |
import { Router } from '@angular/router'; | |
import { AngularFire, FirebaseListObservable } from 'angularfire2'; | |
import { Observable } from 'rxjs'; | |
declare var firebase: any; | |
interface Image { | |
path: string; |
#include <sys/types.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <event.h> | |
#include <evhttp.h> |
const http2 = require('http2') | |
const server = http2.createSecureServer( | |
{ cert, key }, | |
onRequest | |
) | |
function push (stream, filePath) { | |
const { file, headers } = getFile(filePath) | |
const pushHeaders = { [HTTP2_HEADER_PATH]: filePath } | |
stream.pushStream(pushHeaders, (pushStream) => { | |
pushStream.respondWithFD(file, headers) |