> Thanks John,
>
> Your mythffmpeg command line seems to do the trick - I can now cut the adverts form my recordings and rebuild the seektable after the transcode.
>
> I've been modifying Jay Harbeston's ffcut.sh script, since when I first tried it, it didn't work at all with my h264 recordings - I also had to modify his sql commands, since they didn't work for me (as the user I ran the script as, in testing, does not have a mysql account), then I had to modify the ffmpeg commands for h264. My final task, since someone suggested that it isn't a good idea to directly modify the sql database from these scripts will be to use mythutil and mythcommflag in place of the sql commands.
>
I have since created a python version of the script that no longer has to deal with all the user /password problems as well as file permissions problems.
https://pastebin.com/UhW637Wv?
In addition , it will perform cuts based on what has been defined when editing on any transport stream files no matter what type.
mythffmpeg does is copy from the original files to the new file made up of the cut segments from editing. You shouldn’t need to do anything to them unless you are converting the video at the same time.
.
> I'll be happy to share my version of the script, so long as Jay has no objections (I'll make sure I'll credit him in the script for the 99% of the work he did)
I don’t mind if you share you versions.
I do want to keep my version separate since it does not alter the video stream in any way except for removing the defined cuts, no matter what type of video is in the TS file.
Regards!
Jay
>
> Your mythffmpeg command line seems to do the trick - I can now cut the adverts form my recordings and rebuild the seektable after the transcode.
>
> I've been modifying Jay Harbeston's ffcut.sh script, since when I first tried it, it didn't work at all with my h264 recordings - I also had to modify his sql commands, since they didn't work for me (as the user I ran the script as, in testing, does not have a mysql account), then I had to modify the ffmpeg commands for h264. My final task, since someone suggested that it isn't a good idea to directly modify the sql database from these scripts will be to use mythutil and mythcommflag in place of the sql commands.
>
I have since created a python version of the script that no longer has to deal with all the user /password problems as well as file permissions problems.
https://pastebin.com/UhW637Wv?
In addition , it will perform cuts based on what has been defined when editing on any transport stream files no matter what type.
mythffmpeg does is copy from the original files to the new file made up of the cut segments from editing. You shouldn’t need to do anything to them unless you are converting the video at the same time.
.
> I'll be happy to share my version of the script, so long as Jay has no objections (I'll make sure I'll credit him in the script for the 99% of the work he did)
I don’t mind if you share you versions.
I do want to keep my version separate since it does not alter the video stream in any way except for removing the defined cuts, no matter what type of video is in the TS file.
Regards!
Jay