View Full Version : VC-1 to Anything else!
Taqyon
2nd August 2009, 02:28
Hi all
I've spent the entire evening rummaging through forums and downloading about 20 tools that either refuses or just crashes when I try to convert my VC-1 video stream file.
I've extracted it from an m2ts file. My PS3 refuses to play VC-1 video through PS3 Media Streamer, so I need to convert it into H.264 or MPEG2.
It appears to be a simple requirement, but I can't find a single tool that can do it?
Please any help appreciated?
Many thanks
LoRd_MuldeR
2nd August 2009, 02:45
What about FFmpegSource2 ???
http://forum.doom9.org/showthread.php?t=127037
You should be able to use this to feed your VC1 stream into any application that supports Avisynth input...
neuron2
2nd August 2009, 03:20
If you have a supported Nvidia card:
DGVC1DecNV
Revgen
2nd August 2009, 06:28
In addition to what Neuron2 said, DGVC1DecNV compatible video cards like the 8400GS are pretty cheap. You can find some online for 30 bucks.
Taqyon
2nd August 2009, 11:55
Thanks a mil, I'm going to try it out a bit later.
Taqyon
4th August 2009, 09:55
Wow I feel a bit out of my depth. Ive' read up on AviSynth and installed 2.5 but can't get Windows Media Player or VCL to play avs scripts, let alone getting the FFmpegSource2 plugin to work.
I've tried the DGVC1DecNV, but despite having a VP2 card (8500 GT) I get dll errors (entry points not found for certain procedures) etc.
Anybody care doing some spoon feeding? :)
Out of interest - is DGVC1DecNV much faster than any other route since it's doing to decoding through hardware?
Revgen
4th August 2009, 10:30
^Would you mind posting a sample of your source?
Neuron2, myself, and others can check it out and see if we're having the same problem you're having.
neuron2
4th August 2009, 13:26
I've tried the DGVC1DecNV, but despite having a VP2 card (8500 GT) I get dll errors (entry points not found for certain procedures) etc. You need to give the exact errors you encounter, and say exactly what steps you did that led to them. There are many people using DGVC1DecNV successfully.
Taqyon
4th August 2009, 13:40
Hi
I see VirtualDub van load avs files, not WM Player as documented in AviSynth.
My test.avs file:
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
AVISource("e:\movies\MyBluRay.vc1")
LoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
AVISource("e:\movies\MyBluRay.m2ts")
Neither works, I get an unable to open error, yet the plugin seems to be loading ok.
Maybe I should use FFVideoSource() or FFIndex() in stead of AVISource, but I've got no idea what parameters to give.
Thanks again
neuron2
4th August 2009, 13:46
You can't open M2TS or raw VC1 with AVISource()!
I can help you with DGVC1DecNV. Tell me what errors you run into with that.
For the others, read the documentation.
Taqyon
4th August 2009, 14:13
I initially thought AVISource() will load the stream with the correct plugin, but later realised each plugin has it's own functions. I've changed my script toLoadPlugin ("C:\Program Files\AviSynth 2.5\plugins\ffms2.dll")
FFVideoSource("e:\movies\Dark Knight.track_4113.vc1") but VirtualDub just hangs.
Neuron2, when i launch DGVC1IndexNV.exe I get "The procedure entry point cuD3D9CtxCreate could not be located in the dynamic library nvcuda.dll. I've tried the NVbeta5 release, but it does not contain nvcuvid.dll at all.
Thanks
JEEB
4th August 2009, 14:14
ffvideosource("hoge.m2ts")
should work for the m2ts file. It will generate the index automagically, which might take some time. Make sure you wait some time while it does its work and if it stops at that for a long time - then it might've hanged (hint: it takes some time to index gigabytes of video).
Also, this (http://forum.doom9.org/showpost.php?p=1310964&postcount=580) post contains the build that seems to fix some VC-1 issues that were around.
If it fails, give DGVC1DecNV a try.
Taqyon
4th August 2009, 14:23
Thanks Jeeb, I eventually got an error on the VC-1 load : AviSynth open failure: Video Track is unseekable.
Trying m2ts file.
Would love the get DGVC1DecNV going too.
EDIT: I get a codec error opening m2ts with FFVideoSource(). "AviSynth open failure: FFVideoSrouce: Could not open video codec".
neuron2
4th August 2009, 14:33
Neuron2, when i launch DGVC1IndexNV.exe I get "The procedure entry point cuD3D9CtxCreate could not be located in the dynamic library nvcuda.dll. I've tried the NVbeta5 release, but it does not contain nvcuvid.dll at all. Make sure you have the latest Nvidia driver installed:
http://www.nvidia.com/Download/index.aspx?lang=en-us
Also, your error suggests that you don't have NV beta 5, as that version no longer calls any D3D9 functions. Try re-downloading it.
As the readme explains, you need to use the nvcuvid.dll that in installed by Nvidia, so it is no longer included in my distribution.
TheFluff
4th August 2009, 14:34
For VC-1 in ts/m2ts to work properly with ffms2 you need the very latest beta, see the last few posts in its forum thread.
e: if you want sane results you will probably also want Haali's splitter installed.
Taqyon
4th August 2009, 14:41
Thanks TheFluff
I am indeed running FFmpegSource-2.00b10.
EDIT: Oh wait I see there's a special build for m2ts. Trying now...
Taqyon
4th August 2009, 15:12
Still no-go. I get FFVideoSource: Could not open video codec.
I have installed MatroskaSplitter.exe
Help!
Taqyon
4th August 2009, 15:26
Thanks Neuron2, going to download the latest drivers. Excited!
neuron2
4th August 2009, 15:30
I just released NV beta 6 with integrated GPU resizing:
http://neuron2.net/dgavcdecnv/NVbeta6.zip
Taqyon
4th August 2009, 16:30
ffvideosource("hoge.m2ts")
should work for the m2ts file. It will generate the index automagically, which might take some time. Make sure you wait some time while it does its work and if it stops at that for a long time - then it might've hanged (hint: it takes some time to index gigabytes of video).
Also, this (http://forum.doom9.org/showpost.php?p=1310964&postcount=580) post contains the build that seems to fix some VC-1 issues that were around.
If it fails, give DGVC1DecNV a try.
Thanks JEEB though still same codec error trying to open the m2ts file. This is using FFMS2_vc1_fix3_test.
JEEB
4th August 2009, 18:27
Try remuxing the stream into mkv first (eac3to seems to be able to do it), and only then loading it. If even that fails (and even if it works), post a bug report on the issues tracker (http://code.google.com/p/ffmpegsource/issues/list), with a short piece of the M2TS file that fails linked (cut the file with a transport stream cutter and upload it to, say, mediafire.com - if google doesn't wish you add files to the issues) and with some text explaining your problem.
Also, posting on the ffms thread about it after that saying you have opened an issue would probably work.
setarip_old
4th August 2009, 19:39
@Taqyon
Hi!
Since moderator "neuron2" has posted to this thread, I guess it's alright for me to do the same.
"AVCHDCoder" should do what you require...
Taqyon
4th August 2009, 20:44
Hi
Tried AVCHDCoder, but no avail. It does not seem to recognize the video stream. It can't read the bit-rate and if I try to encode I get a muxing error.
Works fine with M2TS files that has MPEG2 video streams.
rack04
4th August 2009, 22:15
How did you extract the vc1 stream from m2ts? Maybe the file is corrupt.
Taqyon
4th August 2009, 22:23
Taking JEEB's advice, I muxed into a MKV, plays perfectly in VideoLan and VirtualDub!!
I'm going to try to recode into H.264 now.
rica
4th August 2009, 22:54
Create a script like this after you got *.dgv:
LoadPlugin("C:\users\rica\desktop\DGVC1\DGVC1DecodeNV.dll")
VC1Source("G:\City\video_out.dgv")
optional line if you downconvert it:
LanczosResize(720,480)
And finally;
For converting to h264:
Run CUVID Server and serve that AVS file to MeGui and select the profile. (h264_DXVA HD HQ or h264_DXVA SD HQ fi)
And finally;
For converting to mpeg2:
Run CUVID Server and Open that avs file with HC022 and convert it to mpeg2.
_ _ _ _ _ __
setarip_old
4th August 2009, 23:10
@TaqyonI've extracted it from an m2ts file.I was suggesting (Perhaps not too clearly) that you use "AVCHDCoder" with your original .M2TS file, not just the VC-1 raw stream...
neuron2
4th August 2009, 23:17
Create a script like this after you got *.dgv He apparently balked at the donation.
Taqyon
4th August 2009, 23:19
@setarip_old: Thanks again, but I did use the original .m2ts file, AVCHDCoder did not want to have anything to do with my .vc1 file.
@rica: Thanks, that's a whole new avenue that I'll go into if I don't have any luck with FFmpegSource. I'm going to try your megui advice though.
Taqyon
4th August 2009, 23:21
He apparently balked at the donation.
Not at all, just trying my options. I don't mind paying for a good product at all.
rica
4th August 2009, 23:21
He apparently balked at the donation.
Seems so :)
Taqyon
4th August 2009, 23:32
Guys c'mon I'm not that cheap! ;) Just need something that works. For now, I can see right away FFmpegSource2 is working so far. If not, I'll go for DGVC1DecNV.
Thanks for the great help so far.
neuron2
4th August 2009, 23:35
I was just notifying rica that you were not pursuing the DGVC1DevNV path, not suggesting that you are cheap.
rack04
4th August 2009, 23:37
Guys c'mon I'm not that cheap! ;) Just need something that works. For now, I can see right away FFmpegSource2 is working so far. If not, I'll go for DGVC1DecNV.
Thanks for the great help so far.
You never answered my previous question. How did you extract the vc1 from the m2ts? If done incorrectly this could be causing your problems.
Taqyon
4th August 2009, 23:40
I was just notifying rica that you were not pursuing the DGVC1DevNV path, not suggesting that you are cheap.
There was no balking involved :rolleyes:
Taqyon
4th August 2009, 23:43
You never answered my previous question. How did you extract the vc1 from the m2ts? If done incorrectly this could be causing your problems.
Sorry I assumed my reply would make it clear, should've been more specific.
I used tsMuxer, creating separate video (vc-1) and audio (ac3) streams. When I muxed the VC-1 stream back into MKV it played fine on VLC, so I'm now recoding with mediacoder.
rica
4th August 2009, 23:45
Just a misunderstanding.
Who told you are cheap?
Don't hesitate to PM to neuron to ask an experimental key for his SW. I believe he's gonna send one to you.
BTW check out the last post of my old thread; you'll get what i mean:
http://forum.doom9.org/showthread.php?p=1222387#post1222387
_ _ _ _ _ __
rack04
4th August 2009, 23:46
Sorry I assumed my reply would make it clear, should've been more specific.
I used tsMuxer, creating separate video (vc-1) and audio (ac3) streams. When I muxed the VC-1 stream back into MKV it played fine on VLC, so I'm now recoding with mediacoder.
AFAIK, tsMuxeR cannot audio overlaps on seemless branching m2ts. I would recommend you use eac3to to extract the vc1 and mux to mkv. Or invest in DGIndexNV tools to index and decode the raw vc1.
Taqyon
5th August 2009, 00:00
AFAIK, tsMuxeR cannot audio overlaps on seemless branching m2ts. I would recommend you use eac3to to extract the vc1 and mux to mkv. Or invest in DGIndexNV tools to index and decode the raw vc1.
Eek ok, will wait for this finish and if it's messing about with the audio I'll do eac3to.
Taqyon
5th August 2009, 00:01
Rica / Neuron2, is DGIndexNV much faster in decoding vs. other methods?
rica
5th August 2009, 00:06
Rica / Neuron2, is DGIndexNV much faster in decoding vs. other methods?
Why don't you give it a go by yourself, i told what you should do, i guess?
Taqyon
5th August 2009, 00:13
I haven't purchased DGIndexNV yet, and the speed is a factor in my decision.
rica
5th August 2009, 00:17
I haven't purchased DGIndexNV yet, and the speed is a factor in my decision.
Do you remember this?
Don't hesitate to PM to neuron to ask an experimental key for his SW. I believe he's gonna send one to you.
This is how you are gonna be able to test and decide by yourself.
Taqyon
5th August 2009, 00:21
Yea unfortunately an experimental key does not appear to be an option.
No worries, off to bed, PC crunching...
roozhou
5th August 2009, 14:51
@Taqyon
The easiest way of transcoding to H264 is MediaCoder.
You don't have to care about which codec or the container format your source video uses. MEncoder would accept everything.
setarip_old
5th August 2009, 20:03
@TaqyonI've extracted it from an m2ts file.Considering all the difficulty you're having, perhaps more assistance could be provided if you'd be good enough to tell us the title of your original source material (presumably a BluRay disc) and what software and procedures you used to rip it...
Taqyon
6th August 2009, 08:27
@Taqyon
The easiest way of transcoding to H264 is MediaCoder.
You don't have to care about which codec or the container format your source video uses. MEncoder would accept everything.
I love MediaCoder but I only use it for non-HD encoding. Most of the time (including this case) it fails or just hangs up.
Taqyon
6th August 2009, 08:31
@TaqyonConsidering all the difficulty you're having, perhaps more assistance could be provided if you'd be good enough to tell us the title of your original source material (presumably a BluRay disc) and what software and procedures you used to rip it...
Nothing specific. Only media with VC-1 video encoding presents a problem when I want to stream it to my PS3, hence the need to transcode.
However I have had some success yesterday when I repacked the feed into an MKV and use PS3 Media Server to stream it with MEncoder transcoding. TrueHD and all.
I'll confirm the process tonight and post it here if it will help anybody.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.