Transcoding failing silently

Need help? Post your questions here.

Moderator: moderators

Transcoding failing silently

Postby Palmski » Thu Jul 28, 2016 11:32 am

Problem Description: Any file which requires transcoding does not play with an external player w/ playlist. MP3 files play just fine. In the log file there are two messages saying that transcoding is starting for a given but nothing ever plays. *EDIT* when using the web player it runs OK, with a single transcode message per file.
Troubleshooting Steps: Rebooted server, switched version of ffmpeg from the supplied to the system-installed version, tried the web player. I normally use external player with playlist, and also tried web player which worked OK. Ran the same ffmpeg command from the command prompt, although outputting to file in this instance, but that produced an MP3 as expected.
Playback Application and version: MusicBee, MediaMonkey & standard web interface
Subsonic Version: 6.0 (build a7857c) – April 30, 2016
Server Version: jetty-6.1.x, java 1.7.0_79, Linux (61.4 MB / 125.5 MB)
Hardware Platform: Linux Mint 17 Qiana
Java Memory Limit: Unknown, defaults not changed.
Problem Filename: Any wma or m4a files
Output from ffmpeg -i:
Code: Select all
root@HomeServer:/var/subsonic# /var/subsonic/transcode/ffmpeg -i '/var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/01 Overdone.m4a'
ffmpeg version 3.0-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.1 (Debian 5.3.1-8) 20160205
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libmfx --cc=gcc
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xbde7e60] stream 0, timescale not set
[mjpeg @ 0xbdea820] Changing bps to 8
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/01 Overdone.m4a':
  Metadata:
    major_brand     : M4A
    minor_version   : 0
    compatible_brands: M4A mp42isom
    creation_time   : 2029-12-17 12:08:46
    iTunSMPB        :  00000000 00000840 000002D8 00000000009344E8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    iTunNORM        :  00002233 000021B5 0000A1F7 00009D65 0000F3CF 00027009 00008294 000082BC 000235FD 0001422D
    title           : Overdone
    artist          : Bombay Bicycle Club
    album_artist    : Bombay Bicycle Club
    composer        : Jack Steadman, R. D. Burman & Anand Bakshi
    album           : So Long, See You Tomorrow
    genre           : Alternative
    track           : 1/10
    disc            : 1/1
    compilation     : 0
    gapless_playback: 0
    date            : 2014-01-01T08:00:00Z
    account_id      : andy@palmski.plus.com
    rating          : 0
    media_type      : 1
    purchase_date   : 2015-05-30 21:57:28
    sort_name       : Overdone
    sort_album      : So Long, See You Tomorrow
    sort_artist     : Bombay Bicycle Club
    sort_composer   : Jack Steadman, R. D. Burman & Anand Bakshi
    iTunMOVI        : <?xml version="1.0" encoding="UTF-8"?>
                    : <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
                    : <plist version="1.0">
                    : <dict>
                    :   <key>asset-info</key>
                    :   <dict>
                    :           <key>file-size</key>
                    :           <integer>7820847</integer>
                    :           <key>flavor</key>
                    :           <string>2:256</string>
                    :   </dict>
                    : </dict>
                    : </plist>
                    :
  Duration: 00:03:38.92, start: 0.000000, bitrate: 285 kb/s
    Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 263 kb/s (default)
    Metadata:
      creation_time   : 2029-12-17 12:08:46
    Stream #0:1: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1400x1400 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc

Last ten log file lines:
Code: Select all
[2016-07-28 13:03:37,780] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/01 Overdone.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:03:46,259] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/01 Overdone.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:03:47,136] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/02 It's Alright Now.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:03:56,411] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/02 It's Alright Now.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:03:57,228] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/03 Carry Me.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:07,509] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/03 Carry Me.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:08,375] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/04 Home By Now.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:18,851] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/04 Home By Now.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:19,709] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/05 Whenever, Wherever.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:32,385] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/05 Whenever, Wherever.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:33,254] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/06 Luna.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:40,525] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/06 Luna.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:41,395] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/07 Eyes Off You.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:50,471] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/07 Eyes Off You.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:04:51,334] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/08 Feel.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:05:02,604] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/08 Feel.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:05:03,497] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/09 Come To.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:05:13,583] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/09 Come To.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:05:14,434] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/10 So Long, See You Tomorrow.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
[2016-07-28 13:05:28,126] INFO TranscodeInputStream - Starting transcoder: /var/subsonic/transcode/ffmpeg -i /var/Music/iTunes Music/Music/Bombay Bicycle Club/So Long, See You Tomorrow/10 So Long, See You Tomorrow.m4a -map 0:0 -b:a 320k -v 0 -f mp3 -
Palmski
 
Posts: 7
Joined: Fri Jul 09, 2010 8:31 am

Re: Transcoding failing silently

Postby Palmski » Thu Jul 28, 2016 12:25 pm

Edited the OP to reflect a mistake that I made; I added quotes around the filename in the settings (so '%s') because I have a space in the file path and running ffmpeg from the command line required the quotes otherwise it failed. This was causing the web player to fail in the way that it did. Still have the problem with the external player though :(
Palmski
 
Posts: 7
Joined: Fri Jul 09, 2010 8:31 am

Re: Transcoding failing silently

Postby Palmski » Mon Aug 08, 2016 8:57 pm

nvm, I think I've solved it FWIW. It appears there are two problems which just clouded the issue entirely; firstly MediaMonkey (which I have been using for testing at home) for some inexplicable reason won't play the transcoded stream but will play the non-transcoded mp3 files. Secondly *all* mp3 streaming via apps appears to have been silently blocked at my work in the past month, where I mainly use this, so MusicBee was not working there. Guess I'll have to go back to using the HTML5 player, curse corporate network security :evil:
Palmski
 
Posts: 7
Joined: Fri Jul 09, 2010 8:31 am


Return to Help

Who is online

Users browsing this forum: No registered users and 33 guests