3gp video is blank

Forum for questions and support relating to the 1.24.x releases only.
Locked
help40
Posts: 14
Joined: Mon Sep 20, 2010 9:46 am

3gp video is blank

Post by help40 »

Hello,
seems that everything is working for me but producing 3gp video
3gp video is blank (or black I am not sure)

where to look , log file video.log tells me that video is produced
it is almost the same size as the avi and other formats , but it is blank

my server is Slackware 13.1
all libraries from wiki (detailed installation for slackware 12) are installed (but new one, which are for 13.1)
all dependences for ffmpeg are there ( or I think so )
may be I am not looking at the right log files?

Thank you in advance for help
help40
Posts: 14
Joined: Mon Sep 20, 2010 9:46 am

Post by help40 »

ok , no one answer ... please just someone tell me if your Slackware installation is working and producing 3gp video
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Post by bb99 »

Check your ffmpeg path (options->images=>PATH_FFMPEG)
help40
Posts: 14
Joined: Mon Sep 20, 2010 9:46 am

Post by help40 »

all other videos generation is working fine .... I do not understand you really :(

here more info
ffmpeg log from the event directory

Code: Select all

FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 19 2010 14:56:00 with gcc 4.4.4
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-pthreads -$
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
[image2 @ 0x807a420]max_analyze_duration reached
Input #0, image2, from '%03d-capture.jpg':
  Duration: 00:09:58.81, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: mjpeg, yuvj420p, 320x240 [PAR 1:1 DAR 4:3], 8.44 fps, 8.44 tbr, 8.44 tbn, 8.44 tbc
Output #0, 3gp, to 'Event-905-r1-s1.3gp':
  Metadata:
    encoder         : Lavf52.64.2
    Stream #0.0: Video: h263, yuv420p, 320x240 [PAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   95 fps=  0 q=6.2 size=     284kB time=3.80 bitrate= 613.3kbits/s dup=62 drop=0    ^Mframe=  187 fps=171 q=7.6 size=     414kB time=7.48 bitrate= 4$
video:14914kB audio:0kB global headers:0kB muxing overhead 0.820868%
video is not playing ..... sad

I tryed one script from motion wiki
http://www.lavrsen.dk/foswiki/bin/view/ ... nvertTo3gp

and it is producing 3gp
here is "log"

Code: Select all

./a.py Event-905-r1-s1.avi
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Oct 19 2010 14:56:00 with gcc 4.4.4
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/man --disable-debug --enable-shared --disable-static --enable-pthreads --enable-libtheora --enable-libvorbis --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-x11grab --enable-avfilter --enable-avfilter-lavf --arch=i486 --enable-libmp3lame --enable-libx264 --enable-runtime-cpudetect
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, avi, from 'Event-905-r1-s1.avi':
  Metadata:
    ISFT            : Lavf52.64.2
  Duration: 00:09:58.72, start: 0.000000, bitrate: 194 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
Output #0, 3gp, to '/video/events/1/905/Event-905-r1-s1.3gp':
  Metadata:
    encoder         : Lavf52.64.2
    Stream #0.0: Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], q=2-31, 0 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=14967 fps=242 q=31.0 Lsize=    1497kB time=598.68 bitrate=  20.5kbits/s dup=9913 drop=0
video:1374kB audio:0kB global headers:0kB muxing overhead 8.907188%
and I can play this video (yes it is bad , but may be need more configuration ... .this is not importatnt) , so it seems that my BOX can produce 3gp , but for some reason Zoneminder is not working .

I do not understand much from the logs but I see there in the first

" [image2 @ 0x807a420]max_analyze_duration reached "

what to do ?
Locked