Re: h264 video recording

2013-03-02 Thread seba.wag...@gmail.com
Great!


2013/3/1 Maxim Solodovnik solomax...@gmail.com

 Thanks! :)


 On Thu, Feb 28, 2013 at 11:26 PM, Stephen Cottham 
 stephen.cott...@robertbird.com.au wrote:

  Ok just tested that now and can confirm the recording from interview
 plays
  back fine, and doing an inspection on the file codec shows:
 
  MPEG-4 Video (FMP4)
  Resolution 640x240
  Frame rate: 25
  Decoded format: Planar 4:2:0 YUV
 
  Looks good from my end, I'll upload the document to the wiki now.
 
  Cheers
 
 
 
  -Original Message-
  From: Maxim Solodovnik [mailto:solomax...@gmail.com]
  Sent: 28 February 2013 16:15
  To: dev
  Cc: Sebastian Wagner
  Subject: Re: h264 video recording
 
  H264 support was added to trunk today (already in the SVN, will be
  available with the next nightly build) Actually to see H264 in recording
  you need to record interview
 
 
  On Thu, Feb 28, 2013 at 11:10 PM, Stephen Cottham 
  stephen.cott...@robertbird.com.au wrote:
 
   Hey Maxim,
  
   Ive built the OM2.1 with the H264 codec support.
  
   I have recorded a video and exported it out and it plays fine, im
   assuming that the H264 codec is being used in the latest SVN for 2.1?
  
   If not do you want me to test it out?
  
   If it is then it appears to be working fine and I will upload the
   document for Ubuntu 12.10.
  
   Cheers
  
  
  
   Stephen Cottham
   Group IT Manager (Associate)
  
   Robert Bird Group
   Level 5, 333 Ann St
   Brisbane, Queensland, 4000, Australia
   Phone: +6173 319 2777 (AUS)
   Phone: +44207 633 2880 (UK)
   Fax: +6173 319 2799
  
   Mobile:  +61400 756 963 (AUS)
   Mobile:  +447900 918 616 (UK)
   Web: www.robertbird.com
  
  
   This email and any attachments are confidential and may contain
   legally privileged information or copyright material. Unless expressly
   stated, confidentiality and/or legal privilege is not intended to be
   waived by the sending of this email. The contents of this email,
   including any attachments, are intended solely for the use of the
   individual or entity to whom they are addressed. If you are not an
   intended recipient, please contact us immediately by return email and
   then delete both messages. You may not otherwise read, forward, copy,
   use or disclose this email or any attachments. Any views expressed in
   this email are those of the individual sender except where the sender
   expressly, and with authority, states otherwise. It is your
   responsibility to check any attachments for viruses or defects before
   opening or sending them on. None of the sender or its related entities
   accepts any liability for any consequential damage resulting from this
  email containing computer viruses.
  
   Disclaimer added by CodeTwo Exchange Rules http://www.codetwo.com
  
   -Original Message-
   From: Maxim Solodovnik [mailto:solomax...@gmail.com]
   Sent: 28 February 2013 14:10
   To: dev
   Cc: Sebastian Wagner
   Subject: Re: h264 video recording
  
   done
   video codec is changed :)
  
  
   On Thu, Feb 28, 2013 at 8:53 PM, Maxim Solodovnik
   solomax...@gmail.com
   wrote:
  
@Stephen yes please :) I used
https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide while
testing
:) it is very detailed.
   
   
On Thu, Feb 28, 2013 at 7:40 PM, Stephen Cottham 
stephen.cott...@robertbird.com.au wrote:
   
Hi Maxim,
   
Did you want me to include the H264 into the FFMPEG build
  instructions?
   
Best Regards
   
   
   
Stephen Cottham
Group IT Manager (Associate)
   
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 633 2880 (UK)
Fax: +6173 319 2799
   
Mobile:  +61400 756 963 (AUS)
Mobile:  +447900 918 616 (UK)
Web: www.robertbird.com
   
   
This email and any attachments are confidential and may contain
legally privileged information or copyright material. Unless
expressly stated, confidentiality and/or legal privilege is not
intended to be waived by the sending of this email. The contents of
this email, including any attachments, are intended solely for the
use of the individual or entity to whom they are addressed. If you
are not an intended recipient, please contact us immediately by
return email and then delete both messages. You may not otherwise
read, forward, copy, use or disclose this email or any attachments.
Any views expressed in this email are those of the individual
sender except where the sender expressly, and with authority,
states otherwise. It is your responsibility to check any
attachments for viruses or defects before opening or sending them
on. None of the sender or its related entities accepts any
liability for any
   consequential damage resulting from this email containing computer
  viruses.
   
Disclaimer added by CodeTwo Exchange Rules http://www.codetwo.com
   
-Original Message-
From: Maxim

Re: h264 video recording

2013-02-28 Thread Maxim Solodovnik
done
video codec is changed :)


On Thu, Feb 28, 2013 at 8:53 PM, Maxim Solodovnik solomax...@gmail.comwrote:

 @Stephen yes please :) I used
 https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide while testing
 :) it is very detailed.


 On Thu, Feb 28, 2013 at 7:40 PM, Stephen Cottham 
 stephen.cott...@robertbird.com.au wrote:

 Hi Maxim,

 Did you want me to include the H264 into the FFMPEG build instructions?

 Best Regards



 Stephen Cottham
 Group IT Manager (Associate)

 Robert Bird Group
 Level 5, 333 Ann St
 Brisbane, Queensland, 4000, Australia
 Phone: +6173 319 2777 (AUS)
 Phone: +44207 633 2880 (UK)
 Fax: +6173 319 2799

 Mobile:  +61400 756 963 (AUS)
 Mobile:  +447900 918 616 (UK)
 Web: www.robertbird.com


 This email and any attachments are confidential and may contain legally
 privileged information or copyright material. Unless expressly stated,
 confidentiality and/or legal privilege is not intended to be waived by the
 sending of this email. The contents of this email, including any
 attachments, are intended solely for the use of the individual or entity to
 whom they are addressed. If you are not an intended recipient, please
 contact us immediately by return email and then delete both messages. You
 may not otherwise read, forward, copy, use or disclose this email or any
 attachments. Any views expressed in this email are those of the individual
 sender except where the sender expressly, and with authority, states
 otherwise. It is your responsibility to check any attachments for viruses
 or defects before opening or sending them on. None of the sender or its
 related entities accepts any liability for any consequential damage
 resulting from this email containing computer viruses.

 Disclaimer added by CodeTwo Exchange Rules
 http://www.codetwo.com

 -Original Message-
 From: Maxim Solodovnik [mailto:solomax...@gmail.com]
 Sent: 28 February 2013 09:54
 To: seba.wag...@gmail.com
 Cc: dev
 Subject: Re: h264 video recording

 The issue seems to be resolved
 due to copy/paste parameters of H264 and camera were not in sync.
 After code generalization everything is saved as expected

 I'm going to commit my changes
 and ask Stephen Cottham to update his build instructions

 Is it OK?


 On Thu, Feb 28, 2013 at 2:47 PM, seba.wag...@gmail.com 
 seba.wag...@gmail.com wrote:

  yeah but if some ffmpeg geek looks at the actual file he might be also
  able telling us why :))
 
  Have you tried converting the flv to an avi with FFMPEG ? Does that
 work?
 
  Sebastian
 
 
  2013/2/28 Maxim Solodovnik solomax...@gmail.com
 
  all my searches regarding ffmpeg output end up with: your file is
 broken
  I'll try to create such report and sample video
 
 
  On Thu, Feb 28, 2013 at 1:20 PM, seba.wag...@gmail.com 
  seba.wag...@gmail.com wrote:
 
  Unfortunately I have no machine for testing and debugging now.
  You might put the recordings up somewhere so that I can grep them as
  soon as I can test it.
 
  But it would make sense to documentate the issue together with the
  ffmpeg command and write an email to the FFMPEG list.
 
  Sebastian
 
 
  2013/2/28 Maxim Solodovnik solomax...@gmail.com
 
  Should I create/send you the recordings?
 
 
  On Thu, Feb 28, 2013 at 12:12 PM, Maxim Solodovnik 
  solomax...@gmail.com wrote:
 
  The command is
  ffmpeg -i ../rec_56_stream_2_27_02_2013_20_19_36.flv -vf
  scale=320:240 -an frames/ffout%03d.png
 
  ffmpeg was compiled from the sources using this
  https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
  instruction
 
  I can send you flv file(s) I have 7 (created with different client
  settings)
 
  but the more I'm looking at it the more I believe flv file created
  with our stream writer is broken ...
 
 
 
 
  On Thu, Feb 28, 2013 at 12:06 PM, seba.wag...@gmail.com 
  seba.wag...@gmail.com wrote:
 
  Did you trace it down already so that you can post the raw ffmpeg
  command together with the raw FLV file so we can test this
  isolated without making any recording?
 
  Sebastian
 
 
  2013/2/28 Maxim Solodovnik solomax...@gmail.com
 
  Hello Sebastian,
 
  Currently I'm trying to switch video codec on client to be H264.
  The video works as expected (not sure how quality is changed)
  The only problem I currently have related to recording:
  While processing recording of type interview we are trying to
  convert flv video to the sequence of images using ffmpeg.
 
  this type of conversion is failed.
 
  I did update ffmpeg, x264 and other dependencies to have latest
  available version form the git.
  ffmpeg was rebuilt with x264 support
 
  but the video made by OM is not convertable
 
  I have tried to make changes on client (playing with
  H264VideoStreamSettings options) but this have minimal or no
  effect
 
  According to ffmpeg errors:
 
  [h264 @ 0x9c0ce60] no frame!
  Last message repeated 113 times
 
  I guess some info is not written into the stream (SPS PPS) Maybe
  you know how stream should be serialized to have

RE: h264 video recording

2013-02-28 Thread Stephen Cottham
Looks good, just running thru the install with it now and will update as I go.

