Revision a7177cd5

View differences:

compile_localffmpeg
8 8
echo "------------"
9 9
echo "Compiling..."
10 10

  
11
rm ingestion
12
rm ingestion_CLI
13
rm dechunkization
14
rm dechunkizationVideoQueue
15
rm dechunkizationVideoQueue_CLI
16
rm player
11

  
17 12
rm recondechunk.mpg
18 13
rm original.mpg
19 14

  
......
21 16
rm chunker_player
22 17
rm *.o
23 18

  
24
LOCAL_FFMPEG=./ffmpeg-export-2010-01-04
19
LOCAL_FFMPEG=./ExternalDependancies/ffmpeg-export-2010-01-04
25 20
LOCAL_AVCODEC="$LOCAL_FFMPEG/libavcodec"
26 21
LOCAL_AVDEVICE="$LOCAL_FFMPEG/libavdevice"
27 22
LOCAL_AVFILTER="$LOCAL_FFMPEG/libavfilter"
......
35 30

  
36 31
LOCAL_VIDEO_FLAGS="-lavdevice -lavformat -lavcodec -lavutil -lswscale -lz -lm -lpthread -ldl `sdl-config --libs --cflags` -DHAVE_OPENGL -lbz2 -lmp3lame -lx264"
37 32

  
38
LOCAL_GRAPES="../../../GRAPES"
33
LOCAL_GRAPES="../../GRAPES"
39 34
LOCAL_GRAPES_ENV="-I$LOCAL_GRAPES/ul -I$LOCAL_GRAPES/include -L$LOCAL_GRAPES/som"
40 35
LOCAL_GRAPES_FLAGS="-lsom"
41 36

  
42 37
LOCAL_CURL_ENV=""
43 38
LOCAL_CURL_FLAGS="-lcurl"
44 39

  
45
LOCAL_MHD="./libmicrohttpd"
40
LOCAL_MHD="./ExternalDependancies/libmicrohttpd"
46 41
LOCAL_MHD_ENV="-I$LOCAL_MHD -I$LOCAL_MHD/src/daemon -I$LOCAL_MHD/src/include -L$LOCAL_MHD/src/daemon"
47 42
LOCAL_MHD_FLAGS="-lmicrohttpd"
48 43

  
......
52 47
echo "USING LOCAL ENVIRONMENT $LOCAL_ENV"
53 48
echo "USING LOCAL FLAGS $LOCAL_FLAGS"
54 49

  
55
#gcc $LOCAL_ENV ingestion.c $LOCAL_FLAGS -o ingestion
56
#gcc $LOCAL_ENV ingestion_CLI.c $LOCAL_FLAGS -o ingestion_CLI
57
#gcc $LOCAL_ENV dechunkization.c $LOCAL_FLAGS -o dechunkization
58
#gcc $LOCAL_ENV dechunkizationVideoQueue.c $LOCAL_FLAGS -o dechunkizationVideoQueue
59
#gcc $LOCAL_ENV dechunkizationVideoQueue_CLI.c $LOCAL_FLAGS -o dechunkizationVideoQueue_CLI
60 50
gcc $LOCAL_ENV chunk_puller.c chunker_player.c external_chunk_transcoding.c $LOCAL_FLAGS -g -O0 -o chunker_player
61 51
gcc $LOCAL_ENV chunk_pusher.c chunker_metadata.c external_chunk_transcoding.c chunker_streamer.c $LOCAL_FLAGS -g -O0 -o chunker_streamer
62 52

  
configChunker.txt
1
#use [strategy]:1|2
2
[strategy]
3
numframes:10
external_chunk_transcoding.c
1 1
#include <string.h>
2 2
#include <stdint.h>
3
#include <stdio.h>
3 4

  
4 5
#include "external_chunk_transcoding.h"
5 6

  
external_chunk_transcoding.h
4 4
#include <stdlib.h>
5 5

  
6 6
#include <chunk.h>
7
#include <chunk_external_interface.h>
8 7

  
9 8
#include "external_chunk.h"
10 9

  

Also available in: Unified diff