Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
平 张
committed
Aug 16, 2018
1 parent
86a9182
commit a21f063
Showing
2 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name" : "cctv.audio.only", | ||
"source" : { | ||
"elements" : { | ||
"souphttpsrc" : { | ||
"property" : { | ||
"is-live" : true, | ||
"location" : "http://tv.cdn.site:9000/flv?app=live&stream=drmcctv3_1_1500" | ||
} | ||
} | ||
}, | ||
"bins" : [ | ||
"souphttpsrc ! flvdemux name=flvdemux", | ||
"flvdemux.audio ! appsink name=audio" | ||
] | ||
}, | ||
"encoders" : [ | ||
{ | ||
"elements": { | ||
"appsrc" : { | ||
"property" : { | ||
"format" : 3, | ||
"is-live" : true | ||
} | ||
}, | ||
"appsink" : { | ||
"property" : { | ||
"sync" : false | ||
} | ||
} | ||
}, | ||
"bins" : [ | ||
"appsrc name=audio ! aacparse ! mpegtsmux ! appsink" | ||
] | ||
} | ||
], | ||
"m3u8streaming" : { | ||
"version" : 3, | ||
"window-size" : 10, | ||
"segment-duration" : 3.00 | ||
}, | ||
"dvr_duration": 86400 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name" : "cctv", | ||
"source" : { | ||
"elements" : { | ||
"souphttpsrc" : { | ||
"property" : { | ||
"is-live" : true, | ||
"location" : "http://tv.cdn.site:9000/flv?app=live&stream=drmcctv3_1_1500" | ||
} | ||
} | ||
}, | ||
"bins" : [ | ||
"souphttpsrc ! flvdemux name=flvdemux", | ||
"flvdemux.video ! appsink name=video", | ||
"flvdemux.audio ! appsink name=audio" | ||
] | ||
}, | ||
"encoders" : [ | ||
{ | ||
"elements": { | ||
"appsrc" : { | ||
"property" : { | ||
"format" : 3, | ||
"is-live" : true | ||
} | ||
}, | ||
"appsink" : { | ||
"property" : { | ||
"sync" : false | ||
} | ||
} | ||
}, | ||
"bins" : [ | ||
"appsrc name=video ! h264parse ! muxer.", | ||
"appsrc name=audio ! aacparse ! muxer.", | ||
"mpegtsmux name=muxer ! queue ! appsink sync=FALSE" | ||
] | ||
} | ||
], | ||
"m3u8streaming" : { | ||
"version" : 3, | ||
"window-size" : 10, | ||
"segment-duration" : 3.00 | ||
}, | ||
"dvr_duration": 86400 | ||
} | ||
|