Will need to check the differences for Debian but I'll start with Ubuntu.

Cheers


-Original Message-
From: Maxim Solodovnik [mailto:solomax...@gmail.com] 
Sent: 28 February 2013 13:53
To: dev
Cc: Sebastian Wagner
Subject: Re: h264 video recording

@Stephen yes please :) I used
https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide while testing :) it 
is very detailed.


On Thu, Feb 28, 2013 at 7:40 PM, Stephen Cottham  
stephen.cott...@robertbird.com.au wrote:

 Hi Maxim,

 Did you want me to include the H264 into the FFMPEG build instructions?

 Best Regards



 Stephen Cottham
 Group IT Manager (Associate)

 Robert Bird Group
 Level 5, 333 Ann St
 Brisbane, Queensland, 4000, Australia
 Phone: +6173 319 2777 (AUS)
 Phone: +44207 633 2880 (UK)
 Fax: +6173 319 2799

 Mobile:  +61400 756 963 (AUS)
 Mobile:  +447900 918 616 (UK)
 Web: www.robertbird.com


 This email and any attachments are confidential and may contain 
 legally privileged information or copyright material. Unless expressly 
 stated, confidentiality and/or legal privilege is not intended to be 
 waived by the sending of this email. The contents of this email, 
 including any attachments, are intended solely for the use of the 
 individual or entity to whom they are addressed. If you are not an 
 intended recipient, please contact us immediately by return email and 
 then delete both messages. You may not otherwise read, forward, copy, 
 use or disclose this email or any attachments. Any views expressed in 
 this email are those of the individual sender except where the sender 
 expressly, and with authority, states otherwise. It is your 
 responsibility to check any attachments for viruses or defects before 
 opening or sending them on. None of the sender or its related entities 
 accepts any liability for any consequential damage resulting from this email 
 containing computer viruses.

 Disclaimer added by CodeTwo Exchange Rules http://www.codetwo.com

 -Original Message-
 From: Maxim Solodovnik [mailto:solomax...@gmail.com]
 Sent: 28 February 2013 09:54
 To: seba.wag...@gmail.com
 Cc: dev
 Subject: Re: h264 video recording

 The issue seems to be resolved
 due to copy/paste parameters of H264 and camera were not in sync.
 After code generalization everything is saved as expected

 I'm going to commit my changes
 and ask Stephen Cottham to update his build instructions

 Is it OK?


 On Thu, Feb 28, 2013 at 2:47 PM, seba.wag...@gmail.com  
 seba.wag...@gmail.com wrote:

  yeah but if some ffmpeg geek looks at the actual file he might be 
  also able telling us why :))
 
  Have you tried converting the flv to an avi with FFMPEG ? Does that work?
 
  Sebastian
 
 
  2013/2/28 Maxim Solodovnik solomax...@gmail.com
 
  all my searches regarding ffmpeg output end up with: your file is
 broken
  I'll try to create such report and sample video
 
 
  On Thu, Feb 28, 2013 at 1:20 PM, seba.wag...@gmail.com  
  seba.wag...@gmail.com wrote:
 
  Unfortunately I have no machine for testing and debugging now.
  You might put the recordings up somewhere so that I can grep them 
  as soon as I can test it.
 
  But it would make sense to documentate the issue together with the 
  ffmpeg command and write an email to the FFMPEG list.
 
  Sebastian
 
 
  2013/2/28 Maxim Solodovnik solomax...@gmail.com
 
  Should I create/send you the recordings?
 
 
  On Thu, Feb 28, 2013 at 12:12 PM, Maxim Solodovnik  
  solomax...@gmail.com wrote:
 
  The command is
  ffmpeg -i ../rec_56_stream_2_27_02_2013_20_19_36.flv -vf
  scale=320:240 -an frames/ffout%03d.png
 
  ffmpeg was compiled from the sources using this 
  https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide
  instruction
 
  I can send you flv file(s) I have 7 (created with different 
  client
  settings)
 
  but the more I'm looking at it the more I believe flv file 
  created with our stream writer is broken ...
 
 
 
 
  On Thu, Feb 28, 2013 at 12:06 PM, seba.wag...@gmail.com  
  seba.wag...@gmail.com wrote:
 
  Did you trace it down already so that you can post the raw 
  ffmpeg command together with the raw FLV file so we can test 
  this isolated without making any recording?
 
  Sebastian
 
 
  2013/2/28 Maxim Solodovnik solomax...@gmail.com
 
  Hello Sebastian,
 
  Currently I'm trying to switch video codec on client to be H264.
  The video works as expected (not sure how quality is changed) 
  The only problem I currently have related to recording:
  While processing recording of type interview we are trying to 
  convert flv video to the sequence of images using ffmpeg.
 
  this type of conversion is failed.
 
  I did update ffmpeg, x264 and other dependencies to have 
  latest available version form the git.
  ffmpeg was rebuilt with x264 support
 
  but the video made by OM is not convertable
 
  I have tried to make changes on client (playing with 
  H264VideoStreamSettings options