Giter Club home page Giter Club logo

Comments (2)

pliablepixels avatar pliablepixels commented on August 13, 2024

@web2wire - just tried this on a brand new VM . Its possible my previous VM was messed up. This time the error seems more logical, but the error is occurring right at the time of reading the feed:

ffmpeg output:

Input #0, rtsp, from 'rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov':
  Metadata:
    title           : BigBuckBunny_115k.mov
  Duration: 00:09:56.48, start: 0.000000, bitrate: N/A
    Stream #0:0, 13, 1/12000: Audio: aac (LC), 12000 Hz, stereo, fltp
    Stream #0:1, 28, 1/90000: Video: h264 (Constrained Baseline), 3 reference frames, yuv420p(left), 240x160, 1/48, 24 fps, 24 tbr, 90k tbn, 48 tbc
detected 2 logical cores
[mpeg4 @ 0x7fffe00018e0] intra_quant_bias = 0 inter_quant_bias = -64
[mpeg4 @ 0x7fffe00018e0] timebase 1/90000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
[Thread 0x7ffff3cb6700 (LWP 12716) exited]
[Thread 0x7ffff44b7700 (LWP 12715) exited]
[Thread 0x7ffff7fd7740 (LWP 12711) exited]
[Thread 0x7ffff2cb4700 (LWP 12733) exited]
[Thread 0x7ffff34b5700 (LWP 12732) exited]
[Inferior 1 (process 12711) exited with code 0377]

log:

ul 10 10:44:55 ubuntu nvrcli[13329]: INF [1468161895: TS: 1468161884913138, TS1: 74970, TS2: 832999, TS3: 0.833]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [1468161895: TS: 1468161884955138, TS1: 78750, TS2: 875000, TS3: 0.875]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [1468161895: TS: 1468161884996138, TS1: 82440, TS2: 916000, TS3: 0.916]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [MotionDetector:modect-cam0: Got 1 providers]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [pf:0, 240x160]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [1468161895: TS: 1468161885038138, TS1: 86220, TS2: 957999, TS3: 0.958]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [MovieFileOutput:cam0: Got 1 providers]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [Provider framerate = 24/1]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [Dictionary]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [Dict: preset = medium]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [Dict: b = 200k]
Jul 10 10:44:55 ubuntu nvrcli[13329]: INF [Dict: bt = 240k]
Jul 10 10:44:55 ubuntu nvrcli[13329]: FAT [Could not open video codec]

I did however validate the ffmpeg binary that was built when I compiled ffpmeg with the flags above did produce an mp4 with openh264

wget http://www.engr.colostate.edu/me/facil/dynamics/files/drop.avi
ffmpeg -i drop.avi drop.mp4

 ldd /usr/local/bin/ffmpeg 
    linux-vdso.so.1 =>  (0x00007ffc80ae5000)
    libavdevice.so.56 => /usr/local/lib/libavdevice.so.56 (0x00007fcd0f3f8000)
    libavfilter.so.5 => /usr/local/lib/libavfilter.so.5 (0x00007fcd0f0b5000)
    libavformat.so.56 => /usr/local/lib/libavformat.so.56 (0x00007fcd0ecc3000)
    libavcodec.so.56 => /usr/local/lib/libavcodec.so.56 (0x00007fcd0d973000)
    libswresample.so.1 => /usr/local/lib/libswresample.so.1 (0x00007fcd0d758000)
    libswscale.so.3 => /usr/local/lib/libswscale.so.3 (0x00007fcd0d4cf000)
    libavutil.so.54 => /usr/local/lib/libavutil.so.54 (0x00007fcd0d264000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcd0cf5c000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcd0cd3d000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcd0c973000)
    libopenh264.so.1 => /usr/local/lib/libopenh264.so.1 (0x00007fcd0c677000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fcd0f61f000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fcd0c368000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fcd0c152000)

from ozonebase.

web2wire avatar web2wire commented on August 13, 2024

Seems to be working for me if I change the default timebase in ozFfmpeg.cpp to 1/25 instead of 1/90000.

from ozonebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.