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

video-viewer --input-save=<file> can't be playback? #227

Open
lida2003 opened this issue Nov 25, 2024 · 0 comments
Open

video-viewer --input-save=<file> can't be playback? #227

lida2003 opened this issue Nov 25, 2024 · 0 comments

Comments

@lida2003
Copy link

  • RTP 5600 1920x1080@60FPS
  • Jetson Orin Nano 8GB
  • install video-viewer from source: 6d5471c

Run video-viewer rtp://@:5600 output.mp4 --input-save=input.mp4 --input-codec=h265.

It's OK to video-viewer output.mp4, but I can't open input.mp4. Any idea, or what parameters I should provide?

daniel@daniel-nvidia:~/Work/jetson-fpv$ video-viewer input.mp4 --input-codec h264
[gstreamer] initialized gstreamer, version 1.16.3.0
[gstreamer] gstDecoder -- creating decoder for input.mp4
[gstreamer] gstDecoder -- This file contains no playable streams.
[gstreamer] gstDecoder -- resource discovery and auto-negotiation failed
[gstreamer] gstDecoder -- pipeline string:
[gstreamer] filesrc location=input.mp4 ! qtdemux ! queue ! h264parse ! nvv4l2decoder name=decoder enable-max-performance=1 ! video/x-raw(memory:NVMM) ! nvvidconv name=vidconv ! video/x-raw ! appsink name=mysink
[video]  created gstDecoder from file:///home/daniel/Work/jetson-fpv/input.mp4
------------------------------------------------
gstDecoder video options:
------------------------------------------------
  -- URI: file:///home/daniel/Work/jetson-fpv/input.mp4
     - protocol:  file
     - location:  input.mp4
     - extension: mp4
  -- deviceType: file
  -- ioType:     input
  -- codec:      H264
  -- codecType:  v4l2
  -- frameRate:  0
  -- numBuffers: 4
  -- zeroCopy:   true
  -- flipMethod: none
  -- loop:       0
------------------------------------------------
URI -- invalid resource or file path:  h264
[video]  videoOptions -- failed to parse output resource URI (h264)
[video]  videoOutput -- failed to parse command line options
video-viewer:  failed to create output stream


daniel@daniel-nvidia:~/Work/jetson-fpv$ video-viewer input.mp4 --input-codec h265
[gstreamer] initialized gstreamer, version 1.16.3.0
[gstreamer] gstDecoder -- creating decoder for input.mp4
[gstreamer] gstDecoder -- This file contains no playable streams.
[gstreamer] gstDecoder -- resource discovery and auto-negotiation failed
[gstreamer] gstDecoder -- pipeline string:
[gstreamer] filesrc location=input.mp4 ! qtdemux ! queue ! h265parse ! nvv4l2decoder name=decoder enable-max-performance=1 ! video/x-raw(memory:NVMM) ! nvvidconv name=vidconv ! video/x-raw ! appsink name=mysink
[video]  created gstDecoder from file:///home/daniel/Work/jetson-fpv/input.mp4
------------------------------------------------
gstDecoder video options:
------------------------------------------------
  -- URI: file:///home/daniel/Work/jetson-fpv/input.mp4
     - protocol:  file
     - location:  input.mp4
     - extension: mp4
  -- deviceType: file
  -- ioType:     input
  -- codec:      H265
  -- codecType:  v4l2
  -- frameRate:  0
  -- numBuffers: 4
  -- zeroCopy:   true
  -- flipMethod: none
  -- loop:       0
------------------------------------------------
URI -- invalid resource or file path:  h265
[video]  videoOptions -- failed to parse output resource URI (h265)
[video]  videoOutput -- failed to parse command line options
video-viewer:  failed to create output stream
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