[FFmpeg-user] Hi

sathish sathishkumars3 at gmail.com
Wed Mar 18 14:38:37 CET 2015


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




I used same command.first time executed successfully from second time
onwards giving the below output.

Please if any other sources are there help me.

thank you






03-18 19:06:53.222: I/Videokit(13613): Stream mapping:
03-18 19:06:53.222: I/Videokit(13613):   Stream #1:0 -> #0:0
03-18 19:06:53.222: I/Videokit(13613):  (copy)
03-18 19:06:53.222: I/Videokit(13613):   Stream #0:0 -> #0:1
03-18 19:06:53.222: I/Videokit(13613):  (copy)
03-18 19:06:53.222: I/Videokit(13613): Press [q] to stop, [?] for help
03-18 19:06:53.232: I/Videokit(13613): frame=    0 fps=0.0 q=-1.0 size=
  0kB time=00:00:00.00 bitrate=N/A
03-18 19:06:53.232: V/Videokit(13613): No more output streams to write to,
finishing.
03-18 19:06:53.232: I/Videokit(13613): frame=    0 fps=0.0 q=-1.0 Lsize=
    1kB time=00:00:00.00 bitrate=N/A
03-18 19:06:53.242: I/Videokit(13613): video:0kB audio:0kB subtitle:0
data:0 global headers:0kB muxing overhead 0.000000%
03-18 19:06:53.242: W/Videokit(13613): Output file is empty, nothing was
encoded (check -ss / -t / -frames parameters if used)
03-18 19:06:53.242: D/Videokit(13613): 0 frames successfully decoded, 0
decoding errors
03-18 19:06:53.242: I/Videokit(13613): Main ended with status 0
03-18 19:06:53.251: D/MainActivity(13613): Trimming: success


On Wed, Mar 18, 2015 at 7:03 PM, sathish <sathishkumars3 at gmail.com> wrote:

>
>
>
> ffmpeg -i /sdcard/perfect.mp3 -i /sdcard/output_subtitle.mp4 -acodec
> -vcodec copy /sdcard/newvideo.mp4
>
>
>
> This is the command i am using to mix audio and video file its going to
> crash and
>
>
>
>
>
>
>
>
> 03-18 19:01:30.531: I/Videokit(10092): Loading native library compiled at
> 18:05:04 Mar 16 2015
> 03-18 19:01:30.541: E/ffmpegService(10092): onStart
> 03-18 19:01:30.541: I/ffmpegService(10092): attempt to start ffmpeg service
> 03-18 19:01:30.561: I/Videokit(10092): Option: ffmpeg
> 03-18 19:01:30.561: I/Videokit(10092): Option: -i
> 03-18 19:01:30.561: I/Videokit(10092): Option: /sdcard/perfect.mp3
> 03-18 19:01:30.561: I/Videokit(10092): Option: -i
> 03-18 19:01:30.571: I/Videokit(10092): Option: /sdcard/output_subtitle.mp4
> 03-18 19:01:30.571: I/Videokit(10092): Option: -acodec
> 03-18 19:01:30.571: I/Videokit(10092): Option: -vcodec
> 03-18 19:01:30.571: I/Videokit(10092): Option: copy
> 03-18 19:01:30.571: I/Videokit(10092): Option: /sdcard/newvideo.mp4
> 03-18 19:01:30.571: I/Videokit(10092): Running main
> 03-18 19:01:30.601: D/Videokit(10092): Splitting the commandline.
> 03-18 19:01:30.601: D/Videokit(10092): Reading option '-i' ...
> 03-18 19:01:30.601: D/Videokit(10092):  matched as input file with
> argument '/sdcard/perfect.mp3'.
> 03-18 19:01:30.612: D/Videokit(10092): Reading option '-i' ...
> 03-18 19:01:30.612: D/Videokit(10092):  matched as input file with
> argument '/sdcard/output_subtitle.mp4'.
> 03-18 19:01:30.612: D/Videokit(10092): Reading option '-acodec' ...
> 03-18 19:01:30.621: D/Videokit(10092):  matched as option 'acodec' (force
> audio codec ('copy' to copy stream)) with argument '-vcodec'.
> 03-18 19:01:30.621: D/Videokit(10092): Reading option 'copy' ...
> 03-18 19:01:30.631: D/Videokit(10092):  matched as output file.
> 03-18 19:01:30.631: D/Videokit(10092): Reading option
> '/sdcard/newvideo.mp4' ...
> 03-18 19:01:30.631: D/Videokit(10092):  matched as output file.
> 03-18 19:01:30.641: D/Videokit(10092): Finished splitting the commandline.
> 03-18 19:01:30.641: D/Videokit(10092): Parsing a group of options: global .
> 03-18 19:01:30.641: D/Videokit(10092): Successfully parsed a group of
> options.
> 03-18 19:01:30.651: D/Videokit(10092): Parsing a group of options: input
> file /sdcard/perfect.mp3.
> 03-18 19:01:30.651: D/Videokit(10092): Successfully parsed a group of
> options.
> 03-18 19:01:30.661: D/Videokit(10092): Opening an input file:
> /sdcard/perfect.mp3.
> 03-18 19:01:31.182: D/Videokit(10092): Successfully opened the file.
> 03-18 19:01:31.182: D/Videokit(10092): Parsing a group of options: input
> file /sdcard/output_subtitle.mp4.
> 03-18 19:01:31.182: D/Videokit(10092): Successfully parsed a group of
> options.
> 03-18 19:01:31.182: D/Videokit(10092): Opening an input file:
> /sdcard/output_subtitle.mp4.
> 03-18 19:01:31.501: D/Videokit(10092): Successfully opened the file.
> 03-18 19:01:31.501: D/Videokit(10092): Parsing a group of options: output
> file copy.
> 03-18 19:01:31.501: D/Videokit(10092): Applying option acodec (force audio
> codec ('copy' to copy stream)) with argument -vcodec.
> 03-18 19:01:31.501: D/Videokit(10092): Successfully parsed a group of
> options.
> 03-18 19:01:31.501: D/Videokit(10092): Opening an output file: copy.
> 03-18 19:01:31.511: E/Videokit(10092): copy: Invalid argument
> 03-18 19:01:31.511: A/libc(10092): Fatal signal 11 (SIGSEGV) at 0x00000008
> (code=1), thread 10105 (AsyncTask #1)
> 03-18 19:01:37.821: E/Trace(10169): error opening trace file: No such file
> or directory (2)
>
>
> On Wed, Mar 18, 2015 at 6:52 PM, Moritz Barsnick <barsnick at gmx.net> wrote:
>
>> Hi sathish,
>>
>> On Wed, Mar 18, 2015 at 18:44:26 +0530, sathish wrote:
>> > Hear audio file is .mp3
>> > and video file .mp4
>> >
>> > can u tell me the reason
>> > why its not mixing..
>>
>> No, because you're not telling us what went wrong. We can't do mind
>> reading either.
>>
>> Could you be more precise what you mean by "mixing"?
>>
>> Please show us the command line you used, and the complete, uncut
>> console output.
>>
>> Thanks,
>> Moritz
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>


More information about the ffmpeg-user mailing list