PDA

View Full Version : M2TS won't rewind or fast forward


mparter
22nd July 2008, 01:04
I've re-encoded a VC-1 HD DVD using MeGUI and it's come out superb. I've then muxed the mkv with the ac3 audio to create an M2TS for streaming to my PS3 with WMP11.

It streams fine but no matter what I try, the rewinding or fast-forwarding doesn't work at anything above x1.5. In tsMuxeR I've tried leaving the Add Picture timing info and Continually insert SPS/PPS options selected, I've tried leaving them un-selected and I've tried leaving just the first option selected.

None of them worked. Is there anything else I can try?

Atak_Snajpera
22nd July 2008, 01:55
Remove --aud from command line and try again

mparter
22nd July 2008, 09:19
Remove --aud from command line and try again

Do you mean in tsMuxeR?

I can't see any --aud in the command line.

MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "D:\Rips\riddick.mkv", track=1, lang=eng
A_AC3, "D:\Rips\riddick.ac3", lang=eng

rdk
22nd July 2008, 09:26
In x264 command line.

mparter
22nd July 2008, 10:19
In x264 command line.
aaaahhhh, another 20+ hour re-encode :eek:

I wasn't sure if Atak_Snajpera was refering to x264 or not so I checked that also and I'm pretty sure that wasn't in the command line either. I'll check at lunchtime when I get home and post the command lines for MeGUI and tsMuxeR.

:thanks:

mparter
22nd July 2008, 14:17
OK, the command line in MeGUI;

program --pass 2 --bitrate 19000 --stats ".stats" --level 4.1 --ref 3 --mixed-refs
--bframes 3 --b-rdo --bime --weightb --direct auto --subme 6 --trellis 1 --partitions p8x8,b8x8,i4x4,i8x8
--8x8dct --vbv-bufsize 9000 --vbv-maxrate 25000 --me umh --merange 12 --threads auto --thread-input
--progress --no-psnr --no-ssim --output "output" "input"

and the command line in tsMuxeR;

MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "D:\Rips\riddick.track_1.264"
A_AC3, "D:\Rips\riddick.ac3", lang=eng

I've noticed a few threads were people have run their .264 file through h264info and it seems to "solve" this problem.

survivant001
22nd July 2008, 14:33
I had the same problem, or maybe I still have it.. that's random :( I use ripbot and automkv to encode. I try with tsmuxer 1.8.5b and I didn't have problem since.. but maybe I'm lucky.

mparter
22nd July 2008, 19:16
Still no joy :(

I've ran it through h264info with the HD -> BR Kepp FPS and Write PPS Every Picture options selected. I've then ran it through tsMuxeR twice, the first time with no options selected, the second time with the Add picture timing info option selected.

But it still won't fast-forward any faster than 1.5x or rewind. What the hell is going on :confused:

survivant001
23rd July 2008, 00:38
did you try to mux with tsmuxer 1.8.5 ?

mparter
23rd July 2008, 09:30
did you try to mux with tsmuxer 1.8.5 ?

Didn't realise there was a 1.8.5 available. I'm currently using 1.8.4.

I'm starting from scratch. LAst time I never ran the VC-1 file through vc1conv so I'm doing that this time. Problem I've got now is, how do I get the vc-1 file into MeGui?

Previously I've just created a graph using the Haali Splitter to the WMVideo decoder to take the video straight out of the EVO file. If I did that this time it would just bypass the vc-1 I'v ejust created which kind of defeats the purpose of using vc1conv!

survivant001
23rd July 2008, 13:56
it's not official 1.8.5 but you can find it on the tsmuxer thread.

for vc-1 I can't help you with that

Nullity
23rd July 2008, 21:36
When encoding in MeGUI, use the SA-Bluray profile, changing only the desired bitrate. Output to raw h264.

Now you can import this 264 file into tsMuxer without running it through h264info. Also, UNCHECK both "Add picture timing info" and "Continually insert SPS/PPS". The resultimg m2ts file will play perfectly on the PS3, including fast-forward/rewind.

Nullity
23rd July 2008, 21:45
I'm starting from scratch. LAst time I never ran the VC-1 file through vc1conv so I'm doing that this time. Problem I've got now is, how do I get the vc-1 file into MeGui?

Previously I've just created a graph using the Haali Splitter to the WMVideo decoder to take the video straight out of the EVO file. If I did that this time it would just bypass the vc-1 I'v ejust created which kind of defeats the purpose of using vc1conv!

Yes, the VC1 file must be run through vc1conv first to strip out the pulldown. After that, you have several options on how to get it into MeGUI. Personally, I mux the vc1 file into an mkv, which I then pipe into MeGUI. If you don't already have it, you may need ffdshow to do it this way.

mparter
23rd July 2008, 22:32
When encoding in MeGUI, use the SA-Bluray profile, changing only the desired bitrate. Output to raw h264.

Now you can import this 264 file into tsMuxer without running it through h264info. Also, UNCHECK both "Add picture timing info" and "Continually insert SPS/PPS". The resultimg m2ts file will play perfectly on the PS3, including fast-forward/rewind.

Cheers mate, will give that a go. Been using the PS3-XBox 360 profile with a bitrate of 19000.

mparter
23rd July 2008, 22:33
Yes, the VC1 file must be run through vc1conv first to strip out the pulldown. After that, you have several options on how to get it into MeGUI. Personally, I mux the vc1 file into an mkv, which I then pipe into MeGUI. If you don't already have it, you may need ffdshow to do it this way.

I've ripped the vc1, ran it through vc1conv and then muxed it it m2ts. I've then run this through MeGui via and avs script.

mparter
25th July 2008, 01:09
When encoding in MeGUI, use the SA-Bluray profile, changing only the desired bitrate. Output to raw h264.

Now you can import this 264 file into tsMuxer without running it through h264info. Also, UNCHECK both "Add picture timing info" and "Continually insert SPS/PPS". The resultimg m2ts file will play perfectly on the PS3, including fast-forward/rewind.

Just finally tested this out and it appears to be working. Thanks very much mate :)

