-
-
Notifications
You must be signed in to change notification settings - Fork 796
[IOS] Message from debugger: Terminated due to memory issue #47
Comments
Most of the time According to the last line of your log, output file is |
General Audio |
file size: 84.3MB |
I just want ffmpeg to change the container from dash to mpeg-4. |
I ran the same command on my mac. It works well. ffmpeg -i dash.m4a -c copy -f mp4 mpeg-4.m4a |
You can get dash.m4a with the following link: |
Thanks, I'm monitoring your command in my test env. Meantime, I want to remind that
|
However, their mp4 containers are different. One is dash, the other one mpeg-4. I just want to change it to mpeg-4.
…________________________________
From: Taner Sener <notifications@github.com>
Sent: Wednesday, December 5, 2018 11:26
To: tanersener/mobile-ffmpeg
Cc: MoboPan; Author
Subject: Re: [tanersener/mobile-ffmpeg] Message from debugger: Terminated due to memory issue (#47)
You can get dash.m4a with the following link:
https://www.dropbox.com/s/z4egiq3mwqkktp1/dash.m4a?dl=0
Thanks, I'm monitoring your command in my test env.
Meantime, I want to remind that m4a is an audio only mpeg 4 file extension: https://en.wikipedia.org/wiki/MPEG-4_Part_14#.MP4_versus_.M4A . So your command only copies one .m4a file to another another .m4a file. Formats of both files are the same.
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dash.m4a':
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 0 kb/s (default)
Output #0, mp4, to 'mpeg-4.m4a':
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 0 kb/s (default)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#47 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGMV1-_jDW5_8X7ttnZCozMojMjs6oA4ks5u1_OogaJpZM4ZB1tO>.
|
|
Unfortunately I think there might be a bug here. Can you disable redirection with the following command at the beginning of your application and try again? It will disable logs, so your output will be empty but other features will work.
|
Ok. Hopefully you could fix it. It is very important to my project. Thanks.
…________________________________
From: Taner Sener <notifications@github.com>
Sent: Wednesday, December 5, 2018 13:44
To: tanersener/mobile-ffmpeg
Cc: MoboPan; Author
Subject: Re: [tanersener/mobile-ffmpeg] Message from debugger: Terminated due to memory issue (#47)
Unfortunately I think there might be a bug here.
Can you disable redirection with the following command at the beginning of your application and try again? It will disable logs, so your output will be empty but other features will work.
[MobileFFmpegConfig disableRedirection];
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#47 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGMV1wHErFeedFf8FEPEj2UKvG-tEjFPks5u2BP4gaJpZM4ZB1tO>.
|
I forgot you are using Swift. Can you add |
It works now! Fantastic 👍 Question: why do I need use the function when using Swift? Thanks! |
No, it is not about Swift. First I had recommended using In fact |
@chaocharleswang thanks for reporting this issue. It is fixed in |
Description
Message from debugger: Terminated due to memory issue
let ffmpegCommand = "-i input_path -c copy -f mp4 output_path"
// EXECUTE
let result: Int = Int(MobileFFmpeg.execute(ffmpegCommand, delimiter: " "))
if result == RETURN_CODE_SUCCESS
{
print("FFmpeg Success")
}
Logs
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libavutil 56. 19.101 / 56. 19.101
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libavcodec 58. 33.102 / 58. 33.102
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libavformat 58. 19.102 / 58. 19.102
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libavdevice 58. 4.106 / 58. 4.106
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libavfilter 7. 37.100 / 7. 37.100
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libswscale 5. 2.100 / 5. 2.100
2018-12-04 20:29:39.961 TestURLParser[44089:3273462] INFO: libswresample 3. 2.100 / 3. 2.100
2018-12-04 20:29:39.992 TestURLParser[44089:3273462] INFO: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file:///var/mobile/Containers/Data/Application/5A35650D-9FF4-4720-8BB9-F1648526C6C1/Documents/dash.m4a':
2018-12-04 20:29:39.992 TestURLParser[44089:3273462] INFO: Metadata:
2018-12-04 20:29:39.992 TestURLParser[44089:3273462] INFO: major_brand :
2018-12-04 20:29:39.992 TestURLParser[44089:3273462] INFO: dash
2018-12-04 20:29:39.992 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: minor_version :
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: 0
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: compatible_brands:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: iso6mp41
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: creation_time :
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: 2018-12-03T11:10:23.000000Z
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: Duration:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: 01:26:51.70
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: , start:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: 0.000000
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: , bitrate:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: 129 kb/s
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.993 TestURLParser[44089:3273462] INFO: Stream #0:0
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: (eng)
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 0 kb/s
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: (default)
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: Metadata:
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: creation_time :
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: 2018-12-03T11:10:23.000000Z
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: handler_name :
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO: ISO Media file produced by Google Inc. Created on: 12/03/2018.
2018-12-04 20:29:39.994 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: Output #0, mp4, to 'file:///var/mobile/Containers/Data/Application/5A35650D-9FF4-4720-8BB9-F1648526C6C1/Documents/mpeg-4.m4a':
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: Metadata:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: major_brand :
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: dash
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: minor_version :
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: 0
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: compatible_brands:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: iso6mp41
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: encoder :
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: Lavf58.19.102
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: Stream #0:0
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: (eng)
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 0 kb/s
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: (default)
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: Metadata:
2018-12-04 20:29:39.997 TestURLParser[44089:3273462] INFO: creation_time :
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: 2018-12-03T11:10:23.000000Z
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: handler_name :
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: ISO Media file produced by Google Inc. Created on: 12/03/2018.
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: Stream mapping:
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: Stream #0:0 -> #0:0
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: (copy)
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO:
2018-12-04 20:29:39.998 TestURLParser[44089:3273462] INFO: Press [q] to stop, [?] for help
2018-12-04 20:29:40.499 TestURLParser[44089:3273462] INFO: size= 4352kB time=00:04:39.59 bitrate= 127.5kbits/s speed= 557x
2018-12-04 20:29:40.999 TestURLParser[44089:3273462] INFO: size= 8704kB time=00:09:21.73 bitrate= 126.9kbits/s speed= 561x
2018-12-04 20:29:41.499 TestURLParser[44089:3273462] INFO: size= 13056kB time=00:13:58.86 bitrate= 127.5kbits/s speed= 559x
2018-12-04 20:29:42.006 TestURLParser[44089:3273462] INFO: size= 17408kB time=00:18:38.29 bitrate= 127.5kbits/s speed= 557x
2018-12-04 20:29:42.506 TestURLParser[44089:3273462] INFO: size= 21504kB time=00:23:03.58 bitrate= 127.3kbits/s speed= 551x
2018-12-04 20:29:43.011 TestURLParser[44089:3273462] INFO: size= 25856kB time=00:27:37.46 bitrate= 127.8kbits/s speed= 550x
2018-12-04 20:29:43.511 TestURLParser[44089:3273462] INFO: size= 29952kB time=00:32:09.25 bitrate= 127.2kbits/s speed= 549x
2018-12-04 20:29:44.011 TestURLParser[44089:3273462] INFO: size= 34304kB time=00:36:45.91 bitrate= 127.4kbits/s speed= 550x
2018-12-04 20:29:44.514 TestURLParser[44089:3273462] INFO: size= 38656kB time=00:41:16.19 bitrate= 127.9kbits/s speed= 548x
2018-12-04 20:29:45.014 TestURLParser[44089:3273462] INFO: size= 43008kB time=00:45:54.58 bitrate= 127.9kbits/s speed= 549x
2018-12-04 20:29:45.515 TestURLParser[44089:3273462] INFO: size= 47104kB time=00:50:15.36 bitrate= 128.0kbits/s speed= 546x
2018-12-04 20:29:46.015 TestURLParser[44089:3273462] INFO: size= 51200kB time=00:54:48.54 bitrate= 127.5kbits/s speed= 546x
2018-12-04 20:29:46.515 TestURLParser[44089:3273462] INFO: size= 55552kB time=00:59:20.89 bitrate= 127.8kbits/s speed= 546x
2018-12-04 20:29:47.015 TestURLParser[44089:3273462] INFO: size= 59648kB time=01:03:50.22 bitrate= 127.6kbits/s speed= 546x
2018-12-04 20:29:47.523 TestURLParser[44089:3273462] INFO: size= 63744kB time=01:08:13.70 bitrate= 127.6kbits/s speed= 544x
2018-12-04 20:29:48.024 TestURLParser[44089:3273462] INFO: size= 68096kB time=01:12:43.28 bitrate= 127.8kbits/s speed= 544x
2018-12-04 20:29:48.528 TestURLParser[44089:3273462] INFO: size= 72192kB time=01:17:12.86 bitrate= 127.7kbits/s speed= 543x
Message from debugger: Terminated due to memory issue
Environment
The text was updated successfully, but these errors were encountered: