Author Topic: SpaceX Falcon 9 v1.1 CRS-3 Splashdown Video Repair Task Thread  (Read 958854 times)

Offline arnezami

  • Full Member
  • **
  • Posts: 284
  • Liked: 262
  • Likes Given: 346
So I adapted iframe32 using the new options with:

X:57182:4,
40:0:-1,
17:1:5444,13:2:-1,
5:4:14914,43:4:-1,
7:5:19298,14:06:24261:0:0:0:0:0:0:0,23:11:45354:0:0:0:0:0:0:0,26:12:-1,
7:13:52167,7:14:-1,
17:15:62855,28:15:-1,
27:16:68962,21:17:72509:0:0:0:0:0:0:0,21:18:76689:0:0:0:0:0:0:0,24:18:76921:0:0:0:0:0:0:0,7:21:-1,
10:21:-1:-5:10:0,
11:21:-1,
20:21:90326:10:0:0:0,22:27:-1,
27:27:112406,0:28:-1,
3:28:115143,9:29:-1,
33:29:135545
Just to be sure: the extra six 0's (0:0:0:0:0:0) won't do anything here I believe. The 6 numbers are only needed if you fill in at least one non-zero number. They change the lum/chrom by the number. They don't set it to 0.

Just in case I wasn't very clear about that.

Offline SwissCheese

  • Full Member
  • *
  • Posts: 165
  • Liked: 250
  • Likes Given: 94
So I adapted iframe32 using the new options with:

X:57182:4,
40:0:-1,
17:1:5444,13:2:-1,
5:4:14914,43:4:-1,
7:5:19298,14:06:24261:0:0:0:0:0:0:0,23:11:45354:0:0:0:0:0:0:0,26:12:-1,
7:13:52167,7:14:-1,
17:15:62855,28:15:-1,
27:16:68962,21:17:72509:0:0:0:0:0:0:0,21:18:76689:0:0:0:0:0:0:0,24:18:76921:0:0:0:0:0:0:0,7:21:-1,
10:21:-1:-5:10:0,
11:21:-1,
20:21:90326:10:0:0:0,22:27:-1,
27:27:112406,0:28:-1,
3:28:115143,9:29:-1,
33:29:135545
Just to be sure: the extra six 0's (0:0:0:0:0:0) won't do anything here I believe. The 6 numbers are only needed if you fill in at least one non-zero number. They change the lum/chrom by the number. They don't set it to 0.

Just in case I wasn't very clear about that.

I know, it's the 7th "0" which is useful there

Offline theshadow27

  • Member
  • Posts: 28
  • Liked: 27
  • Likes Given: 7
At the risk of introducing additional confusion and coding difficulty, may I suggest IPV6-style notation for zeros,

:: --> 0:0:0:0:0:0

23:11:45354:0:0:0:0:0:0:0
23:11:45354::0

The '::' can only occur once and only fills zeros.

if the 7th 0 is different than having only 6 zeros, maybe change it to requiring a '-0' rather than '0' to distinguish the cases.

Edit: I have this implemented in a fork, waiting on michaelni to merge
« Last Edit: 05/15/2014 07:00 PM by theshadow27 »

Offline moralec

So I adapted iframe32 using the new options with:

X:57182:4,
40:0:-1,
17:1:5444,13:2:-1,
5:4:14914,43:4:-1,
7:5:19298,14:06:24261:0:0:0:0:0:0:0,23:11:45354:0:0:0:0:0:0:0,26:12:-1,
7:13:52167,7:14:-1,
17:15:62855,28:15:-1,
27:16:68962,21:17:72509:0:0:0:0:0:0:0,21:18:76689:0:0:0:0:0:0:0,24:18:76921:0:0:0:0:0:0:0,7:21:-1,
10:21:-1:-5:10:0,
11:21:-1,
20:21:90326:10:0:0:0,22:27:-1,
27:27:112406,0:28:-1,
3:28:115143,9:29:-1,
33:29:135545

I have not been able to replicate this using the online editor. Can you confirm that this is edit5?  ;)

Offline moralec

Some quick work on frame 52/old iframe 2. The bit flips are pretty much random...
X:25254:1,X:25299:1,X:53423:1,40:3:-1,6:4:9364,4:5:-1,6:5:11443,7:5:11487,0:7:-1,28:11:25250

Same here! Im afraind you guys were using an old version of edit5  :P

That's assuming I haven't done something wrong ;)

Offline moralec

hehehe indeed. Can someone using the FFmpeg utility directly confirm to us if the output of the editor is consistent?

Offline arnezami

  • Full Member
  • **
  • Posts: 284
  • Liked: 262
  • Likes Given: 346
I know, it's the 7th "0" which is useful there
Oooh. Sorry. I didn't count ;)

