Occasional bad fragments from f4fpackager?


hello

 

i experiencing occasional odd behavior on packaged content. sometimes, when playing stream, player stalls on fragment. manually skipping forward minute solves stall , player continues playing stream.

 

i see behavior in several different players (pure osmf strobe, mpx theplatform's player) across multiple os , flash 10.x , 11.x runtimes.

 

if take same input .mp4 files (i use multiple bitrates) , repackage, using exact same f4fpackager command, output playable. have tried v4.5.1 , v5 of f4fpackager , see same behavior. there no errors or warnings thrown during packaging process.

 

this problem of stalls major problem vod service have manually through each bitrate , check playable without stalls.

 

i saved 2 .f4f files: 1 fails , 1 works. not knowing format of f4f (i cannot find parser) post findings here. perhaps triggers someone's knowledge. can hope. let me know if more info needed.

 

 

the files of identical size:

 

$ ls -l correct_seg1.f4f failed_seg1.f4f -rw-r--r-- 1 hans hans 91378076 dec  5 09:20 correct_seg1.f4f -rw-r--r-- 1 hans hans 91378076 dec  4 18:07 failed_seg1.f4f 

 

but don't contain same content:

 

$ diff correct_seg1.f4f failed_seg1.f4f  binary files correct_seg1.f4f , failed_seg1.f4f differ  $ cmp -l -b correct_seg1.f4f failed_seg1.f4f       55 346 m-f  266 m-6       56 130 x      7 ^g       63 346 m-f  266 m-6       64 130 x      7 ^g      183 346 m-f  266 m-6      184 130 x      7 ^g      191 346 m-f  266 m-6      192 130 x      7 ^g      295 346 m-f  266 m-6      296 130 x      7 ^g      303 346 m-f  266 m-6      304 130 x      7 ^g    40757 346 m-f  266 m-6    40758 130 x      7 ^g    40765 346 m-f  266 m-6    40766 130 x      7 ^g    40869 346 m-f  266 m-6    40870 130 x      7 ^g    40877 346 m-f  266 m-6    40878 130 x      7 ^g    81280 346 m-f  266 m-6    81281 130 x      7 ^g    81288 346 m-f  266 m-6    81289 130 x      7 ^g    81416 346 m-f  266 m-6    81417 130 x      7 ^g    81424 346 m-f  266 m-6    81425 130 x      7 ^g 

 

a more visual diff using emacs hexl-mode:

 

correct file, notice "x"  (hex cce3 e658)

 

00000000: 0000 001c 6674 7970 6634 7620 0000 0001  ....ftypf4v .... 00000010: 6973 6f6d 6d70 3432 6d34 7620 0001 e007  isommp42m4v .... 00000020: 6d6f 6f76 0000 0078 6d76 6864 0100 0000  moov...xmvhd.... 00000030: 0000 0000 cce3 e658 0000 0000 cce3 e658  .......x.......x 00000040: 0000 03e8 0000 0000 0002 45eb 0001 0000  ..........e..... 00000050: 0100 0000 0000 0000 0000 0000 0001 0000  ................ 00000060: 0000 0000 0000 0000 0000 0000 0001 0000  ................ 00000070: 0000 0000 0000 0000 0000 0000 4000 0000  ............@... 00000080: 0000 0000 0000 0000 0000 0000 0000 0000  ................ 00000090: 0000 0000 0000 0000 0000 0004 0000 9e7e  ...............~ 000000a0: 7472 616b 0000 0068 746b 6864 0100 000f  trak...htkhd.... 000000b0: 0000 0000 cce3 e658 0000 0000 cce3 e658  .......x.......x 000000c0: 0000 0001 0000 0000 0000 0000 0002 45b9  ..............e. 000000d0: 0000 0000 0000 0000 0000 0000 0100 0000  ................ 000000e0: 0001 0000 0000 0000 0000 0000 0000 0000  ................ 000000f0: 0001 0000 0000 0000 0000 0000 0000 0000  ................ 00000100: 4000 0000 0400 0000 0240 0000 0000 01a2  @........@...... 00000110: 6d64 6961 0000 002c 6d64 6864 0100 0000  mdia...,mdhd.... 00000120: 0000 0000 cce3 e658 0000 0000 cce3 e658  .......x.......x 00000130: 0000 03e8 0000 0000 0002 45b9 15c7 0000  ..........e..... 00000140: 0000 002c 6864 6c72 0000 0000 0000 0000  ...,hdlr........ 00000150: 7669 6465 0000 0000 0000 0000 0000 0000  vide............ ... 

 

incorrect failed file, notice absence of "x"  (hex cce3 b607)

 

00000000: 0000 001c 6674 7970 6634 7620 0000 0001  ....ftypf4v .... 00000010: 6973 6f6d 6d70 3432 6d34 7620 0001 e007  isommp42m4v .... 00000020: 6d6f 6f76 0000 0078 6d76 6864 0100 0000  moov...xmvhd.... 00000030: 0000 0000 cce3 b607 0000 0000 cce3 b607  ................ 00000040: 0000 03e8 0000 0000 0002 45eb 0001 0000  ..........e..... 00000050: 0100 0000 0000 0000 0000 0000 0001 0000  ................ 00000060: 0000 0000 0000 0000 0000 0000 0001 0000  ................ 00000070: 0000 0000 0000 0000 0000 0000 4000 0000  ............@... 00000080: 0000 0000 0000 0000 0000 0000 0000 0000  ................ 00000090: 0000 0000 0000 0000 0000 0004 0000 9e7e  ...............~ 000000a0: 7472 616b 0000 0068 746b 6864 0100 000f  trak...htkhd.... 000000b0: 0000 0000 cce3 b607 0000 0000 cce3 b607  ................ 000000c0: 0000 0001 0000 0000 0000 0000 0002 45b9  ..............e. 000000d0: 0000 0000 0000 0000 0000 0000 0100 0000  ................ 000000e0: 0001 0000 0000 0000 0000 0000 0000 0000  ................ 000000f0: 0001 0000 0000 0000 0000 0000 0000 0000  ................ 00000100: 4000 0000 0400 0000 0240 0000 0000 01a2  @........@...... 00000110: 6d64 6961 0000 002c 6d64 6864 0100 0000  mdia...,mdhd.... 00000120: 0000 0000 cce3 b607 0000 0000 cce3 b607  ................ 00000130: 0000 03e8 0000 0000 0002 45b9 15c7 0000  ..........e..... 00000140: 0000 002c 6864 6c72 0000 0000 0000 0000  ...,hdlr........ 00000150: 7669 6465 0000 0000 0000 0000 0000 0000  vide............ ... 

 

any insights welcome.

 

thanks!

hans

how generating vod mp4 files @ first place? encoder use? saying same mp4 file - f4fpackager gives different results @ different times?



More discussions in Adobe Media Server


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached