Page 1 of 3

ffmpeg has a return code of 139

Posted: Mon Apr 27, 2015 3:10 am
by michaelt
Every version of UMS I run the Log shows the following:

Code: Select all

INFO  18:27:32.004 Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
debug.log:

Code: Select all

DEBUG 18:27:31.748 [main] Error reading ffmpeg web filters: File '/Users/umsmkv/Library/Application Support/UMS/ffmpeg.webfilters' does not exist
DEBUG 18:27:32.004 [ffmpeg-1] Attaching thread: ffmpeg-1
DEBUG 18:27:32.004 [ffmpeg-1] Unix process ID (/Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg): 5057
INFO  18:27:32.004 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
DEBUG 18:27:32.100 [main] Warning: command [osx/ffmpeg, -protocols] returned 139
DEBUG 18:27:32.100 [main] FFmpeg supported protocols: []
INFO  18:27:32.101 [main] Registering transcoding engine: FFmpeg Web Video
Is this normal and if so, why the "Error" message?
What is the process thought here?

Re: ffmpeg has a return code of 139

Posted: Mon Apr 27, 2015 6:56 pm
by Optimus_prime
Is this happening for the latest version?

Re: ffmpeg has a return code of 139

Posted: Mon Apr 27, 2015 10:31 pm
by michaelt
Yes - for everything I can remember. Its is in all of the logs I previously submitted:

Code: Select all

./Submitted/debug#3_MASH.log:401:INFO  10:55:22.138 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/debug#3_MASH.log:2059:INFO  11:20:33.662 [New I/O worker #3] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/debug#3_MASH.log:2998:INFO  11:23:06.488 [New I/O worker #11] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/debug#3_MASH.log:3092:INFO  11:23:18.280 [New I/O worker #13] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/debug#3_MASH.log:3185:INFO  11:23:30.091 [New I/O worker #15] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/debug#3_MASH.log:3278:INFO  11:23:41.892 [New I/O worker #1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/debug#3_MASH.log:3616:INFO  11:24:28.083 [New I/O worker #9] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#1_501_J7_MemLk_NoThumb/debug.log:414:INFO  20:07:17.101 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_3GB_File/debug.log:405:INFO  12:50:13.082 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:401:INFO  10:55:22.138 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:2059:INFO  11:20:33.662 [New I/O worker #3] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:2998:INFO  11:23:06.488 [New I/O worker #11] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:3092:INFO  11:23:18.280 [New I/O worker #13] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:3185:INFO  11:23:30.091 [New I/O worker #15] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:3278:INFO  11:23:41.892 [New I/O worker #1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#2_PlayBoB_Abt/debug.log:3616:INFO  11:24:28.083 [New I/O worker #9] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg#4_MASH/debug.log:404:INFO  11:59:39.942 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 501_J7.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-13a_510J8_NotSUPP+Parse_OK/debug.log:414:INFO  20:03:34.420 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-13b_511J8_NotSupp+Parse_NFG/debug.log:414:INFO  20:13:53.359 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 511J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-15_511J8_UnSup_BAD/debug.log:412:INFO  21:07:24.237 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 511J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-16_510J8_UnSupp_OK/debug.log:414:INFO  21:15:59.637 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-18_500J8_Parse_NoDataErr/debug.log:394:INFO  10:03:26.024 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 500_J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-1_510J6_NotSupportedFile/debug.log:190:INFO  21:53:14.663 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-1_510J6_NotSupportedFile/debug.log:623:INFO  22:01:21.935 [New I/O worker #11] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-1_510J6_NotSupportedFile/debug.log:660:INFO  22:01:33.869 [New I/O worker #12] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-21_511J8_Parse_DataErr/debug.log:415:INFO  10:24:04.746 [ffmpeg-1] Process /Applications/Video Utilities/Universal Media Server 511_J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-24_510J8_Good/debug.log:415:INFO  12:43:25.862 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-26_511J8_ParseErrs_NoInputStream/debug.log:415:INFO  12:52:10.779 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 511J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-28_512J8_StatusQuo/debug.log:306:INFO  15:06:26.884 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 512J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-29_512J6_StatusQuo/debug.log:196:INFO  15:36:34.916 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 512J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-2_510J6_NotSupportedFile/debug.log:203:INFO  22:07:16.274 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-2_510J6_NotSupportedFile/debug.log:1392:INFO  11:36:15.871 [New I/O worker #11] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-2_510J6_NotSupportedFile/debug.log:1437:INFO  11:36:27.797 [New I/O worker #13] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-2_510J6_NotSupportedFile/debug.log:2151:INFO  11:38:18.240 [New I/O worker #16] Process /Users/umsmkv/bin/Universal Media Server.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-30_512J6_NotSupFile/debug.log:195:INFO  17:22:43.380 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 512J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-31_512J8_NotSupFile/debug.log:305:INFO  17:34:32.715 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 512J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-32_512J8_Unrecognized/debug.log:335:INFO  16:02:35.872 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 512J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-33_512J8_Unrecognized/debug.log:335:INFO  17:32:19.159 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 512J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-3_510J6_NotSupportedFile/debug.log:198:INFO  14:36:19.146 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-3_510J6_NotSupportedFile/debug.log:788:INFO  14:38:03.444 [New I/O worker #8] Process /Users/umsmkv/bin/Universal Media Server 510J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-4_OK/debug.log:198:INFO  14:59:05.425 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-5_TitleNameParse/debug.log:191:INFO  21:47:42.122 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-5_TitleNameParse/debug.log:3324:INFO  20:07:28.362 [New I/O worker #9] Process /Users/umsmkv/bin/Universal Media Server 510J6.app/Contents/Resources/Java/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-8_510J8_NameParseErrors/debug.log:412:INFO  18:38:27.979 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
./Submitted/ums_dbg-9_Crash_jspawnhelper/debug.log:412:INFO  12:55:50.522 [ffmpeg-1] Process /Users/umsmkv/bin/Universal Media Server 510J8.app/Contents/Resources/osx/ffmpeg has a return code of 139! Maybe an error occurred... check the log file
… and the latest ums_dbg-33_512J8_Unrecognized is attached

