Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BG-380-[hevc @ 0xe86ff800] Could not find ref with POC 34 #380

Open
RishiDate opened this issue Aug 8, 2023 · 0 comments
Open

BG-380-[hevc @ 0xe86ff800] Could not find ref with POC 34 #380

RishiDate opened this issue Aug 8, 2023 · 0 comments

Comments

@RishiDate
Copy link

  1. I am trying to send Rtsp video (comes from RTSP camera URL) to the ANT media server.

  2. I am using LibVLC to play video locally in app.

  3. But In initial 20 seconds this corrupted frame appear. and following error comes in logs
    "[hevc @ 0xe86ff800] Could not find ref with POC 34"
    corruptedImg
    I am using following command:

          `String[] cmd = {
             "-rtsp_transport",
             "tcp", // Choose appropriate transport (e.g., "udp" or "tcp")
             "-i",
            "rtsp://127.0.0.1:8554/main.898", // Source RTSP stream URL
             "-filter:v",
             "scale=1280:720",
             "-c:v",
             "libx264", // Video codec for transcoding (you can choose other codecs if needed)
             "-preset",
             "ultrafast", // Video preset for transcoding speed (adjust as needed)
             "-max_delay",
             "1000000",
             "-an",
             "-f",
             "flv", // Output format, RTMP requires FLV container
            "rtmp://streamingServer.com/LiveApp/gdyggcshvcvhcvv " // Ant Media Server RTMP endpoint
     };
    
     try {
         // Execute FFmpeg command
         fFmpeg.execute(cmd, new FFmpegExecuteResponseHandler() {
             @Override
             public void onSuccess(String message) {
             }
             @Override
             public void onProgress(String message) {
             }
             @Override
             public void onFailure(String message) {
         
             }
             @Override
             public void onStart() {
             }
             @Override
             public void onFinish() {
             
             }
         });
     } catch (FFmpegCommandAlreadyRunningException e) {
         Log.e("FFmpeg", String.valueOf(e));
         // Handle FFmpeg command already running error
     }`
    

Thanks,

@RishiDate RishiDate changed the title BG-[hevc @ 0xe86ff800] Could not find ref with POC 34 BG-380-[hevc @ 0xe86ff800] Could not find ref with POC 34 Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant