bytedeco / javacv

Java interface to OpenCV, FFmpeg, and more
Other
7.39k stars 1.56k forks source link

javacv1.5.9 can't. use.FFmpegFrameGrabber FFmpegFrameRecorder pull push OBS H265 stream ? #2213

Closed nocarethancare closed 2 months ago

nocarethancare commented 2 months ago

[flv @ 0x7f4d00268380] Video codec (0) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [flv @ 0x7f4d00268380] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [flv @ 0x7f4d00268380] Changing the codec id midstream is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented. [flv @ 0x7f4d00268380] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org) [flv @ 0x7f4d00268380] Could not find codec parameters for stream 1 (Video: flashsv, bgr24, 2560 kb/s): unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, flv, from 'rtmp://10.30.1.201/dzy/testaudio': Metadata: |RtmpSampleAccess: true 2.1 : false 3.1 : false 4.0 : false 4.1 : false 5.1 : false 7.1 : false audiochannels : 2 encoder : obs-output module (libobs version 29.1.3) fileSize : 0 title : Streamed by ZLMediaKit(git hash:1e39594/2024-03-10T10:34:03-03:00,branch:master,build time:2024-03-10T13:35:35) Duration: 00:00:00.00, start: 0.000000, bitrate: N/A Stream #0:0: Data: none Stream #0:1: Video: flashsv, bgr24, 2560 kb/s, 25 fps, 1k tbr, 1k tbn Stream #0:2: Audio: aac (LC), 44100 Hz, stereo, fltp, 163 kb/s [IMGUTILS @ 0x7f4c872f0220] Picture size 0x0 is invalid [IMGUTILS @ 0x7f4c872f0220] Picture size 0x0 is invalid

nocarethancare commented 2 months ago

flv @ 0x7f4cc000be00] Packet mismatch -91054044 7758652 7760397 [aac @ 0x7f4cc0017940] This decoder does not support parameter changes, but PARAM_CHANGE side data was sent to it. [aac @ 0x7f4cc0017940] Error applying parameter changes.

av_interleaved_write_frame() error -32 while writing interleaved audio packet. (For more details, make sure FFmpegLogCallback.set() has been called.)

nocarethancare commented 2 months ago
    <dependency>
        <groupId>org.bytedeco</groupId>
        <artifactId>javacv-platform</artifactId>
        <version>1.5.9</version>
    </dependency>
    <dependency>
        <groupId>org.bytedeco</groupId>
        <artifactId>ffmpeg-platform-gpl</artifactId>
        <version>6.0-1.5.9</version>
    </dependency>
nocarethancare commented 2 months ago

This issue has been resolved