Re: ffmpeg has a return code of 139

Posted: Sat May 16, 2015 1:13 pm
by michaelt
Did a little more digging , found the other thread here confirming there is a version sensitivity.
Seemed to to be the consensus on the wire the error is a segmentation fault.
Loaded the latest OSX version 2.6.2 and got the following raw messages:

Code: Select all

DEBUG 19:48:59.387 [ffmpeg-1] Starting /Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/ffmpeg -y -f lavfi -i nullsrc=s=720x480:d=1:r=1 -vf ass=DummyInput.ass -target ntsc-dvd -
TRACE 19:48:59.388 [ffmpeg-1] Setting FONTCONFIG_PATH to "/Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/fonts"
TRACE 19:48:59.502 [ffmpeg-1] Successfully initialized buffer to 52,428,800 bytes.
DEBUG 19:48:59.515 [ffmpeg-1] Attaching thread: ffmpeg-1
DEBUG 19:48:59.518 [ffmpeg-1] Unix process ID (/Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/ffmpeg): 10792
DEBUG 19:48:59.519 [ffmpeg-1-2] ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
DEBUG 19:48:59.519 [ffmpeg-1-2]   built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
DEBUG 19:48:59.519 [ffmpeg-1-2]   configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
DEBUG 19:48:59.519 [ffmpeg-1-2]   libavutil      54. 20.100 / 54. 20.100
DEBUG 19:48:59.519 [ffmpeg-1-2]   libavcodec     56. 26.100 / 56. 26.100
DEBUG 19:48:59.519 [ffmpeg-1-2]   libavformat    56. 25.101 / 56. 25.101
DEBUG 19:48:59.519 [ffmpeg-1-2]   libavdevice    56.  4.100 / 56.  4.100
DEBUG 19:48:59.520 [ffmpeg-1-2]   libavfilter     5. 11.102 /  5. 11.102
DEBUG 19:48:59.520 [ffmpeg-1-2]   libswscale      3.  1.101 /  3.  1.101
DEBUG 19:48:59.521 [ffmpeg-1-2]   libswresample   1.  1.100 /  1.  1.100
DEBUG 19:48:59.521 [ffmpeg-1-2]   libpostproc    53.  3.100 / 53.  3.100
DEBUG 19:48:59.521 [ffmpeg-1-2] Input #0, lavfi, from 'nullsrc=s=720x480:d=1:r=1':
DEBUG 19:48:59.521 [ffmpeg-1-2]   Duration: N/A, start: 0.000000, bitrate: N/A
DEBUG 19:48:59.521 [ffmpeg-1-2]     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 1 tbr, 1 tbn, 1 tbc
DEBUG 19:48:59.522 [ffmpeg-1-2] [AVFilterGraph @ 0x7ff099601360] No such filter: 'ass'
DEBUG 19:48:59.522 [ffmpeg-1-2] Error opening filters!
TRACE 19:48:59.522 [ffmpeg-1] EOF
TRACE 19:48:59.522 [ffmpeg-1] Ready to Stop: true
INFO  19:48:59.522 [ffmpeg-1] Process /Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/ffmpeg has a return code of 1! Maybe an error occurred... check the log file
DEBUG 19:49:02.024 [ffmpeg-1-Cleanup] Stopping Unix process 10792: ffmpeg-1
TRACE 19:49:02.024 [ffmpeg-1-Cleanup] Killing the Unix process: 10792
TRACE 19:49:02.026 [ffmpeg-1-Cleanup] Destroying buffer
especially the line:

