I am using mobile-ffmpeg in Android platform. I collected h265 stream from gstreamer in filesink.
! queue ! valve name=valve ! rtph265depay ! h265parse ! video/x-h265, stream-format="byte-stream" ! filesink location=input.h265
I want to put h265 stream into mp4 without re-encoding: I ran below command:
parsecommand= "-i input.h265 -c copy output.mp4"
final int rc = FFmpeg.execute(parsedCommand)
Always rc returns 1 instead 0 and it is not generated mp4 file.
I ran same command in dektop ffmpeg and it generated MP4 properly. I am able to play .MP4 file through VLC player and Android player also.
Hi,
I am using mobile-ffmpeg in Android platform. I collected h265 stream from gstreamer in filesink. ! queue ! valve name=valve ! rtph265depay ! h265parse ! video/x-h265, stream-format="byte-stream" ! filesink location=input.h265
I want to put h265 stream into mp4 without re-encoding: I ran below command:
parsecommand= "-i input.h265 -c copy output.mp4"
final int rc = FFmpeg.execute(parsedCommand)
Always rc returns 1 instead 0 and it is not generated mp4 file.
I ran same command in dektop ffmpeg and it generated MP4 properly. I am able to play .MP4 file through VLC player and Android player also.
Please specify what am I making mistake here?