Re: [FFmpeg-user] ffmpeg script

2018-02-10 Thread Steve Boyer
On Sat, Feb 10, 2018 at 6:46 AM, Shaun Nixon wrote: > Thanks Steve, you have been superhelpful. > the find statement works well, it scans looking for .ts files just like I > wanted. > I am using the find.sh script you developed to call a seperate script to > run ffmpeg and then pull closed captio

Re: [FFmpeg-user] ffmpeg script

2018-02-10 Thread Shaun Nixon
Thanks Steve, you have been superhelpful. the find statement works well, it scans looking for .ts files just like I wanted. I am using the find.sh script you developed to call a seperate script to run ffmpeg and then pull closed caption. it seems to be working well right now. will work on removing

Re: [FFmpeg-user] ffmpeg script

2018-02-09 Thread Steve Boyer
On Thu, Feb 8, 2018 at 9:27 PM, Shaun Nixon wrote: > Hi Steve, > so i created 2 scripts: > > find.sh > #! /bin/bash > find ~/Plex-Drives/TV/TV/ -iname '*.ts' -type f -execdir > ~/Plex-Drives/TV/TV/script.sh "{}" \; > > script.sh > #!/bin/bash > if [ ! -e lock ]; > then touch lock; > if ffmpeg -y

Re: [FFmpeg-user] ffmpeg script

2018-02-08 Thread Carl Zwanzig
On 2/8/2018 7:27 PM, Shaun Nixon wrote: script.sh #!/bin/bash if [ ! -e lock ]; then touch lock; if ffmpeg -y -i "$1" -vf scale=-1:720 -c:v libx264 -crf 23 -preset ultrafast -c:a copy $(basename "$1" .ts) "$1.mp4"; then ccextractor "$1" -o "$(basename "$1" .ts).srt" #rm "$1"; fi fi when i

Re: [FFmpeg-user] ffmpeg script

2018-02-08 Thread Shaun Nixon
Hi Steve, so i created 2 scripts: find.sh #! /bin/bash find ~/Plex-Drives/TV/TV/ -iname '*.ts' -type f -execdir ~/Plex-Drives/TV/TV/script.sh "{}" \; script.sh #!/bin/bash if [ ! -e lock ]; then touch lock; if ffmpeg -y -i "$1" -vf scale=-1:720 -c:v libx264 -crf 23 -preset ultrafast -c:a copy $(b

Re: [FFmpeg-user] ffmpeg script

2018-02-08 Thread Shaun Nixon
Thanks again. Can't wait to get home tonight fire up Mint and try it out. Good call on #rm for now On Feb 8, 2018 9:11 AM, "Steve Boyer" wrote: > On Thu, Feb 8, 2018 at 7:13 AM, Shaun Nixon > wrote: > > > thanks, appreciate the help Steve: > > I am at work at present and will try your suggesti

Re: [FFmpeg-user] ffmpeg script

2018-02-08 Thread Steve Boyer
On Thu, Feb 8, 2018 at 7:13 AM, Shaun Nixon wrote: > thanks, appreciate the help Steve: > I am at work at present and will try your suggestions when i get home > tonight; however, does this seem to make sense. Likewise, at work without access to my Linux boxes. Untested code follows. > > Two s

Re: [FFmpeg-user] ffmpeg script

2018-02-08 Thread Shaun Nixon
thanks, appreciate the help Steve: I am at work at present and will try your suggestions when i get home tonight; however, does this seem to make sense. Two scripts 1) has the ' *find -iname '*.ts' -type f -execdir /path/to/script.sh "{}" \;*' data and calls script.sh. 2) s

Re: [FFmpeg-user] ffmpeg script

2018-02-07 Thread Steve Boyer
On Wed, Feb 7, 2018 at 9:24 PM, Steve Boyer wrote: > > On Feb 7, 2018 6:37 PM, "Shaun Nixon" wrote: > > i am working on an FFmpeg Bash script in linux. > I am currently using HD Homerun which downloads ,TS files or transport > stream which is a container with an mpeg2 inside with a closed captio

Re: [FFmpeg-user] ffmpeg script

2018-02-07 Thread Steve Boyer
On Feb 7, 2018 6:37 PM, "Shaun Nixon" wrote: i am working on an FFmpeg Bash script in linux. I am currently using HD Homerun which downloads ,TS files or transport stream which is a container with an mpeg2 inside with a closed caption steam for the subtitles. Plex media server will not recognize

[FFmpeg-user] ffmpeg script

2018-02-07 Thread Shaun Nixon
i am working on an FFmpeg Bash script in linux. I am currently using HD Homerun which downloads ,TS files or transport stream which is a container with an mpeg2 inside with a closed caption steam for the subtitles. Plex media server will not recognize the closed caption though VLC will. my soluti