FFmpeg can now demux WTV ... helpful for Comskip?

Here you can ask your questions on how to use Comskip for the detection of commercials. Also questions on how to remove commercials are welcome
Post Reply
TonyXL
Posts: 7
Joined: Sat Feb 05, 2011 5:04 am

FFmpeg can now demux WTV ... helpful for Comskip?

Post by TonyXL »

I saw an earlier post where you state WTV support would have to wait until someone reverse engineered WTV. The latest FFmpeg (http://ffmpeg.arrozcru.org/autobuilds/) can demux WTV! From the changelog:

- Windows Televison (WTV) demuxer

I tried it and it was able to extract the audio and video streams from one of my WTV's. I would be very grateful if you could take a look at the FFmpeg source if you get a chance.

Thanks!
-Tony
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: FFmpeg can now demux WTV ... helpful for Comskip?

Post by erik »

Will do!
erik
Site Admin
Posts: 3368
Joined: Sun Aug 21, 2005 3:49 pm

Re: FFmpeg can now demux WTV ... helpful for Comskip?

Post by erik »

I build ffmpeg from the latest sources but it crashes on all .wtv files I have.
So progress will be slow.
TonyXL
Posts: 7
Joined: Sat Feb 05, 2011 5:04 am

Re: FFmpeg can now demux WTV ... helpful for Comskip?

Post by TonyXL »

Hi Erik, thanks for trying so quickly.

Here is a WTV that I was able to demux (1 minute USA clear QAM mpeg2):
http://www.megaupload.com/?d=AJ82V1ZO

I used the static binary from Jan 17:
http://ffmpeg.arrozcru.org/autobuilds/f ... -static.7z

Here was my command line:
ffmpeg -i fox.wtv -vcodec copy fox.m2v -acodec copy fox.mp2

Tested playback using:
ffplay fox.m2v
ffplay fox.mp2

Hopefully this is helpful. Let me know if you want different or longer samples.

Thanks,
Tony
Post Reply