How to convert .mov to .h264 for deepstream-test1-app

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
**• DeepStream Version 5.0
**• JetPack Version (valid for Jetson only) 4.4
on AGX Xavier 32GB

try to run deepstream-test1-app with my own file but it can only accept .h264 video file. How can I convert .mov to .h264 which is acceptable by the app? I did try to use HandBrake to convert my to .m4v (H.264) but the app won’t run…

It got stuck at:

NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261

And no display, no sight of “running” except it didn’t report error.

Did anyone have the same issue? Thanks for your help.

Please try the command:

$ gst-launch-1.0 filesrc ! qtdemux ! h264parse ! video/x-h264,stream-format=byte-stream ! filesink location=a.h264

It works! Thank you so much for your help.