Nullity
25th July 2008, 07:09
Glad it worked out for you :)

survivant001
28th July 2008, 00:51
just did a test. reencode 2 movies with ripbot264 and both of them won't workinf with ff and rw. I open tsmuxer and import them and output them in bluray (again) and they works now. If I choose the Add Picture timing info and Continually insert SPS/PPS options that doesn't make a difference.. they both works now.

n0mag!c
29th July 2008, 15:28
http://forum.doom9.org/showthread.php?p=1163851

survivant001
29th July 2008, 19:57
Will try that.. but look like remux the m2ts generated by tsmuxer works.. it work's with tsmuxer.. I'll check that more next times. when I'll get a movies that doesn't work, I'll repass it in tsmuxer again.. check if that works

survivant001
1st August 2008, 02:02
bingo.. found the problem again.. here how I did it.

#1 - I had a tv episode in mkv
#2 - convert it with ripbot264 : -> m2ts +ac3 5.1 (bluray output)
#3 - took the 000001.m2ts and generate a new bluray in tsmuxer
#4 - copied 000001.m2ts (ripbot) and 0000001.m2ts (tsmuxer second mux) on my external HD
#5 - test them on the ps3.

the first one don't ff, but the second yes.

so.. each time that I'll convert somthing to m2ts I'll remux it with tsmuxer.. it always work with this procedure.

~bT~
1st August 2008, 16:17
this works for me using ripbot264; remove text in red in tsmuxer.meta before starting encoding and after adding job to queue:

MUXOPT --no-pcr-on-video-pid --new-audio-pes --blu-ray --vbr --auto-chapters=5 --vbv-len=500
V_MPEG4/ISO/AVC, "G:\RipBot264temp\video.264", fps=23.976, insertSEI, contSPS
A_AC3, "G:\RipBot264temp\job1\audio.1.ac3", timeshift=0

http://forum.doom9.org/showpost.php?p=1158192&postcount=1968

mparter
1st August 2008, 20:55
bingo.. found the problem again.. here how I did it.

#1 - I had a tv episode in mkv
#2 - convert it with ripbot264 : -> m2ts +ac3 5.1 (bluray output)
#3 - took the 000001.m2ts and generate a new bluray in tsmuxer
#4 - copied 000001.m2ts (ripbot) and 0000001.m2ts (tsmuxer second mux) on my external HD
#5 - test them on the ps3.

the first one don't ff, but the second yes.

so.. each time that I'll convert somthing to m2ts I'll remux it with tsmuxer.. it always work with this procedure.

So you used tsMuxeR to create a Blu-Ray structure and then used tsMuxeR again to mux the 000001.m2ts from the previously created Blu-Ray structure to an m2ts?

mparter
1st August 2008, 21:28
Just tried something similar myself by muxing to Blu-Ray using tsMuxeR and then remuxing the 000001.m2ts to another m2ts using tsRemux and it worked :D

Time to try a few others.

survivant001
1st August 2008, 21:44
Just tried something similar myself by muxing to Blu-Ray using tsMuxeR and then remuxing the 000001.m2ts to another m2ts using tsRemux and it worked :D

Time to try a few others.

it's the only for now that works everytime. Hope it will stay like that :)

atreides93
2nd August 2008, 03:24
Someone suggested in meGUI using the BluRay SA setting...but there's already two PS3 settings...are those bad?? Who maintains those ? Since the original poster was talking about playback on his PS3, I wonder why he wouldn't use those

mparter
2nd August 2008, 12:24
Someone suggested in meGUI using the BluRay SA setting...but there's already two PS3 settings...are those bad?? Who maintains those ? Since the original poster was talking about playback on his PS3, I wonder why he wouldn't use those

Since I've used those for my encodes, I've been able to get fast forwarding/rewinding working fine when streaming. When I used the PS3 profile, it didn't work. Maybe their optimised more for playing from a disc or hard drive as opposed to streaming?

mparter
4th August 2008, 14:07
Time to try a few others.


Unfortunately, this doesn't always work :(

Is there a program that can cut either an M2TS or the 264 and ac3 files so that I can try a few combinations of things without having to do a whole film?

n0mag!c
4th August 2008, 14:11
Unfortunately, this doesn't always work :(

Is there a program that can cut either an M2TS or the 264 and ac3 files so that I can try a few combinations of things without having to do a whole film?
TsMuxer :)

mparter
4th August 2008, 18:58
TsMuxer :)

LOL, never even noticed that all the times I've used it!!

mparter
4th August 2008, 22:46
OK, I was getting fed up going around in circles so I've tried to be methodical and try various different options and record the outcome. Unfortunately in the 16 different scenrio's, the outcome was always that the video didn't rewind or fast-forward on the PS3.

See attached PDF (in ZIP).

One interesting thing though was that I also re-encoded the h264 sample using the Blu-Ray profile in MeGui. I then muxed this using tsMuxeR with neither of the two checkboxes selected. It worked fine.

So it looks like a re-encode of the video is the only option for the majority of my videos.

Is there anyway I can simply run through the h264 and "fix" whatever's wrong with it instead of a full 15hr+ re-encode? If not then is there anyway to find out the parameters used to encode the original h264 file?

mparter
4th August 2008, 23:03
Me again. Using MediaInfo, the only difference between the original and my re-encode of the 5 minute sample is that my re-encode uses 3 ref frames and the source has 4 ref frames.

Would this be enough to cause issues or is it likely to be something else?

Original Encode Settings (NOT WORKING)
cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=10,10 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=0 / mbaff=0 / fgo=10 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=13225 / ratetol=2.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=30000 / ip_ratio=1.40 / pb_ratio=1.15 / aq=2:1.00

MeGui Blu-Ray Encode Settings (WORKS)
cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=6 / psy_rd=1.000000 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=24 / keyint_min=1 / scenecut=40(pre) / rc=2pass / bitrate=19000 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=30000 / ip_ratio=1.10 / pb_ratio=1.10 / aq=2:1.00

ChuckleWorthy
5th August 2008, 09:23
Me again. Using MediaInfo, the only difference between the original and my re-encode of the 5 minute sample is that my re-encode uses 3 ref frames and the source has 4 ref frames.

Good work mparter on your analysis. In my faffing around trying to get m2ts to ff/rw, I've come to a similar conclusion - it depends on the encode settings. One that I think is important is KeyInt being alot smaller in second set of encode settings.

mparter
5th August 2008, 11:54
Good work mparter on your analysis. In my faffing around trying to get m2ts to ff/rw, I've come to a similar conclusion - it depends on the encode settings. One that I think is important is KeyInt being alot smaller in second set of encode settings.

My original post was a little of when I said the only difference was the ref frames. Of course not being an expert in any of this I can't say what is actually causing the problem. I was even considering going back to MPEG-2 last night!