It the latest version of the ffmpeg code on the git repo? I'm thinking of doing a completely new editor in a different way which should lend itself to doing this a bit better.
./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
As far as the editor functionality is concerned, do p frames only contain some macroblocks per frame? should the user only be able to add mmb operations in certain x/y positions? Or should they be able to do what they want?
[mpeg4 @ 0x60008d3c0] MB pos/size: 0 001:29:08:0 1 dc: 128 128 128 128 - 128 128MB pos/size: 0 006:29:03:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60009a2a0] , MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000a36a0] MB pos/size: 0 009:31:00:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60009d440] MB pos/size: 0 007:30:02:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60008dde0] MB pos/size: 0 002:29:07:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x600090f80] MB pos/size: 0 003:30:06:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000a0500] MB pos/size: 0 008:31:01:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x600094040] MB pos/size: 0 004:28:05:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000971e0] MB pos/size: 0 005:29:04:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60008d3c0] MB pos/size: 0 001:30:08:0 1 dc: 128 128 128 128 - 128 128, MB_type: 14344, MV: 0 0
[mpeg4 @ 0x600090f80] MB pos/size: 0 000:09:20:0 1 dc: 0 0 0 0 - 0 0MB pos/size: 0 000:10:19:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000971e0] MB pos/size: 0 000:11:18:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000971e0] , MB_type: 14344, MV: 0 0
OK cool, am I right in thinking there's a whole bunch of extra stuff coming out of the log now? Also some things don't seem to be coming out in "order" as far as frame numbers go.Quote[mpeg4 @ 0x60008d3c0] MB pos/size: 0 001:29:08:0 1 dc: 128 128 128 128 - 128 128MB pos/size: 0 006:29:03:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60009a2a0] , MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000a36a0] MB pos/size: 0 009:31:00:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60009d440] MB pos/size: 0 007:30:02:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60008dde0] MB pos/size: 0 002:29:07:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x600090f80] MB pos/size: 0 003:30:06:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000a0500] MB pos/size: 0 008:31:01:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x600094040] MB pos/size: 0 004:28:05:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000971e0] MB pos/size: 0 005:29:04:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x60008d3c0] MB pos/size: 0 001:30:08:0 1 dc: 128 128 128 128 - 128 128, MB_type: 14344, MV: 0 0Is that normal?
I also have a few lines that look like this:Quote[mpeg4 @ 0x600090f80] MB pos/size: 0 000:09:20:0 1 dc: 0 0 0 0 - 0 0MB pos/size: 0 000:10:19:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000971e0] MB pos/size: 0 000:11:18:0 1 dc: 0 0 0 0 - 0 0, MB_type: 14344, MV: 0 0[mpeg4 @ 0x6000971e0] , MB_type: 14344, MV: 0 0There's 2 MB pos/size things on 1 line and a little further down some stuff is missing.
I'm compiling for windows under cygwin, so could be that, using the latest git repo with that file changed.
Hi guys,Proof of concept time Here are the first 4 frames of the fixed_edit8_part_169.ts file.I did a bit of a quick and dirty hack job but you can see multiple mmb commands are working nicely .Here is the mmmb I used:FRAME0:08:14:-1:15:-15:1:14:-2:1,---snip--You can see the P-frames blend in now with the frames before them. Also added an animated GIF just for kicks. Regards,arnezami[edit] I used 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
Quote from: IainCole on 05/19/2014 07:50 pmI'm compiling for windows under cygwin, so could be that, using the latest git repo with that file changed.'Which command you use?
ffmpeg.exe -r 44999/3003 -mmb `cat mmb.txt` -debug mb_pos_size -err_detect ignore_err -i fixed_edit8_part_169.ts -f image2 fixed_edit8_part_169_%03d.png
You can see the P-frames blend in now with the frames before them. Also added an animated GIF just for kicks.
Proof of concept time
Quote from: SwissCheese on 05/19/2014 05:07 pmI know, but I cannot manage to make the multiple mmb work correctly, still the same issue... Maybe I should try to install everything on a unix/linux machine?Are you using the mmb's your earlier created for the mpg4-img files? Because they are indeed incompatible with multiple frame decoding. In other words: they are useless. You have to create new mmb's by using the multiple mmb format and with the fixed_edit8_part_169.ts file. Or is that also not working for you?I will try it myself soon.Regards,arnezami[edit] To make it absolutely clear: you should not use the mpg4-img files for P-frames!
I know, but I cannot manage to make the multiple mmb work correctly, still the same issue... Maybe I should try to install everything on a unix/linux machine?
Quote from: arnezami on 05/19/2014 07:29 pmProof of concept time That gif looks awsome! (I'm adding it on the wiki).On other news the table in the wiki is ready, for those that are fixing the headers on the pframes
Quote from: moralec on 05/19/2014 08:42 pmQuote from: arnezami on 05/19/2014 07:29 pmProof of concept time That gif looks awsome! (I'm adding it on the wiki).On other news the table in the wiki is ready, for those that are fixing the headers on the pframes I have difficulty finding stuff in the wiki now. Shouldn't the stuff we are working on be right at the top? Also this pframe pages, how do I find them? I'm really confused atm.
I'm trying to install ffmpeg on a unix machine, but since I have no superuser rights, I have issues, can't get ffmpeg using yasm, so I cannot compile... and I'm really no linux/unix specialist