Code: Select all

DEBUG 19:48:59.522 [ffmpeg-1-2] [AVFilterGraph @ 0x7ff099601360] No such filter: 'ass'
Could this be the root cause of these errors? If so, can it be fixed?

FYI: not sure if this version works for us - beyond my capabilities.

Re: ffmpeg has a return code of 139

Posted: Sun May 17, 2015 2:36 pm
by Optimus_prime
Maybe try replacing ffmpeg with the version from here: http://www.osxexperts.net/ffmpeg/ffmpegexperts.html
Now while they have ones specifically for 10.7/10.6 you could also try this version: http://ffmpegmac.net/
and they have a generic one the works for all versions of OSX. Let me know how you go and if one fixes these issues as we may need to look into it more

Re: ffmpeg has a return code of 139

Posted: Sun May 17, 2015 10:05 pm
by michaelt
This is the version I tested. Seems to work fine. I'll test more later forcing it to transcode on a few files to be sure.

Re: ffmpeg has a return code of 139

Posted: Mon May 18, 2015 4:50 am
by michaelt
I forced the transcoding on all.

The video Blu-ray files seem to play. However, it does complain about the 'ass' filter:

Code: Select all

[ffmpeg-1-2] [AVFilterGraph @ 0x7fcddaa00d60] No such filter: 'ass'
???

local build ffmpeg with libass

Posted: Sat May 23, 2015 1:17 am
by michaelt
Summary:
The 139 error was a Segmentation Violation corrected in the latest 2.6.2 version. This led to another error:

Code: Select all

DEBUG [ffmpeg-1-2] [AVFilterGraph @ 0x7faa42d01360] No such filter: 'ass'
DEBUG [ffmpeg-1-2] Error opening filters!
I decided to build it locally. Their directions were lacking important details and the package was not easily configurable. Progress was slow, not easy but I did succeeded in building a static ffmpeg binary and no 'ass' errors:

Code: Select all

