[MPlayer-users] forward frame-stepping ...

Albretch Mueller lbrtchx at gmail.com
Mon Jun 18 18:25:09 CEST 2012


not that this is a smart way to do this. I may have to read up more on
mencoder's way to do this, but simply going:

$ ffmpeg -i <input file> -y -f image2 %04d.jpg

 and using high, medium and low sample files from Terry Moore's short
"Why is 'x' the unknown?" TED.com video

 ted.com/talks/lang/en/terry_moore_why_is_x_the_unknown.html

 I (apparently) got all images the video is based on, yet what I
really have in mind is an algorithm that would go like this:

 1) get keyimage
 1.1) get all transitions from 1 as some sort of lossless format in
order to get some bitmap/matrix-like kind of data
 1.1.1) if there are too many transitions from 1 depending on the
size/resolution ... of a frame
 1.1.1.1) get a number of transitions
 1.1.1.2) loop 1.1.1.1 by getting the next number of them ...
 2) gradually reconstruct file to make sure that the inner processing
is authentic
 3) loop 1
 4) check/compare initial and reconstructed file
~
 Any tips about ANSI C/C++ or java code, tutorials or books that would
help me with this?
~
 lbrtchx
~
$ ls -l TerryMoore_2012*.mp4
-rw-r--r-- 1 knoppix knoppix 31837005 May 22 21:23 TerryMoore_2012-480p.mp4
-rw-r--r-- 1 knoppix knoppix  2258980 May 22 21:22 TerryMoore_2012-light.mp4
-rw-r--r-- 1 knoppix knoppix 13708276 May 22 21:21 TerryMoore_2012.mp4

$ md5sum -b TerryMoore_2012*.mp4
8bd108b5c39108a8f826b6833697bf2b *TerryMoore_2012-480p.mp4
3338f0de6f8d35ea88354f0228d6f38b *TerryMoore_2012-light.mp4
340ede49eb4f4da98a21589a5896d869 *TerryMoore_2012.mp4
~
$ du 2012*
39680  2012
83316  2012-480p
13056  2012-light
~
// __ high resolution (TerryMoore_2012-480p.mp4):
~
  Duration: 00:04:27.05, start: 0.000000, bitrate: 953 kb/s
    Stream #0.0(und): Video: h264 (Main), yuv420p, 854x480 [PAR
1280:1281 DAR 16:9], 869 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
~
// __ medium resolution (TerryMoore_2012.mp4):
~
  Duration: 00:03:57.20, start: 0.083333, bitrate: 462 kb/s
    Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p,
512x288 [PAR 1:1 DAR 16:9], 410 kb/s, 24 fps, 24 tbr, 24 tbn, 48 tbc
~
// __ low resolution (TerryMoore_2012-light.mp4):
~
  Duration: 00:04:27.25, start: 0.000000, bitrate: 67 kb/s
    Stream #0.0(und): Video: h264 (Constrained Baseline), yuv420p,
320x180 [PAR 1:1 DAR 16:9], 40 kb/s, 12 fps, 12 tbr, 12 tbn, 24 tbc
~


More information about the MPlayer-users mailing list