Results 1 to 5 of 5

Thread: Seek problem when recording from Webcam

  1. #1

    Default Seek problem when recording from Webcam

    I am capturing video from my webcam using Flash / AS3, connecting to an application of type "live" and then recording the stream using the Live Stream Record module. When I record from my webcam, sometimes it produces an unplayable block of time ranging from 5 - 10 seconds in which I cannot seek or playback that portion of the video. Are you familiar with this symptom? If not, I can point you to an example file. Maybe it has something to do with keyframes?

    This never happens when I use FMLE. Only from my webcam. It is also intermittent - sometimes it happens, sometimes it doesn't though I've noticed it is most common when the recording is very short, less than 30 seconds.

  2. #2

    Default

    Here are the logs of the recording session:

    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord HTTPRequest - - - 548.858
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord action: startRecording - - - 548.859
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord app: phlive - - - 548.861
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord streamName: 9escnfw02r - - - 548.863
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord outputPath: c:/share/liverecording/9escnfw02r.flv - - - 548.865 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord append: false - - - 548.866 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord version: true - - - 548.867
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord startOnKeyFrame: true - - - 548.869
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord recordData: true - - - 548.871
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord format (1=flv, 2=mp4): 1 - - - 548.873
    2012-01-23 16:41:11 EST comment server INFO 200 - ModuleStreamRecord.startRecording - - - 548.875
    2012-01-23 16:41:13 EST comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[phlive/_definst_/9escnfw02r]: Audio codec:NELLYMOSER isCompatible:false - - - 551.357
    2012-01-23 16:41:13 EST comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket[phlive/_definst_/9escnfw02r]: Audio codec: NELLYMOSER - - - 551.357 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-01-23 16:41:13 EST comment server WARN 200 - CupertinoPacketHandler.handleHolder[phlive/_definst_/9escnfw02r]: Invalid video codec for iPhone/iPod: SPARK - - - 551.392 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-01-23 16:41:13 EST comment server WARN 200 - CupertinoPacketHandler.handleHolder[phlive/_definst_/9escnfw02r]: Invalid audio codec for iPhone/iPod:NELLYMOSER - - - 551.395 - - - - - - - - - - - - - - - - - - - - - - - - -
    2012-01-23 16:41:14 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[phlive/_definst_/9escnfw02r]: Add chunk: id:1 a/v/k:3/35/7 duration:18075 - - - 551.517
    2012-01-23 16:41:14 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[phlive/_definst_/9escnfw02r]: Add chunk: id:2 a/v/k:18/10/2 duration:854 - - - 552.346
    2012-01-23 16:41:24 EST comment server INFO 200 - LiveStreamPacketizerSanJose.endChunkTS[phlive/_definst_/9escnfw02r]: Add chunk: id:3 a/v/k:110/120/24 duration:9979 - - - 562.325
    2012-01-23 16:41:34 EST unpublish stream INFO 200 9escnfw02r - _defaultVHost_ phlive _definst_ 38.549 [any] 1935 rtmp://localhost/phlive 127.0.0.1 rtmp http://localhost/self/webcam_self.swf WIN 11,1,102,55 610170124 1634754 3646 1 0 1629502 0 9escnfw02r - - - - - rtmp://localhost/phlive/9escnfw02r rtmp://localhost/phlive/9escnfw02r - rtmp://localhost/phlive -
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord HTTPRequest - - - 572.102
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord action: stopRecording - - - 572.103
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord app: phlive - - - 572.105
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord streamName: 9escnfw02r - - - 572.107
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord outputPath: null - - - 572.108
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord append: false - - - 572.11
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord version: true - - - 572.112
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord startOnKeyFrame: false - - - 572.113
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord recordData: true - - - 572.115
    2012-01-23 16:41:34 EST comment server INFO 200 - ModuleStreamRecord format (1=flv, 2=mp4): 1 - - - 572.117

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Try setting startonkeyframe=true.

    Richard

  4. #4

    Default

    I've already set startOnKeyFrame to true. It's not a problem with the record module. I never have the issue when using FMLE - only on the webcam. Any ideas? Is it the VP6 codec?

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I'm not sure. Try h.264. Try increasing key frame frequency (more key frames)

    Richard

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •