[FFmpeg-user] Hi

Moritz Barsnick barsnick at gmx.net
Wed Mar 18 14:40:58 CET 2015


Hi, sathish,

this part isn't supposed to happen:

> 03-18 19:01:31.511: A/libc(10092): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 10105 (AsyncTask #1)

but it's hard to tell whether this reports an ffmpeg segmentation
fault. (What is Videokit?).

Your command line: 

> ffmpeg -i /sdcard/perfect.mp3 -i /sdcard/output_subtitle.mp4 -acodec -vcodec copy /sdcard/newvideo.mp4

has an error, you don't provide an audio codec after '-acodec'. ffmpeg
tells you so:

> 03-18 19:01:31.501: D/Videokit(10092): Applying option acodec (force audio codec ('copy' to copy stream)) with argument -vcodec.

It is interpreting "-vcodec" as your audio codec.

> 03-18 19:01:31.501: D/Videokit(10092): Opening an output file: copy.

And "copy" as a file name.

You need to fix your command line to be:

> ffmpeg -i /sdcard/perfect.mp3 -i /sdcard/output_subtitle.mp4 -acodec copy -vcodec copy /sdcard/newvideo.mp4

for example.

HTH,
Moritz


More information about the ffmpeg-user mailing list