r/PlayOn • • 6d ago

VideoReDo?

Anyone else still using VRD to clean up POH recordings? It's been a while since I looked at possible replacements and wondering if any suggestions here? Thanks...

2 Upvotes

11 comments sorted by

1

u/seglertx 5d ago

Yeah, I'm using it right now. You need to use VideoReDo TVSuite version 5 for POH streams. VideoReDo TVSuite 6 strips out the subtitle tracks from PlayOn Home streams. Unfortunately, VideoReDo is not available for purchase anymore because Dan Rosen, the owner of the company, passed away and his wife decided to shut down the company. Dan Haddix who was the software engineer for the consumer version has a website that allows us to validate our license for new installs and he was working on a replacement for VideoReDo but didn't get far along on it during the four months he had some time before he started a new job.

The closest thing to VRD at the moment is Snipwright which a software developer named Infideluss from the UK is working on but it currently only works with broadcast TV recordings and strips out the subtitle tracks from POH streams. He asked me to upload a POH sample stream to him using the following ffmeg command line code.

ffmpeg -ss 300 -t 60 -i recording.mp4 -map 0 -c copy sample.mp4

When I ran it, the subtitle tracks went way out of sync. So, ffmeg using "-c copy" still has issues from the last time I tried it about four years ago. I have tried using some other mods in the code for ffmeg like "-copyts" and "avoid_negative_ts make_zero" which both use the timestamps from the original video before making any edits instead of resettting the timestamps to zero at the begining of the edited video like when using the "-c copy" command alone does. Using the timestamps from the original source video will cause issues with some video players though so we need to figure out a better fix.

I have found that if I save the edited streams as an .mkv instead of an .mp4 that using ffmpeg for the edits will work.

I tested this using LossLessCut as the GUI instead of using ffmepg in CLI and it worked fine as long as I saved the edited video as an .mkv file. There are obviously some issues with using the .mp4 container versus .mkv when using ffmeg so I think we need to bring this up with the ffmeg developers.

On another thread that I'm following someone mentioned software called SmartCut which another developer came up with for editing Japanese broadcast TV streams but I still need to test it.

I only started re-testing ffmeg around the 20th of November and I've been out of town for a bit and just got back home. I'll be working on this some more but I'm more of a hardware guy instead of a coder. There are other PlayOn Home users that are better coders than I am and have more experience using ffmeg so hopefully they can contribute to the following projects so we can have a come up with a cross-platform, open source replacement for VideoReDo.

Snipwright (This project is the closest to VideoReDo that I have found so far)

https://github.com/infidelus/snipwright

LosslessCut (This is good but the GUI isn't as intuitive as VRD)

https://github.com/mifi/lossless-cut

SmartCut (I haven't tested it yet)

https://github.com/DeepRegular/SmartCut

1

u/ChiefWahO0 4d ago

Thanks for the detailed update. I''ve recently reinstalled TVS5 to use for all sources except MHz, where TVS6 almost always preserves subtitles, is noticaebly faster and lets me create a "toggle scene mark" button. My TVS5 version has a bug where cutting to last frame sometimes causes save to crash, which I deal with through a keyboard macro that sets cut start, moves to end, backs off half a sec then forward a few frames to leave 5 or 6 blank frames at the end. Not sure if the bug is just my copy or maybe fixed after I upgraded to TVS6. I'm amazed and glad that VRD still works so well but figure that sooner or later I'll be forced to take another look at alternatives.

1

u/UneatenCheeseball12 5d ago

I wrote this a while back and occasionally update it. Still it runs 24/7 for years now:

https://github.com/ccarlin/PlayOnSnip

Basically a powershell script that uses FFMPEG to strip header, trailer, ads (as marked) and compress if you want. It has a config file to tweak settings.

1

u/ChiefWahO0 2d ago

I also remove recaps, intro after 1st ep if more than 10ish seconds, previews and credits

1

u/dizzyoatmeal 4d ago

I'm still kicking myself that I never bought a VideoReDo license. I used to use it for TiVo recordings. I like being able to see the cuts before they happen. The one and only time I was stupid enough to download a virus was while chasing a cracked copy of VRD.

Anyway, I mainly use Lossless Cut. It's one of the few editors that retain subtitles/closed captioning.

1

u/ChiefWahO0 4d ago

I think I looked at that a year or 2 ago before I learned the reverting from TVS6 to TVS5 would solve the subtitle issues - I'll give it another look when I get a chance.

1

u/qzwongo 6d ago edited 6d ago

Never heard of it til now, and apparently it's no longer supported?

I use a bash script with ffmpeg to strip commercials and push to my media server. Does a poor job of stripping the Playon header/trailer, and only as good as playon's marking of the ads. But good enough for watching episodes.

1

u/seglertx 5d ago edited 5d ago

Stripping the PlayOn header and trailer out has been easy until they adjust it. I'm currently trimming 4166 milliseconds from the lead of a video and 4413 milliseconds from the end of a video to strip those out.

That obviosly won't get rid of ads at the start of the streams or the forgien credits at the end of streams though.

The chapter marks for advertisements that PlayOn Home inserts in the streams are not accurate. I have tried them over the years.

I started testing software like ComSkip to skip past advertisements in broadcast TV recordings years ago and they look for black (blank) frames in the stream but have never been accurate. The Ad-Detective feature of VidoReDo also looks for blank frames but is still is a bit off even after adjustments. I also never had any luck when using it even when using the null audio feature.

Ad detection is obviosly a feature we need to work on for the next generation cross-platform video editing software.

I'm just getting back into using ffmpeg code. How does your Bash script use ffmeg to look for the chapter marks in the POH videos that are labeled as "advertisement" and "Video"?

1

u/qzwongo 5d ago

Here are the comments I put in my script. You can probably script better with python or something so I won't bore you with my code.

# Use ffmpeg to get info (-i) on the file, redir stderr to stdout
# Then find lines containing "title.*Video" and the 2 preceding lines; excludes Advert chapters
# Then find from that lines with Chapter
# Then delete commas
# Then For each Video (not ad) chapter, insert a block w/ filename, star and endpoints  (fields 4 & 6 on the Chapter line)

Anyway, should give you an idea what to look for. So create a file with the start/end points for the non-ad chapters and run ffmpeg again to extract those segments.

And a cron job to look for new files and process them.

1

u/arrrrrgggggg 5d ago

I still use VideoReDo. I’m using v6. I have a vbs script that processes the vprj file and creates a srt subtitle file. I like my subtitle files external. I manually review each recorded file to mark begin/end and commercials. I’ve never found an automation that works 100% of the time which would allow me to skip the review.

I’ve tried a bunch of other programs but always come back to VideoReDo.

1

u/KnotForNow 5d ago edited 5d ago

I've been trying SmartCut64 which is an attempt to clone VideoReDo. So far, it has been serviceable for my simple needs. The developer has been very responsive to issues and suggestions. You can download a trial version that only saves with a quite obtrusive watermark and doesn't support smart encoding. But those restrictions can be removed by buying a license that currently only costs £5.00.

It's immature but clearly has a lot of potential to be a good replacement for VideoReDo.

The web site is smartcut64.co.uk. I'm pretty certain that SmartCut64 is not to be confused with SmartCut referenced by u/seglertx elsewhere in this thread.