Skip to content

Commit

Permalink
Merge branch 'a-tze-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed Aug 5, 2017
2 parents 36e2d0c + ee44303 commit 444f8a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
#!/bin/sh

# WARNING: Using '%t' in the output filename requires a patched FFmpeg!
# If this command fails with the message 'Invalid segment filename template',
# you do not have such a FFmpeg version.

ffmpeg \
-y -nostdin \
-i tcp://localhost:11000 \
-ac 2 -channel_layout 2 -aspect 16:9 \
-map 0:v -c:v:0 mpeg2video -pix_fmt:v:0 yuv422p -qscale:v:0 2 -qmin:v:0 2 -qmax:v:0 7 -keyint_min 0 -bf:0 0 -g:0 0 -intra:0 -maxrate:0 90M \
-map 0:v -c:v:0 mpeg2video -pix_fmt:v:0 yuv420p -qscale:v:0 2 -qmin:v:0 2 -qmax:v:0 7 -keyint_min 0 -bf:0 0 -g:0 0 -intra:0 -maxrate:0 90M \
-map 0:a -c:a:0 mp2 -b:a:0 192k -ac:a:0 2 -ar:a:0 48000 \
-flags +global_header -flags +ilme+ildct \
-f segment -segment_time 180 -segment_format mpegts segment-%t-%05d.ts
-f segment -segment_time 180 -segment_format mpegts -strftime 1 segment-%Y-%m-%d_%H-%M-%S.ts
9 changes: 0 additions & 9 deletions example-scripts/ffmpeg/record-mixed-ffmpeg-segmented.sh

This file was deleted.

2 changes: 1 addition & 1 deletion example-scripts/ffmpeg/record-mixed-ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ffmpeg \
-y -nostdin \
-i tcp://localhost:11000 \
-ac 2 -channel_layout 2 -aspect 16:9 \
-map 0:v -c:v:0 mpeg2video -pix_fmt:v:0 yuv422p -qscale:v:0 2 -qmin:v:0 2 -qmax:v:0 7 -keyint_min 0 -bf:0 0 -g:0 0 -intra:0 -maxrate:0 90M \
-map 0:v -c:v:0 mpeg2video -pix_fmt:v:0 yuv420p -qscale:v:0 2 -qmin:v:0 2 -qmax:v:0 7 -keyint_min 0 -bf:0 0 -g:0 0 -intra:0 -maxrate:0 90M \
-map 0:a -c:a:0 mp2 -b:a:0 192k -ac:a:0 2 -ar:a:0 48000 \
-flags +global_header -flags +ilme+ildct \
-f mpegts output.ts

0 comments on commit 444f8a6

Please sign in to comment.