Offline Untribium

  • Member
  • Posts: 32
  • Switzerland
  • Liked: 32
  • Likes Given: 78
Some quick work on frame 52/old iframe 2. The bit flips are pretty much random...
X:25254:1,X:25299:1,X:53423:1,40:3:-1,6:4:9364,4:5:-1,6:5:11443,7:5:11487,0:7:-1,28:11:25250

Same here! Im afraind you guys were using an old version of edit5  :P

Yeah I just realized that...oh well, here we go again :D

EDIT: The new version is a lot cleaner! Great work Shanuson!
« Last Edit: 05/15/2014 07:19 PM by Untribium »

Offline arnezami

  • Full Member
  • **
  • Posts: 284
  • Liked: 262
  • Likes Given: 346
Hi Guys,

Here is my by-hand-aligned raw.ts, and all iframes after piping it through tsfix (tsalign still complains about one region but that's an misreport. Compare that part to raw.ts and you will see that all 47's are there and at the right position in that part. so don't use tsalign my that ts.)
I will update http://spacexlanding.wikispaces.com/Progress+on+edit5.ts after this post.
But i have to go back to do my original work, So this will probably be my last contribution. 
I used the continuity bit and my best judgement to edit raw.ts to get that outcome.
There was on 56byte missing part where i am not 100% sure I add the 56 FF at the right position, I was a gap of 5 188 blocks with one missing 56 bytes. I added the 56 byte to the last one and marked it by 12 34 56 78 for the first 4 of those 56 Bytes.

Have fun with it :D

Cheers Shanuson

I just want to give you a very big thank you for this.  :)

Offline michaelni

  • Member
  • Posts: 28
  • Liked: 23
  • Likes Given: 0
So back to the P-frames...

So this is an example of a P-frame (frame192). I ploted the motion vectors to see if they are also correctly modified. I used the following command lines for both images:

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 -vismv 7 -s:0 704:480 -i frame192.mpg4-img -f image2 frame_192_mv_mod.png

Now instead of creating a png, is it possible to directly store the modified one as a P-frame? If yes, how? Or does something have to be implemented?

You can flip bits or move bits around in the frame and or the ts file using a hex editor or some other tool, keeping the data otherwise exactly intact. Or all the changes which are possible through mmb could be applied while decoding, this would require to make mmb work with multiple frames.
Some changes now possible with mmb like changing dc prediction direction can not be represented within the bitstream so they could not be added into frames.  Unless the frames are simply reencoded to high quality I-Frames (which in some sense is cheating but still may be a usefull tool)

Offline Untribium

  • Member
  • Posts: 32
  • Switzerland
  • Liked: 32
  • Likes Given: 78
Frame 52 (now using the most recent ts :)) )
40:3:-1,6:4:9364,4:5:-1,6:5:11443,7:5:11487,5:6:13496:0:0:0:0:0:-2,0:7:-1,38:11:26080:0:-4:-1:2:0:0,
31:12:28067:3:1:0:0,34:12:28226:-1,40:14:34617:-3:0:2:0,40:16:42426:-1:0:-4:-5,33:17:44961:0:-7:0:0:-2:0

Offline FutureSpaceTourist

  • Senior Member
  • *****
  • Posts: 6562
  • UK
    • Plan 28
  • Liked: 6265
  • Likes Given: 1889
Amazing thread; it's fantastic to see what you are all achieving.

Am I the only one thinking some of the frames currently look very Turneresque?!

Offline moralec

Frame 52 (now using the most recent ts :)) )
40:3:-1,6:4:9364,4:5:-1,6:5:11443,7:5:11487,5:6:13496:0:0:0:0:0:-2,0:7:-1,38:11:26080:0:-4:-1:2:0:0,
31:12:28067:3:1:0:0,34:12:28226:-1,40:14:34617:-3:0:2:0,40:16:42426:-1:0:-4:-5,33:17:44961:0:-7:0:0:-2:0

Perfect! Great work!

Offline saliva_sweet

  • Full Member
  • ****
  • Posts: 557
  • Liked: 431
  • Likes Given: 1357
Haven't had time to work on this for a while, but here's my latest attempt at the cursed frame 72 (ex iframe4), incorporating work by SwissCheese and seanpg71. I've been trying to get to the badly corrupted business end of the rocket but I fear this is little more than bad art and figments of my imagination. My current techiques don't allow much better, may need to develop new ones for this.

mmb attached as .txt file:
« Last Edit: 05/15/2014 10:52 PM by saliva_sweet »

Offline theshadow27

  • Member
  • Posts: 28
  • Liked: 27
  • Likes Given: 7
Ugg dumb question guys.

I assumed (as does the logic in the online editor) for X:pos:mask, mask was a hexadecimal value ("00" to "FF").

When I was adding the "::" to h263dec.c, I noticed the sscanf is using %d, which means it's decimal.

Which way is right/intended? Edit: so that I can update the wiki with the correct info…


Edit2: Ok, I was looking at the wrong line. The X:pos:mask IS a hex mask

but

The new DC inherit direction is a decimal mask. This should probs be changed to hex, if not too many people are using it.
« Last Edit: 05/15/2014 09:35 PM by theshadow27 »

Offline lewing

  • Member
  • Posts: 1
  • Liked: 2
  • Likes Given: 12
Here is my best attempt at frame 150 from edit8.ts

X:18494:1,20:5:-1,33:6:23509,14:12:-1,18:12:46628,15:13:-1:24,16:13:50797:20,19:14:57637,
18:15:-1:0:0:4:2::14,25:15:66746,24:16:72453,32:18:-1:1:10:-3:6,35:18:87166,39:19:94065,
43:19:-1,0:20:94827,12:20:-1,43:20:101568,31:21:106253,33:22:112514,22:23:-1,
23:23:119825,26:23:-2,0:26:128548,5:27:-1,9:27:133159,0:29:142356,2:29:147166

Offline mvpel

  • Full Member
  • ****
  • Posts: 1124
  • New Hampshire
  • Liked: 1295
  • Likes Given: 1686
Haven't had time to work on this for a while, but here's my latest attempt at the cursed frame 72 (ex iframe4), incorporating work by SwissCheese and seanpg71. I've been trying to get to the badly corrupted business end of the rocket but I fear this is little more than bad art and figments of my imagination. My current techiques don't allow much better, may need to develop new ones for this.

Perhaps someone from SpaceX can tell us whether or not we should expect to see some indication of leg deployment 1.3 seconds before what's depicted in the next iframe, shown here:

"Ugly programs are like ugly suspension bridges: they're much more liable to collapse than pretty ones, because the way humans (especially engineer-humans) perceive beauty is intimately related to our ability to process and understand complexity. A language that makes it hard to write elegant code makes it hard to write good code." - Eric S. Raymond

Offline moralec

Haven't had time to work on this for a while, but here's my latest attempt at the cursed frame 72 (ex iframe4), incorporating work by SwissCheese and seanpg71. I've been trying to get to the badly corrupted business end of the rocket but I fear this is little more than bad art and figments of my imagination. My current techiques don't allow much better, may need to develop new ones for this.

mmb: 5:1:4200,0:3:10968,8:3:14762,28:3:16550,24:4:20286,40:4:-1,9:6:21857,13:11:39488,37:11:41549,
10:12:-1,11:12:42693,30:12:-1,32:12:43895,24:13:-1,18:14:50986,8:15:-1,19:15:54479,20:15:54791,
2:16:-1,8:16:58952,13:16:-1,15:16:59896,20:16:61472,24:16:-1,27:16:63538,18:17:69075,27:17:-1,
13:18:74459,30:20:-1,41:20:91288,32:21:-1,34:21:96927,25:22:-1,41:22:104774,0:24:-1,
17:26:122506,0:27:-1,24:27:127453,6:28:-1

Looks amazing. But what .ts are you using? Im getting something slightly differnt on edit8

Offline saliva_sweet

  • Full Member
  • ****
  • Posts: 557
  • Liked: 431
  • Likes Given: 1357

Looks amazing. But what .ts are you using? Im getting something slightly differnt on edit8

Edit5. The last one in the online editor. It's a useful tool. It was the same in edit5 and try1 so I assumed it would be the same in edit8 too. I'll check edit8.

Edit: I got the same thing from edit8. The one posted here: http://forum.nasaspaceflight.com/index.php?topic=34597.msg1198706#msg1198706

Edit2: I have somehow managed to post a bad mmb, I apologize.

Still bad, something's wrong with my pasting skills.
5:1:4200,0:3:10968,8:3:14762,28:3:16550,24:4:20286,40:4:-1,9:6:21857,13:11:39488,37:11:41549,
10:12:-1,11:12:42693,30:12:-1,32:12:43895,24:13:-1,18:14:50986,8:15:-1,19:15:54479,
20:15:54791,2:16:-1,8:16:58952,13:16:-1,15:16:59896,20:16:61472,24:16:-1,27:16:63538,
18:17:69075,27:17:-1,13:18:74459,30:20:-1,41:20:91288,32:21:-1,34:21:96927,25:22:-1,
41:22:104774,0:24:-1,17:26:122506,0:27:-1,24:27:127453,6:28:-1
« Last Edit: 05/15/2014 10:40 PM by saliva_sweet »

Tags: