View Full Version : Change the pulldown flag of a VC-1 ES
AEtH
24th August 2007, 08:29
As I wrote, is there any way to change the pulldown flag of a HDDVD compliant VC-1 elementary stream?? I know that the video is 1080p24 with a post-processing pulldown flag, and I want to know if it is possible to change it to an elementary stream without this flag.
I don't want to mux it in a mkv, so the timecodes file does not work for me.
Thanks in advance
crypto
24th August 2007, 20:55
I think that is possible. Its just a bit in the sequence header.
I already thought about that for the vc12avi tool. Currently the avi results in 29.96 fps. Removing the pulldown it would result in 23.976 fps.
zambelli
25th August 2007, 08:22
I think that is possible. Its just a bit in the sequence header.
I already thought about that for the vc12avi tool. Currently the avi results in 29.96 fps. Removing the pulldown it would result in 23.976 fps.
It's more than just in the sequence header - there are also TFF/RFF flags in the bitstream that need to be stripped out, otherwise you might confuse the decoder.
I would guess the most knowledgable person on the subject would be Neuron2 because he wrote DGPulldown for MPEG-2 - and VC-1 pretty much functions exactly the same way.
crypto
25th August 2007, 10:09
It's more than just in the sequence header - there are also TFF/RFF flags in the bitstream that need to be stripped out, otherwise you might confuse the decoder.
Oh, thanks for the info. I see changing patterns of the TFF/RFF flags.
It would be nice, if Neuron2 could clear up how to set these flags to remove the pulldown.
Golgot13
25th August 2007, 10:56
As I wrote, is there any way to change the pulldown flag of a HDDVD compliant VC-1 elementary stream??
Yes, I know two little exe which can do this: one from Inlet and another one from MS.
This two software are used to convert HDDVD compliant stream to BD compliant stream
(thank Warner about MS version for BD title).
BD format don't support 3:2 pulldown, it support directly 23.976fps and 24fps :D
AEtH
25th August 2007, 12:56
I think that is possible. Its just a bit in the sequence header.
I already thought about that for the vc12avi tool. Currently the avi results in 29.96 fps. Removing the pulldown it would result in 23.976 fps.
The idea came out from vc12avi xD. I did yesterday some research about VC-1 headers, and as I could find it seems that the problem is "frameratenr: 3". Changing it to 1 seems to change the framerate but as zambelli pointed the flags in the bitstream should be stripped out. (I did not know that).
Well... any ideas? It would be a nice mod for vc12avi.
@Golgot13
I suppose that those little exe are not public, aren't they?
Trahald
25th August 2007, 17:08
i was thinking of adding vc1 pulldown support to my h264_info app (which probably should be called h264_pulldown). it wouldnt be quick tho probably cause 1. im a slow coder. and 2. im really busy. i havent been able to find any free apps that are able to do it yet.
AEtH
25th August 2007, 18:04
It's not a matter of time, of course, it's just being capable of doing it. It would be so great if anybody can implement that.
zambelli
26th August 2007, 04:32
I hate to pull the "it's easy but I don't have the time to do it" routine too, but somebody with knowledge of the VC-1 specification ought to be able to do it by looking at Neuron2's MPEG-2 pulldown implementation in DGPulldown: http://neuron2.net/dgpulldown/dgpulldown.html. The logic should be the same - one just needs to apply it to VC-1 format.
drmpeg
26th August 2007, 12:31
I had most of the code already written in xport, so it didn't take very much to modify it for this application.
http://www.w6rz.net/vc1conv.zip
Usage:
vc1conv <infile> <outfile>
For example:
vc1conv original_clip.mpv converted_clip.mpv
Just to be clear, the tool removes pulldown (not add it like dgpulldown).
For this first release, the tool does not attempt to make the bitstream progressive. That requires a lot more work. The tool just changes the frame rate from 29.97 to 23.976 in every sequence header, sets the TFF bit in every picture header and clears the RFF bit in every picture header.
Ron
AEtH
26th August 2007, 12:50
This is just what I was looking for! Awesome!
I'll start now testing the output of this little exe, let's see what I can obtain.
EDIT
After applying vc1conv to a test file,
vc1conv test.vc1 test_23.976.vc1
Converted video plays smoothly, framerate is 23.976... PERFECT
Awesome work drmpeg!!
To test the files I used vc12avi to multiplex them into an avi file
Guest
26th August 2007, 14:57
Just to be clear, the tool removes pulldown (not add it like dgpulldown). DGPulldown can remove pulldown too. :)
(But not for VC1.)
vsv
26th August 2007, 15:39
DGPulldown can remove pulldown too. :)
(But not for VC1.)
How about one tool for manipulation with flags of header for mpeg, h264, vc1 ? ;)
crypto
26th August 2007, 21:24
Hi Ron,
very cool tool. And thanks for sharing the details on how to set the flags.
yesgrey
27th August 2007, 13:28
For this first release, the tool does not attempt to make the bitstream progressive. That requires a lot more work.Ron
Are you considering adding it? or does it not matter?
drmpeg
28th August 2007, 12:23
Are you considering adding it? or does it not matter?
For what the OP wanted to do, it doesn't matter. However, if you want to be Blu-ray compliant, then it does.
It's fairly painful to implement, since you need to delete single bit syntax elements from the bitstream. Worse yet, my parser is pretty much byte orientated, so bit manipulation is a stretch for it.
BTW, I do have a small update to the original release. It just fixes a formatting bug with the bitrate meter (if the bitrate drops below 10 Mbps, it looks like it's saying 90 Mbits). I also made it a little faster and if you inadvertently feed it a Blu-ray VC-1 ES, it does the right thing (nothing).
Version 0.1
http://www.w6rz.net/vc1conv.zip
Ron
AEtH
28th August 2007, 13:12
For what the OP wanted to do, it doesn't matter. However, if you want to be Blu-ray compliant, then it does.
I'm not gonna feed any authoring program with the converted stream, so this program works so well for me.
But, anyway, what's the difference between an original 24p coded stream and this converted stream and why is not Blu-ray compliant??
I'm just curious :)
PS. And, of course... are you planning on implement this?? For me it doesn't care so much, but it would be a great improvement (but not an easy one).
Trahald
28th August 2007, 13:40
Blu-ray should be ok as it takes 23.976 fps feeds directly (at least afaik) hddvd being closer related to dvd still requires streams have flags to fake 29.97fps. it only takes 29.97 and 59.94 fps for ntsc input.
as far as a vc1 pulldown... The way i handle h264 bitstreams is to completely parse them on a bit level saving each variable, then reconstitute them (except for the actual video data).. so changing a bit at that point was no big deal. i haven't even looked at a vc1 stream yet (on a bit level) so i am just starting there. once i can create a 1:1 copy of a stream with full parsing, and reconstituting, then i'll add the flag in.
one question .. with mpeg2.. time codes were important with pulldown. is it an issue with vc1?
drmpeg
28th August 2007, 13:55
I'm not gonna feed any authoring program with the converted stream, so this program works so well for me.
But, anyway, what's the difference between an original 24p coded stream and this converted stream and why is not Blu-ray compliant??
I'm just curious :)
In Blu-ray, you can't have INTERLACE = 1 with a frame rate of 23.976 fps. Because of that, there would be four additional things to do to make the converted stream Blu-ray compliant.
1) In the sequence headers, INTERLACE should be changed from 1 to 0.
2) If INTERLACE is 0, then the FCM (Frame Coding Mode) field must be removed from the picture headers. FCM is always 0 (progressive) in VC-1 HD-DVD streams. 1 bit must be deleted.
3) If INTERLACE is 0, then the UVSAMP (UV Sampling Format) field must be removed from the picture headers. UVSAMP is always 1 (progressive) in HD-DVD VC-1 streams. 1 bit must be deleted.
4) If INTERLACE is 0, then the TFF and RFF flags become the RPTFRM flag. Instead of forcing TFF = 1 and RFF = 0 like I'm doing now, RPTFRM would be set to 0 (no repeated frames). Since the RPTFRM field is 2 bits, there are no bits to be added or deleted.
Ron
drmpeg
28th August 2007, 13:59
Blu-ray should be ok as it takes 23.976 fps feeds directly (at least afaik) hddvd being closer related to dvd still requires streams have flags to fake 29.97fps. it only takes 29.97 and 59.94 fps for ntsc input.
as far as a vc1 pulldown... The way i handle h264 bitstreams is to completely parse them on a bit level saving each variable, then reconstitute them (except for the actual video data).. so changing a bit at that point was no big deal. i haven't even looked at a vc1 stream yet (on a bit level) so i am just starting there. once i can create a 1:1 copy of a stream with full parsing, and reconstituting, then i'll add the flag in.
one question .. with mpeg2.. time codes were important with pulldown. is it an issue with vc1?
No timecodes in VC-1.
Ron
AEtH
28th August 2007, 14:21
1) In the sequence headers, INTERLACE should be changed from 1 to 0.
And what is the PULLDOWN flag for in the sequence headers?? Does it need to be changed from 1 to 0 (as we have undone the pulldown) or doesn't matter?
2) If INTERLACE is 0, then the FCM (Frame Coding Mode) field must be removed from the picture headers. FCM is always 0 (progressive) in VC-1 HD-DVD streams. 1 bit must be deleted.
3) If INTERLACE is 0, then the UVSAMP (UV Sampling Format) field must be removed from the picture headers. UVSAMP is always 1 (progressive) in HD-DVD VC-1 streams. 1 bit must be deleted.
What are the consequences of deleting one bit form picture headers? Do you have to remap the headers?
I don't know if I'm explaining well... if you delete that bit I suposse that you have to "tell" the decoder not to read it.
4) If INTERLACE is 0, then the TFF and RFF flags become the RPTFRM flag. Instead of forcing TFF = 1 and RFF = 0 like I'm doing now, RPTFRM would be set to 0 (no repeated frames). Since the RPTFRM field is 2 bits, there are no bits to be added or deleted.
So, in the original stream (INTERLACE=1) there are two flags (bits) and let's suppose that first is TFF and second is RFF. The coding for the modified stream would be 10 (as you have forced), but to completely change the stream the coding should be 00, is that ok??
crypto
28th August 2007, 17:50
And what is the PULLDOWN flag for in the sequence headers?? Does it need to be changed from 1 to 0 (as we have undone the pulldown) or doesn't matter?
I also wondered about the pulldown flag, as Ron leaves it on.
What are the consequences of deleting one bit form picture headers? Do you have to remap the headers?
I don't know if I'm explaining well... if you delete that bit I suposse that you have to "tell" the decoder not to read it.
Deleting means removing. As the VC-1 stream is bit orientated, there are no byte boundaries. The headers have to be reassembled/recompiled/reencoded or whatever you call it. Steve had the some problem with his asf2vc1 tool. He parsed the headers, made the necessary changes like adding display extensions and recompiled the headers.
AEtH
28th August 2007, 17:59
The headers have to be reassembled/recompiled/reencoded or whatever you call it.
Second question answered, maybe drmpeg can answer the first one.
Now, about reencode the headers... any documentation about VC-1 headers?? I took a look at the source of vc1_conf and the code is really clear... but I'm missing information about what bytes need to be parsed. And, of course, if the parsing that has to be done is bit by bit... hard job without header info. Any chance on having it?
yesgrey
2nd September 2007, 17:14
However, if you want to be Blu-ray compliant, then it does.
No, not needed.
Thanks.
AEtH
8th September 2007, 19:26
@drmpeg
Could you clarify the function of the PULLDOWN flag??
@crypto
Are you working on changing the framerate? Are you including it in vc12avi?
Thanks
crypto
9th September 2007, 13:49
Regarding the pulldown flag, it needs to be left on after the tff/rff flag manipulation or those flags wouldn't be read anymore.
Are you working on changing the framerate? Are you including it in vc12avi?
No, not in vc12avi version 1.0.1
ACrowley
13th September 2007, 08:19
i always get a cannot open Bitstream Error ?
EDIT:
Must be caused by Evodemux. With TSRemux or Grapephedit it works nicely
great Work !
hollydoc
8th October 2007, 20:09
I have demuxed a HD-DVD with evodemux in VC-1 ES and EAC3, changed eac3 in ac3 and create a Bluray with Scenarist.
The Bluray plays fine on PS3 in 1080i/60hz with 2:3 Puldown. My projector is 24P compatibel. When i manipulate VC-1 ES with vc1conv scenarist means, it is 23,976i and the errormessage says 23,976i is not BR compatibel.Is tehre a way to change the interlaceflag?
Hollydoc
hollydoc
8th October 2007, 20:37
have demuxed a HD-DVD with evodemux in VC-1 ES and EAC3, changed eac3 in ac3 and create a Bluray with Scenarist.
The Bluray plays fine on PS3 in 1080i/60hz with 2:3 Puldown. My projector is 24P compatibel. When i manipulate VC-1 ES with vc1conv scenarist means, it is 23,976i and the errormessage says 23,976i is not BR compatibel.Is tehre a way to change the interlaceflag?
Hollydoc
Kumo
10th October 2007, 21:26
i'm trying to convert a vc1 stream file from 29,970fps to 23,976fps, removing the pulldown with vc1conv.exe .vc1conv says "cannot open bitstream file" every time i try. in a previous post i read maybe it was due to evodemux, but i tried to demux the vc1 file with 3 different tools(evodemux,tsremux and hddvd demuxer) and i always get the same error message. anybody can help plz??
drmpeg
11th October 2007, 05:50
i'm trying to convert a vc1 stream file from 29,970fps to 23,976fps, removing the pulldown with vc1conv.exe .vc1conv says "cannot open bitstream file" every time i try. in a previous post i read maybe it was due to evodemux, but i tried to demux the vc1 file with 3 different tools(evodemux,tsremux and hddvd demuxer) and i always get the same error message. anybody can help plz??
That error message usually means that some other program has the file still open.
Ron
drmpeg
11th October 2007, 06:01
have demuxed a HD-DVD with evodemux in VC-1 ES and EAC3, changed eac3 in ac3 and create a Bluray with Scenarist.
The Bluray plays fine on PS3 in 1080i/60hz with 2:3 Puldown. My projector is 24P compatibel. When i manipulate VC-1 ES with vc1conv scenarist means, it is 23,976i and the errormessage says 23,976i is not BR compatibel.Is tehre a way to change the interlaceflag?
Hollydoc
It's possible, but not with the current scheme I'm using in vc1conv. To change the interlace flag, I'll have to pretty much rewrite vc1conv in a more flexible fashion.
Also, be aware that some HD-DVD VC-1 streams may have problems with the IMODE syntax element. I don't think it's possible to convert those streams without re-encoding.
Ron
hollydoc
14th October 2007, 20:57
Hi drmpeg,
tank you for answer and for your great work, i hope, you can give us a tool to remove the polldown flag and change a HD- DVD to Bluray in 24P.
There are a lot of HD only movies , i like to convert to Bluray. Reencoding is not the thing, i want.
The BD+ let us locking more to HD-DVD, but ther is no HD-burner availible.
Hollydoc
dburckh
25th January 2008, 08:24
I'm working on something to reset the flags and bitshift the packet. I have something that is somewhat working, but I have stream corruption problems. It may just be my bit shifting code or parsing code.
Here's what I'm doing:
Reseting the interlaced flag to 0
Reseting the pulldown flag to 0
Reseting the frame rate to 24000/1001
Removing the FCM
Removing TFF/RFF (aka RPTFRM)
Removing UVSAMP
Removing that last byte if it is 0x00.
Should this work?
drmpeg
29th January 2008, 21:38
I'm working on something to reset the flags and bitshift the packet. I have something that is somewhat working, but I have stream corruption problems. It may just be my bit shifting code or parsing code.
Here's what I'm doing:
Reseting the interlaced flag to 0
Reseting the pulldown flag to 0
Reseting the frame rate to 24000/1001
Removing the FCM
Removing TFF/RFF (aka RPTFRM)
Removing UVSAMP
Removing that last byte if it is 0x00.
Should this work?
Sounds good, although I'm not sure about the last 0x00 byte. I've sent you a PM.
Ron
dburckh
30th January 2008, 18:02
Sounds good, although I'm not sure about the last 0x00 byte. I've sent you a PM.
Ron
Thanks for the help. I'll try your suggestion.
I thought I had posted what I did next, but it looks like I didn't. To make my PM make sense, I'll post it here for posterity.
By doing the changes above the stream ends up shifted one nibble (have used that term for a while). I spot checked it with a hex editor and it looked clean, but still had corruption. My guess is that something is bit aligned in picture itself (B frames?). I was going to set the post processing flag and keep the pulldown flag set. This would get me a net picture bit shift of 0. Unfortunately, not all the picture types have the post processing structure, so that won't work.
fbd
31st January 2008, 09:54
I'm working on something to reset the flags and bitshift the packet. I have something that is somewhat working, but I have stream corruption problems. It may just be my bit shifting code or parsing code.
Here's what I'm doing:
Reseting the interlaced flag to 0
Reseting the pulldown flag to 0
Reseting the frame rate to 24000/1001
Removing the FCM
Removing TFF/RFF (aka RPTFRM)
Removing UVSAMP
Removing that last byte if it is 0x00.
Should this work?
Thank you for your job dburckh, I am in a hurry to test your code on my vc-1 files:)
Regards
Franck
zeroprobe
11th February 2008, 18:01
Any updates? :)
kurt
15th February 2008, 08:10
yeah, I would like to change the interlaced flag of some vc-1 files too. Then there should be proper playback possible in 24hz on my popcorn hour :)
glen8
15th February 2008, 13:00
let me know if you need any beta testers :cool:
DonCarlos
16th February 2008, 14:05
Hi guys.
Is it really that much work to the stuff you supposed?I really would like to have your tool because this is the last peace missing to be able to convert an HDDVD to a Blu ray. I don't want to going on your nerves, but are there plans to release a small tool which can do this:(HDDVD) VC-1 1080i 29.97----->(Blu ray) VC-1 1080p 23.973?
Or could you explain what you mean by this:
Reseting the interlaced flag to 0
Reseting the pulldown flag to 0
Reseting the frame rate to 24000/1001
Removing the FCM
Removing TFF/RFF (aka RPTFRM)
Removing UVSAMP
Removing that last byte if it is 0x00.
and how we could do this?
Thanks
kurt
16th February 2008, 14:30
yeah, I would like to change the interlaced flag of some vc-1 files too. Then there should be proper playback possible in 24hz on my popcorn hour :)
problem solved, vc1conf does work! completely smooth playback with popcorn hour :)
drmpeg
18th February 2008, 15:06
The new version (0.2) of vc1conv is ready. It does the complete conversion from 29.97 fps interlaced with pulldown flags to 23.976 fps progressive. It is fully Blu-ray compatible as long as the POSTPROCFLAG field is zero (it will fail with an error message if POSTPROCFLAG is set) and there are no IMODE changes from Raw mode to anything else (not sure if any tool looks for this).
http://www.w6rz.net/vc1conv.zip
Ron
fbd
18th February 2008, 15:45
The new version (0.2) of vc1conv is ready. It does the complete conversion from 29.97 fps interlaced with pulldown flags to 23.976 fps progressive. It is fully Blu-ray compatible as long as the POSTPROCFLAG field is zero (it will fail with an error message if POSTPROCFLAG is set) and there are no IMODE changes from Raw mode to anything else (not sure if any tool looks for this).
Ron
Thank you drmpeg,
I will test it ASAP.
regards
Franck
PHD_1976
20th February 2008, 07:27
I've tested a piece of vc1 file from HD DVD (1gb) with vc1conv v.0.2 . I muxed this file into Blu-Ray with Scenarist HDMV ver.4.3. Everything went fine, I didn't notice any glitches or stuttering on the created BD.
Thank you, drmpeg for your efforts and results -))
stevensf
21st February 2008, 00:44
I have tested it too. works fine :)
Tx for this great job :))))))
menlvd
22nd February 2008, 03:36
roman76 in next version of smartLabs ts muxer try to add pulldown patch for vc1 stream. thats can be useful in mkv(vc1)->ts(vc1)
PHD_1976
22nd February 2008, 07:26
drmpeg,
I khow that madshi's already asked you a question about avc from HD DVD to Blu-Ray modification.
Just like you explained in this thread about what should be changed in 29.97 vc1 from HD to make it fully compatible with BD, could you please list parameters that should be changed/deleted/added in AVC stream to make it BD compatible if you have an idea?
About vc1conv 0.2:
I've tested it again with large file (full movie) Liar Liar - so converted file has one less frame than the original. Don't khow whether it's a bug or not and will it show itself somehow after muxing with Scenarist - i'm just reporting my notes, maybe you would like to check it.
drmpeg
22nd February 2008, 08:32
drmpeg,
I khow that madshi's already asked you a question about avc from HD DVD to Blu-Ray modification.
Just like you explained in this thread about what should be changed in 29.97 vc1 from HD to make it fully compatible with BD, could you please list parameters that should be changed/deleted/added in AVC stream to make it BD compatible if you have an idea?
I'll have to get back to you on that one.
About vc1conv 0.2:
I've tested it again with large file (full movie) Liar Liar - so converted file has one less frame than the original. Don't khow whether it's a bug or not and will it show itself somehow after muxing with Scenarist - i'm just reporting my notes, maybe you would like to check it.
I know what's wrong. It's cutting off the very last frame. I'll have a fix shortly.
Ron
PHD_1976
22nd February 2008, 08:48
I'll have to get back to you on that one.
Ron
Thank you, will be waiting -)
drmpeg
23rd February 2008, 12:52
vc1conv has been updated to version 0.3
http://www.w6rz.net/vc1conv.zip
Changes for 0.3
1) Removed dependency on POSTPROCFLAG being equal to zero.
2) Removed setting of POSTPROCFLAG and adding POSTPROC bits.
3) Made bitrate display accurate.
4) Put frame count back in, and added running time.
I also fixed the last frame issue, but only if there is an End-of-Sequence code at the end of the stream. If there is no End-of-Sequence code at the end of the stream, then vc1conv deletes the last frame whether it's complete or not (it can't tell if the last frame is complete without parsing the entire frame).
Ron
Razumka
29th February 2008, 14:24
Removing pulldown it is good, but I need restore flags back, how I can do this?
dburckh
4th March 2008, 20:16
@Ron
First off, you're a rock star!
Looking at your code, I think I figured out where I went wrong. I didn't have the equivalent of strip_chunk()/stuff_chunk(). That was causing my corruption.
I've been trying to follow your code. I'm not a big C person. Did you just apply the logic I specified in post #34, or did you have to do other stuff as well?
I have a tool very similar to TsRemux written in Java. My version of the vc1conv code was written in Java as well. If the only thing I have to do is add the strip_chunk()/stuff_chunk logic(), I'm 80% done. RemuxTool is already published on networkmediatank.com and I have a lot of people requesting this feature.
drmpeg
5th March 2008, 00:11
@Ron
First off, you're a rock star!
Looking at your code, I think I figured out where I went wrong. I didn't have the equivalent of strip_chunk()/stuff_chunk(). That was causing my corruption.
I've been trying to follow your code. I'm not a big C person. Did you just apply the logic I specified in post #34, or did you have to do other stuff as well?
I have a tool very similar to TsRemux written in Java. My version of the vc1conv code was written in Java as well. If the only thing I have to do is add the strip_chunk()/stuff_chunk logic(), I'm 80% done. RemuxTool is already published on networkmediatank.com and I have a lot of people requesting this feature.
Resetting the interlaced flag to 0 (yes)
Resetting the pulldown flag to 0 (no)
Resetting the frame rate to 24000/1001 (yes)
Removing the FCM (yes)
Removing TFF/RFF (aka RPTFRM) (no)
Removing UVSAMP (yes)
Removing that last byte if it is 0x00. (no)
I don't clear the pulldown flag. I just set RPTFRM to 0 in each frame. This seems to be the common practice on Blu-ray streams.
The end of the frame has to be byte aligned. In my code, I built that function into getbits(). If you call getbits() with the "bits" parameter set to 0, it returns the number of bits required to byte align the stream. Because it may have to read ahead up to 7 bits, I make sure those bits are cleared before the call to process_chunk() with the line strip_buffer[strip_length] = 0.
Ron
dburckh
5th March 2008, 01:53
I ended up writing a BitStreamBuffer class that implements getBits and setBits. I create a new byte buffer for each packet, and Java sets the values to 0, so I don't have to really worry about clearing the trailing bits.
I don't think I messed with the pictures. I'll have to see what you did there. Hopefully I'll have the raw VC1 parser done tonight and have it integrated into the main tool by this weekend.
I don't mind posting my work and I always post with the source. My wife is 8.5 months pregnant, so it's highly likely that I won't be able to support it. Because it's Java it tends to be useful for the Mac/Linux crowd as most tools are Windows based.
dburckh
10th March 2008, 00:35
Thanks to Ron, I figured out the issue with my first pass at this. Here's the final result. It requires installing Java 5+. It's significantly faster than vc1conv (about 9x on my machine) and it has a progress bar. It doesn't display all the pretty stats.
http://www.mediafire.com/download.php?gd1gwlbg0em
dirkr
12th March 2008, 10:16
Thanks to Ron, I figured out the issue with my first pass at this. Here's the final result. It requires installing Java 5+. It's significantly faster than vc1conv (about 9x on my machine) and it has a progress bar. It doesn't display all the pretty stats.
http://www.mediafire.com/download.php?gd1gwlbg0em
Did I understand it right? Your vc1convj removes the pulldown too? I tried that but it didn't work.
What am I doing wrong?
Regards
dburckh
12th March 2008, 17:24
No, it doesn't remove pulldown. That was one of the things I was trying early on. Vc1ConvJ does pretty much exactly what vc1conv does. It's just faster (on my machine).
What Ron said is accurate. I checked and the VC-1 BluRay disc I have and it has the pulldown flag set. I think it's is possible to do, but I think it would be non-standard.
dirkr
12th March 2008, 17:48
No, it doesn't remove pulldown. That was one of the things I was trying early on. Vc1ConvJ does pretty much exactly what vc1conv does. It's just faster (on my machine).
What Ron said is accurate. I checked and the VC-1 BluRay disc I have and it has the pulldown flag set. I think it's is possible to do, but I think it would be non-standard.
I meant changing the flag. That's not happended with vc1conJ....
Vc1conv does the job
dburckh
13th March 2008, 03:50
I meant changing the flag. That's not happended with vc1conJ....
Vc1conv does the job
Hmmm. Ron said he doesn't do that here:
http://forum.doom9.org/showthread.php?p=1108596#post1108596
I actually did a binary compare with his result vs. mine. They are identical except on skipped pictures. I carry a few bits forward that he truncates. They should be the same, but I may be mistaken.
Mitchjs
18th March 2008, 22:17
Question, before i run vc1conv, is there a way to see if the pulldown flag is set?
and whats the harm in having it set, is this just to get it bluray compliant? i got a .ts stream remuxed right from HDDVD, and it playsback at correct fps in my PC Player (zoomplayer)
mitch
drmpeg
18th March 2008, 22:36
Question, before i run vc1conv, is there a way to see if the pulldown flag is set?
and whats the harm in having it set, is this just to get it bluray compliant? i got a .ts stream remuxed right from HDDVD, and it playsback at correct fps in my PC Player (zoomplayer)
mitch
The statistics that vc1conv prints at the beginning are for the input file. You can always abort command line programs with Ctrl-C.
As noted previously in this thread, vc1conv doesn't change the PULLDOWN flag. It does change the INTERLACE flag, frame rate and removes the pulldown (repeat_first_field and top_field_first) from each frame.
As for the actual purpose of vc1conv, it depends on your player. For software players, it probably makes no difference. For PS3 and stand-alone players, it allows you to use 24p output on HDMI (assuming you have a display that handles 24p).
Ron
fbd
21st March 2008, 16:26
As noted previously in this thread, vc1conv doesn't change the PULLDOWN flag. It does change the INTERLACE flag, frame rate and removes the pulldown (repeat_first_field and top_field_first) from each frame.
Ron
Hi Ron,
For h264 files with PullDown, do you know if it's the same process like vc1 files? Because when I use H264info to remove Pulldown my SetTopBox doesn't like that.
vc1conv works great with my STB.
(sorry for my english)
Regards
Franck
drmpeg
22nd March 2008, 11:23
Hi Ron,
For h264 files with PullDown, do you know if it's the same process like vc1 files? Because when I use H264info to remove Pulldown my SetTopBox doesn't like that.
vc1conv works great with my STB.
(sorry for my english)
Regards
Franck
The process is similar with H.264, but quite a bit more complex. There are many more syntax elements to deal with, and some of them are in display order, which is always a little difficult to handle.
At this point in time, I have no plans to tackle H.264 pulldown removal. h264info is already out there, and I'm not sure I could come up with anything that works better.
BTW, your english is fine. Infinitely better than my french. The only thing I remember from high school french is "Je trouve la page", "Je ferme la porte" and "Je ferme le livre". ;) I did date a french-canadian girl many years ago (when I lived in the state of Maine) who was an excellent cook. She used to make me pork pies (I don't expect anyone to know what a pork pie is, but the smell of ground pork cooking in the morning is indelibly etched into some corner of my psyche).
Ron
fbd
27th March 2008, 17:15
The process is similar with H.264, but quite a bit more complex. There are many more syntax elements to deal with, and some of them are in display order, which is always a little difficult to handle.
At this point in time, I have no plans to tackle H.264 pulldown removal. h264info is already out there, and I'm not sure I could come up with anything that works better.
BTW, your english is fine. Infinitely better than my french. The only thing I remember from high school french is "Je trouve la page", "Je ferme la porte" and "Je ferme le livre". ;) I did date a french-canadian girl many years ago (when I lived in the state of Maine) who was an excellent cook. She used to make me pork pies (I don't expect anyone to know what a pork pie is, but the smell of ground pork cooking in the morning is indelibly etched into some corner of my psyche).
Ron
Thanks Ron,
finally h264info alpha 0022 works but it's very very slow compare to vc1conv:confused::confused:
Sorry but I don't know what is pork pie :p
Regards
Franck
drmpeg
22nd April 2008, 12:29
I've made a small update to vc1conv. A user has reported that vc1conv 0.3 fails on the movie "Mr. Beans Holiday" with the message "Picture bigger than 1 megabyte". Apparently, there really is a picture that's bigger than 1 megabyte in this movie. vc1conv 0.4 just doubles the buffer size to 2 megabytes.
http://www.w6rz.net/vc1conv.zip
Ron
fbd
25th April 2008, 14:33
I've made a small update to vc1conv. A user has reported that vc1conv 0.3 fails on the movie "Mr. Beans Holiday" with the message "Picture bigger than 1 megabyte". Apparently, there really is a picture that's bigger than 1 megabyte in this movie. vc1conv 0.4 just doubles the buffer size to 2 megabytes.
http://www.w6rz.net/vc1conv.zip
Ron
:thanks: Ron
Regards
Franck
Calculon
8th May 2008, 03:13
Problem. I have just tried this with my copy of Harry Potter and The Order of the Phoenix and I get "Picture bigger than 2 megabytes."
Calculon
8th May 2008, 10:37
Problem. I have just tried this with my copy of Harry Potter and The Order of the Phoenix and I get "Picture bigger than 2 megabytes."
I solved my own problem. vc1conv was not at fault. It was the first time I've had a bad rip with BackupHDDVD. AnyDVD took care of it just fine though. I must say, I love vc1conv.
drmpeg
8th May 2008, 11:14
I solved my own problem. vc1conv was not at fault. It was the first time I've had a bad rip with BackupHDDVD. AnyDVD took care of it just fine though. I must say, I love vc1conv.
I was going to suggest that you check your rip. That's because the maximum VC-1 HRD buffer size in HD DVD is (was?) 1,851,392 bytes. No single picture can be bigger than the HRD buffer, so the 2 megabyte buffer in vc1conv should be sufficient for any HD DVD VC-1 video bitstream.
Ron
dburckh
22nd May 2008, 05:09
Thanks to Ron, I figured out the issue with my first pass at this. Here's the final result. It requires installing Java 5+. It's significantly faster than vc1conv (about 9x on my machine) and it has a progress bar. It doesn't display all the pretty stats.
http://www.mediafire.com/download.php?gd1gwlbg0em
I owe Ron an apology. I was doing some testing with a new version of Vc1ConvJ. I really overstated the performance boast. It's more like 25%. I stepped away from the machine and mistakenly assumed the "running time" was how long vc1conv ran. I now realize that was the length of the movie. Sorry to be a jackass.
I also understand the pulldown comment now. For some reason, TsMuxer 1.7+ identifies the output of Vc1ConvJ as not being pulled down. It uses some other criteria other than the pulldown flag to identify video as being pulled down. I don't say I understand it, but I have confirmed it. The next release will have this issue fixed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.