DEBUG 22:02:30.797 [ffmpeg-1] Starting /Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/ffmpeg -y -f lavfi -i nullsrc=s=720x480:d=1:r=1 -vf ass=DummyInput.ass -target ntsc-dvd -
TRACE 22:02:30.798 [ffmpeg-1] Setting FONTCONFIG_PATH to "/Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/fonts"
TRACE 22:02:30.921 [ffmpeg-1] Successfully initialized buffer to 52,428,800 bytes.
DEBUG 22:02:30.935 [ffmpeg-1] Attaching thread: ffmpeg-1
DEBUG 22:02:30.991 [ffmpeg-1] Unix process ID (/Users/umsmkv/UMS_J8/ums_OSX-Java8_x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/ffmpeg): 13594
DEBUG 22:02:31.207 [ffmpeg-1-2] ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
DEBUG 22:02:31.207 [ffmpeg-1-2]   built with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
DEBUG 22:02:31.207 [ffmpeg-1-2]   configuration: --prefix=/usr/local/Cellar/ffmpeg/2.6.2 --enable-static --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libfreetype --enable-libvorbis --enable-libass --enable-ffplay --enable-libfdk-aac --enable-libopus --enable-libquvi --enable-libx265 --enable-nonfree --enable-vda
DEBUG 22:02:31.207 [ffmpeg-1-2]   libavutil      54. 20.100 / 54. 20.100
DEBUG 22:02:31.207 [ffmpeg-1-2]   libavcodec     56. 26.100 / 56. 26.100
DEBUG 22:02:31.207 [ffmpeg-1-2]   libavformat    56. 25.101 / 56. 25.101
DEBUG 22:02:31.207 [ffmpeg-1-2]   libavdevice    56.  4.100 / 56.  4.100
DEBUG 22:02:31.207 [ffmpeg-1-2]   libavfilter     5. 11.102 /  5. 11.102
DEBUG 22:02:31.207 [ffmpeg-1-2]   libavresample   2.  1.  0 /  2.  1.  0
DEBUG 22:02:31.207 [ffmpeg-1-2]   libswscale      3.  1.101 /  3.  1.101
DEBUG 22:02:31.207 [ffmpeg-1-2]   libswresample   1.  1.100 /  1.  1.100
DEBUG 22:02:31.207 [ffmpeg-1-2]   libpostproc    53.  3.100 / 53.  3.100
DEBUG 22:02:31.210 [ffmpeg-1-2] Input #0, lavfi, from 'nullsrc=s=720x480:d=1:r=1':
DEBUG 22:02:31.210 [ffmpeg-1-2]   Duration: N/A, start: 0.000000, bitrate: N/A
DEBUG 22:02:31.210 [ffmpeg-1-2]     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 1 tbr, 1 tbn, 1 tbc
DEBUG 22:02:53.592 [ffmpeg-1-2] [Parsed_ass_0 @ 0x7fd7b2e01ea0] Added subtitle file: 'DummyInput.ass' (6 styles, 1 events)
DEBUG 22:02:53.595 [ffmpeg-1-2] Output #0, dvd, to 'pipe:':
DEBUG 22:02:53.595 [ffmpeg-1-2]   Metadata:
DEBUG 22:02:53.595 [ffmpeg-1-2]     encoder         : Lavf56.25.101
DEBUG 22:02:53.595 [ffmpeg-1-2]     Stream #0:0: Video: mpeg2video, yuv420p, 720x480 [SAR 1:1 DAR 3:2], q=2-31, 6000 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
DEBUG 22:02:53.595 [ffmpeg-1-2]     Metadata:
DEBUG 22:02:53.595 [ffmpeg-1-2]       encoder         : Lavc56.26.100 mpeg2video
DEBUG 22:02:53.595 [ffmpeg-1-2] Stream mapping:
DEBUG 22:02:53.595 [ffmpeg-1-2]   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
DEBUG 22:02:53.595 [ffmpeg-1-2] Press [q] to stop, [?] for help
DEBUG 22:02:53.599 [ffmpeg-1-2] frame=    1 fps=0.0 q=1.6 Lsize=       8kB time=00:00:00.03 bitrate=1964.1kbits/s    
DEBUG 22:02:53.599 [ffmpeg-1-2] video:5kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 51.227615%
TRACE 22:02:53.609 [ffmpeg-1] EOF
TRACE 22:02:53.609 [ffmpeg-1] Ready to Stop: true
DEBUG 22:02:56.110 [ffmpeg-1-Cleanup] Stopping Unix process 13594: ffmpeg-1
TRACE 22:02:56.110 [ffmpeg-1-Cleanup] Killing the Unix process: 13594
TRACE 22:02:56.111 [ffmpeg-1-Cleanup] Destroying buffer
Not sure if the rest is sane but now I know I can build and run.

I will need a little help in testing if it really works - subtitles, never seen any.

This file is 14.7MB vs 20.0MB for the pre-packaged v2.6.2.
I might not have all the libraries configured. I'll check later.

(Similar post in viewtopic.php?f=9&t=3433&p=16505#p16505)

Re: ffmpeg has a return code of 139

Posted: Sat May 23, 2015 12:16 pm
by Optimus_prime
Could you post how you built ffmpeg?

Re: ffmpeg has a return code of 139

Posted: Sat May 23, 2015 2:05 pm
by michaelt
yes - cleaning up my notes during the build.
Could you beta test it for me since your system is virgin and I don't want to reinstall this one!

if yes - what is your system configuration(s)?
if 10.7 or 10.8, install or update to: