ffmpeg has a return code of 139

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
taconaut
Posts: 38
Joined: Fri Nov 21, 2014 9:00 pm

Re: What broke?

Post by taconaut »

michaelt wrote:Is there a thread or location, here or elsewhere which shows the status of the build environment?
I've set up a jenkins instance which builds windows and linux installers (but no OSX as it is hosted on a win7 machine)
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

Re: What broke?

Post by michaelt »

taconaut wrote:I've set up a jenkins instance which builds windows and linux installers (but no OSX as it is hosted on a win7 machine)
Looks good but not familiar with it - I'll learn and try to get one for Mac.
It will give me an idea if something in the backend is broke.
thanx.

Were they 'broke' too over the weekend (~Friday=>Sunday)?
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

ffmpeg build is now back up

Post by michaelt »

michaelt wrote:Bad News - attempted to rebuild ffmpeg in hopes of reconstructing the opt tree but this ffmpeg build environment is self destructing right in front of me.
As usual I can't leave a dead dog to decay.
A little digging with the help of "Time Machine" and shell I was able to restore a good build state.
Shell found the errors and TM restored them. It's working again.
One anomaly: seeing V2.6.3 but it builds 2.6.2.

Code: Select all

[ffmpeg-1] Starting /Users/umsmkv/UMS_J8/ums_osx-512J8x2/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 -
[mplayer-0] Setting FONTCONFIG_PATH to "/Users/umsmkv/UMS_J8/ums_osx-512J8x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/fonts"
[ffmpeg-1] Setting FONTCONFIG_PATH to "/Users/umsmkv/UMS_J8/ums_osx-512J8x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/fonts"
[main] Searching for plugins in /Users/umsmkv/UMS_J8/ums_osx-512J8x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/plugins
[main] No plugins found
[main] Registering transcoding engine: FFmpeg Audio
[main] Registering transcoding engine: MEncoder
[main] Registering transcoding engine: FFmpeg
[main] Registering transcoding engine: VLC
[main] Reading ffmpeg_webfilters_path: "/Users/umsmkv/Library/Application Support/UMS/ffmpeg.webfilters" (default: null)
[ffmpeg-1] Successfully initialized buffer to 52,428,800 bytes.
[ffmpeg-1] Attaching thread: ffmpeg-1
[mplayer-0] Successfully initialized buffer to 52,428,800 bytes.
[ffmpeg-1] Unix process ID (/Users/umsmkv/UMS_J8/ums_osx-512J8x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/ffmpeg): 72452
[mplayer-0] Attaching thread: mplayer-0
[mplayer-0] Unix process ID (/Users/umsmkv/UMS_J8/ums_osx-512J8x2/target/ums-5.1.2_x2-distribution/Universal Media Server.app/Contents/Resources/osx/mplayer): 72451
[mplayer-0-2] Can't init Apple Remote.
[ffmpeg-1-2] ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers
[ffmpeg-1-2]   built with Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
[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-ffplay --disable-indev=x11grab_xcb --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libquvi --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libxvid --enable-libass --enable-nonfree --enable-vda
[ffmpeg-1-2]   libavutil      54. 20.100 / 54. 20.100
[ffmpeg-1-2]   libavcodec     56. 26.100 / 56. 26.100
[ffmpeg-1-2]   libavformat    56. 25.101 / 56. 25.101
[ffmpeg-1-2]   libavdevice    56.  4.100 / 56.  4.100
[ffmpeg-1-2]   libavfilter     5. 11.102 /  5. 11.102
[ffmpeg-1-2]   libavresample   2.  1.  0 /  2.  1.  0
[ffmpeg-1-2]   libswscale      3.  1.101 /  3.  1.101
[ffmpeg-1-2]   libswresample   1.  1.100 /  1.  1.100
[ffmpeg-1-2]   libpostproc    53.  3.100 / 53.  3.100
[main] FFmpeg supported protocols: [cache, concat, crypto, data, ffrtmphttp, file, ftp, gopher, hls, http, httpproxy, mmsh, mmst, pipe, rtmp, rtmpt, rtp, srtp, subfile, tcp, udp, udplite, unix, mms]
[ffmpeg-1-2] Input #0, lavfi, from 'nullsrc=s=720x480:d=1:r=1':
[ffmpeg-1-2]   Duration: N/A, start: 0.000000, bitrate: N/A
[ffmpeg-1-2]     Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 720x480 [SAR 1:1 DAR 3:2], 1 tbr, 1 tbn, 1 tbc
[main] Registering transcoding engine: FFmpeg Web Video
[main] Registering transcoding engine: MEncoder Web
[main] Registering transcoding engine: VLC Web Video
[main] Registering transcoding engine: tsMuxeR
[main] Registering transcoding engine: Audio High Fidelity
[main] Registering transcoding engine: VLC Web Audio (Legacy)
[main] Registering transcoding engine: VLC Web Video (Legacy)
[main] Registering transcoding engine: dcraw Thumbnailer
[mplayer-0-2] File not found: 'dummy'
[mplayer-0-2] Failed to open dummy.
[mplayer-0] EOF
[mplayer-0] Ready to Stop: true
[ffmpeg-1-2] [Parsed_ass_0 @ 0x7f9be1900000] Added subtitle file: 'DummyInput.ass' (6 styles, 1 events)
[ffmpeg-1-2] Output #0, dvd, to 'pipe:':
[ffmpeg-1-2]   Metadata:
[ffmpeg-1-2]     encoder         : Lavf56.25.101
[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
[ffmpeg-1-2]     Metadata:
[ffmpeg-1-2]       encoder         : Lavc56.26.100 mpeg2video
[ffmpeg-1-2] Stream mapping:
[ffmpeg-1-2]   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
[ffmpeg-1-2] Press [q] to stop, [?] for help
[ffmpeg-1-2] frame=    1 fps=0.0 q=1.6 Lsize=       8kB time=00:00:00.03 bitrate=1964.1kbits/s    
[ffmpeg-1-2] video:5kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 51.227615%
[ffmpeg-1] EOF
[ffmpeg-1] Ready to Stop: true
[main] WEB interface is available at: http://10.0.1.50:9001
[main] Sending message from multicast socket on network interface: name:0.0.0.0
[main] Multicast socket is on interface: /0.0.0.0
[main] Socket Timeout: 0
[main] Socket TTL: 32
[main] Reading uuid: "3d7edd4a-31e0-4758-9169-eb3f39a36933" (default: null)
[main] Using the following UUID configured in UMS.conf: 3d7edd4a-31e0-4758-9169-eb3f39a36933
[main] Waiting 250 milliseconds...
[UPNPHelper] Setting multicast network interface: name:en0 (en0)
[main] The server is now available for renderers to find
[mplayer-0-Cleanup] Stopping Unix process 72451: mplayer-0
[mplayer-0-Cleanup] Killing the Unix process: 72451
[mplayer-0-Cleanup] Destroying buffer
[ffmpeg-1-Cleanup] Stopping Unix process 72452: ffmpeg-1
[ffmpeg-1-Cleanup] Killing the Unix process: 72452
[ffmpeg-1-Cleanup] Destroying buffer
No errors.

BIG suggestion: let "Time Machine" backup your development trees. Never seen a better backup system - nothing even close. Could not have fixed so quick without it.

I'll detail what happened, symptoms and fix if needed.

Now to figure out what libraries/options you want for the build. My build is 15.8M, repos is 30M. ???
There may be some confusion about the options.
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
michaelt
Posts: 155
Joined: Tue Feb 03, 2015 11:18 am
Location: lost in the depths of my mind

[Closed] ffmpeg has a return code of 139

Post by michaelt »

Closing this thread since the root cause is known and fixed.

The further local ffmpeg builds are covered in this thread: viewtopic.php?f=11&t=3494
MacPro5,1 - 2.8 GHz, 32 GB, 20TB, OS X 10.11.6,
. . . . and a few others.
Samsung UN55C8000
Home Theater (WIP): OS X based now, dedicated Linux later.
Post Reply