Some progress on the top half of the frame and the left leg. Also removed some duplicate -1s0:0:550,14:0:-2:0:0:0:0:12:-6,7:5:14749,12:5:15312,39:7:-1,18:9:27558,25:10:17410,26:10:31150,17:11:33650,17:12:37648,25:12:39009,29:12:-1,32:12:-1,17:13:42121,18:13:42526,10:14:-1,18:14:47626,26:14:-1,34:15:56061,24:16:-1,27:16:61466,42:19:-1,43:19:83153,43:20:-1,1:21:90585,11:22:-1,12:22:99201,26:22:-1,17:23:105394,22:24:-1,23:24:111581,0:27:-1,16:27:124815,24:27:-1,25:27:125621,28:28:-1,3:29:140154I think 23:14 needs some bits flipped...the part of the right leg is one block (half a macro block) off, which is pretty bad...
Quote from: Untribium on 05/18/2014 03:00 amSome progress on the top half of the frame and the left leg. Also removed some duplicate -1s-snip-I think 23:14 needs some bits flipped...the part of the right leg is one block (half a macro block) off, which is pretty bad...Nice job on the ocean! Before I had to step out I got a bit at the top but I didn't save it! Ahh, will keep trying. Also gonna try and work on the base of the legs. Dunno about that block on the right leg, I'm not knowledgeable enough to figure out what's happening there
Some progress on the top half of the frame and the left leg. Also removed some duplicate -1s-snip-I think 23:14 needs some bits flipped...the part of the right leg is one block (half a macro block) off, which is pretty bad...
Quote from: wronkiew on 05/17/2014 04:15 pmInterpolated descent between frames 150 and 168.Many thanks to SwissCheese for demonstrating how to apply p-frames.It looks good! How did you do the interpolation? Did you use information from the P-frames? I was thinking about interpolating the moving vector fields for the non-usable P-frames, or somehow better using them, but I'm stuck...
Interpolated descent between frames 150 and 168.Many thanks to SwissCheese for demonstrating how to apply p-frames.
./ffmpeg -r 44999/3003 -mmb `cat mmb.txt` -debug mb_pos_size -err_detect ignore_err -i fixed_edit8.ts -f image2 img-%03d.png 2> debug.log
Hmmm. I've got some issues. I don't understand whats causing them. Looks like ffmpeg is not cooperating...For some reason when I use this command frames 189, 229 and 268 are missing. (these are frames 197, 237 and 276 according to ffmpeg btw).Quote./ffmpeg -r 44999/3003 -mmb `cat mmb.txt` -debug mb_pos_size -err_detect ignore_err -i fixed_edit8.ts -f image2 img-%03d.png 2> debug.logSee attached mmb.txt (you will have to remove the newlines before using it).If you look at the pictures it generated (careful the frame number in the filename is 1 higher then the frame number according to ffmpeg) you see all the i-frames except the above mentioned.When I run the same command with the three i-frame commands removed then 189 appears again (in its original form) while 229 and 268 are still missing.Why is ffmpeg not adding these frames to the output?? I can't see anything in the log either. Can we force it somehow? But I'm no expert at using ffmpeg. Hopefully somebody else can help here.Regards,arnezami
Hi!You guys are amazing! I really thought the legs were a goner on that frame. But oooh no! Here is my version of 229 with edit8. It was still missing from the video.0:0:-1,9:12:59273:25:1:1:1:1:1,0:21:99181,0:25:-1,1:25:113405,7:29:-1It needs some love though. I am going to make a new video again with these new frames.Regards,arnezamiPS. The 1:1:1:1:1 is in these because the online editor removes the 0:0:0:0:0. Maybe somebody can take a look at that...
./ffmpeg -debug mb_pos_size -err_detect ignore_err -s:0 704:480 -i frame192.mpg4-img -f image2 frame_192.png
./ffmpeg -debug mb_pos_size -err_detect ignore_err -vismv 7 -s:0 704:480 -i frame192.mpg4-img -f image2 frame_192_mv.png
./ffmpeg -mmb 2:0:-1,19:0:1092 -debug mb_pos_size -err_detect ignore_err -s:0 704:480 -i frame192.mpg4-img -f image2 frame_192_mod.png
./ffmpeg -mmb 2:0:-1,19:0:1092 -debug mb_pos_size -err_detect ignore_err -vismv 7 -s:0 704:480 -i frame192.mpg4-img -f image2 frame_192_mv_mod.png
vi mmb_starting_from_169.txt
FRAME0:0:0:-1,9:12:59273:25:1:1:1:1:1,0:21:99181=FRAME1:0:25:-1,1:25:113405,7:29:-1
./ffmpeg -r 44999/3003 -mmb `cat mmb_starting_from_169.txt` -debug mb_pos_size -err_detect ignore_err -i fixed_edit8_part_169.ts -f image2 fixed_edit8_part_169_%03d.png
./ffmpeg -r 44999/3003 -mmb `cat mmb_starting_from_169.txt` -debug mb_pos_size -err_detect ignore_err -i fixed_edit8_part_169.ts -c:v mpeg4 -q:v 3 -tag:v xvid fixed_edit8_part_169.avi
For me the mmb for multiple frames does only work for the first one... (FRAME0) after that it does not work at all, somehow it uses some of the mmb of the first frame for the next one. No idea why.
Nice work on the P-frames guys! The bits (literally ) and pieces are finally coming together!Can someone more knowledgeable than me and has looked into the bitstream have a look at this and tell me whether it's accurate?http://www.cmlab.csie.ntu.edu.tw/cml/dsp/training/coding/h263/format_p.htmlCould be really helpful for bit flipping edit: Also, is it possible to add the bitstream to the online editor?
short_video_header: The short_video_header is an internal flag which is set to 1 when an abbreviated header format is used for video content. This indicates video data which begins with a short_video_start_marker rather than a longer start code such as visual_object_ start_code. The short header format is included herein to provide forward compatibility with video codecs designed using the earlier video coding specification ITU-T Recommendation H.263. All decoders which support video objects shall support both header formats (short_video_header equal to 0 or 1) for the subset of video tools that is expressible in either form.
This is fixed.
[edit] I noticed that setting frame 170 to 0:0:-1 (basicly turning it off) it works again! Maybe it's wise to disable unfixed P-frames prior to the one that you are trying to fix?Basicly you get this: (without the newlines)FRAME0:08:14:-1:15:-15:1:14:-2:1,09:14:56683,05:21:-1:0:-20:-5:2,06:21:-1:-20:-20:6:5,07:21:-1:0:0:3:5,08:21:-1:0:0:0:0,09:21:-1:10:15:0:0,10:21:-1:15:15:0:0,11:21:-1:5:10,12:21:-1:5:3:0:0:-2,13:21:-1:4:4,14:21:-1,28:21:108878,X:126932:80,04:27:-1:0:-4:13:7,05:27:135412,X:143273:80,X:143386:80,06:28:144012=FRAME1:0:0:-1=FRAME2:0:0:-1,31:0:4850,13:2:-1,14:2:12422,2:3:-1,3:3:13866,32:8:50739=FRAME3:6:20:-1,7:20:84967I use this command:Quote./ffmpeg -r 44999/3003 -mmb `cat mmb_starting_from_169.txt` -debug mb_pos_size -err_detect ignore_err -i fixed_edit8_part_169.ts -f image2 fixed_edit8_part_169_%03d.png
lum/chroma correction is a nightmare though, particularly row 10 (dirt spot)...the luminance error doesn't seem to be a propagation problem, i.e. it occurs in several blocks (which is odd...)