clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
670 stars 176 forks source link

Transcoding fails #928

Closed aguite closed 4 months ago

aguite commented 8 years ago

Hi there and Happy New Year.

I'm trying pre-transcode my video using my DS214Play's Evansport hardware transcoding engine so that my files are easily streamed out to my TV. I'm trying to limit the bitrate to 4 megabits. Transcoding is failing. I've attached the error log sabnzbd returns, as well as the [Transcoder] section of autoProcessMedia.cfg.

I've asked ffmpeg to provide a -report in the generalOptions, but I can't find the log file anywhere.

Hoping you can help

As a separate issue, I don't have a need for the original files for TV (I tend to watch them once and delete once the season is over), but it would be nice to keep them for my Movies, as I rewatch those, and it would be nice to hang onto the data so when I upgrade my hardware I have better quality files available.

Error from sab [03:12:00] [INFO]::MAIN: Checking for files to be transcoded [03:12:00] [INFO]::MAIN: Transcoding video: /volume1/Downloads/complete/sickrage/Ash.vs.Evil.Dead.S01E09.720p.HDTV.x264-KILLERS.mp4 [03:12:01] [ERROR]::MAIN: Transcoding of video to /volume1/Downloads/source.mp4 failed with result 1 [03:12:01] [INFO]::MAIN: Transcoding video: /volume1/Downloads/complete/sickrage/source.mp4 [03:12:01] [ERROR]::MAIN: Transcoding of video to /volume1/Downloads/complete/sickrage/source.mp4 failed with result 1 [03:12:01] [ERROR]::SICKBEARD: FAILED: Transcoding failed for files in /volume1/Downloads/complete/sickrage [03:12:01] [ERROR]::MAIN: A problem was reported in the /usr/local/sabnzbd/var/scripts/nzbToSickBeard.py script. SickBeard: Failed to post-process - Transcoding failed!

[Transcoder] section of autoProcessMedia.cfg

[Transcoder]

getsubs. enable to download subtitles.

getSubs = 0  
# subLanguages. create a list of languages in the order you want them in your subtitles.  
subLanguages = eng  
# transcode. enable to use transcoder  
transcode = 1  
###### duplicate =1 will cretae a new file. =0 will replace the original  
duplicate = 0  
# concat. joins cd1 cd2 etc into a single video.  
concat = 1  
ignoreExtensions = ""  
# outputFastStart. 1 will use -movflags + faststart. 0 will disable this from being used.  
outputFastStart = 0  
# outputQualityPercent. used as -q:a value. 0 will disable this from being used.  
outputQualityPercent = 0  
# outputVideoPath. Set path you want transcoded videos moved to. Leave blank to disable.  
outputVideoPath = ""  
# processOutput. 1 will send the outputVideoPath to SickBeard/CouchPotato. 0 will send original files.  
processOutput = 1  
# audioLanguage. set the 3 letter language code you want as your primary audio track.  
audioLanguage = eng  
# allAudioLanguages. 1 will keep all audio tracks (uses AudioCodec3) where available.  
allAudioLanguages = 1  
# allSubLanguages. 1 will keep all exisiting sub languages. 0 will discare those not in your list above.  
allSubLanguages = 0  
# embedSubs. 1 will embded external sub/srt subs into your video if this is supported.  
embedSubs = 1  
# burnInSubtitle. burns the default sub language into your video (needed for players that don't support subs)  
burnInSubtitle = 0  
# extractSubs. 1 will extract subs from the video file and save these as external srt files.  
extractSubs = 0  
# externalSubDir. set the directory where subs should be saved (if not the same directory as the video)  
externalSubDir = ""  
# hwAccel. 1 will set ffmpeg to enable hardware acceleration (this requires a recent ffmpeg)  
hwAccel = 0  
# generalOptions. Enter your additional ffmpeg options here with commas to separate each option/value (i.e replace spaces with commas).  
generalOptions = -prefer_smd, -report  
# outputDefault. Loads default configs for the selected device. The remaining options below are ignored.  
# If you want to use your own profile, leave this blank and set the remaining options below.  
# outputDefault profiles allowed: iPad, iPad-1080p, iPad-720p, Apple-TV2, iPod, iPhone, PS3, xbox, Roku-1080p, Roku-720p, Roku-480p, mkv, mp4-scene-release  
outputDefault = ""  
#### Define custom settings below.  
outputVideoExtension = .mp4  
outputVideoCodec = libx264  
VideoCodecAllow = ""  
outputVideoPreset = high  
outputVideoResolution = 1920:1080  
outputVideoFramerate = 24  
outputVideoBitrate = 4000000  
outputVideoCRF = 19  
outputVideoLevel = 3.1  
outputAudioCodec = ac3  
AudioCodecAllow = ""  
outputAudioChannels = 6  
outputAudioBitrate = 640k  
outputAudioTrack2Codec = libfaac  
AudioCodec2Allow = ""  
outputAudioTrack2Channels = 2  
outputAudioTrack2Bitrate = 128000  
outputAudioOtherCodec = libmp3lame  
AudioOtherCodecAllow = ""  
outputAudioOtherChannels = ""  
outputAudioOtherBitrate = 128000  
outputSubtitleCodec = ""
clinton-hall commented 8 years ago

if you want to keep the original files, but process the newly transcoded ones, try

duplicate = 1
outputVideoPath =  /volume1/Downloads/complete/transcoded

to find out why this fails, try

[General]
    log_debug = 1

then post the full debug log after a transcode failure.

aguite commented 8 years ago

My apologies, it appears that the errors I was receiving in the previous post (now deleted) were the result of problems with SickRage. I've resolved them, and we're back to working on transcoding. Here're the results from nzbtomedia.log:

The only thing I've noticed is that the "-prefer_smd" argument is supposed to go between the INPUTFILE and the OUTPUTFILE in the ffmpeg command (like this: "/usr/syno/bin/ffmpeg -i INPUTFILE -maxrate 11000000 -c:v h264 -prefer_smd -preset veryfast -crf 23 -c:a copy OUTPUTFILE"), and the script is putting it before the INPUTFILE.

Maybe ffmpeg is rejecting the structure of the command?

Thanks

2016-01-05 23:43:55 INFO ::MAIN: Loading config from [/volume1/@appstore/sabnzbd/var/scripts/autoProcessMedia.cfg] 2016-01-05 23:43:55 INFO ::MAIN: Checking database structure... 2016-01-05 23:43:55 DEBUG ::MAIN: Checking Initial Schema database upgrade 2016-01-05 23:43:55 DEBUG ::MAIN: InitialSchema upgrade not required 2016-01-05 23:43:55 INFO ::MAIN: Checking if source needs an update 2016-01-05 23:43:56 DEBUG ::MAIN: cur_commit = None % (newest_commit)= 3e4861e87c543a4d2debd8997feb16bda3ef5339, num_commits_behind = 0 2016-01-05 23:43:56 ERROR ::MAIN: Unknown current version number, don't know if we should update or not 2016-01-05 23:43:56 INFO ::MAIN: nzbToMedia Version:10.12 Branch:master (Linux 3.2.40) 2016-01-05 23:43:56 INFO ::MAIN: ######################################################### 2016-01-05 23:43:56 INFO ::MAIN: ## ..::[nzbToMedia.pyc]::.. ## 2016-01-05 23:43:56 INFO ::MAIN: ######################################################### 2016-01-05 23:43:56 DEBUG ::MAIN: Options passed into nzbToMedia: ['/usr/local/sabnzbd/var/scripts/nzbToSickBeard.py', '/volume1/Downloads/complete/sickrage', 'SOURCE.nzb', 'SOURCE', '', 'tv', 'alt.binaries.teevee', '0'] 2016-01-05 23:43:56 INFO ::MAIN: Script triggered from SABnzbd 2016-01-05 23:43:56 DEBUG ::MAIN: Searching for nzoid from SAbnzbd ... 2016-01-05 23:43:57 DEBUG ::MAIN: Adding NZB download info for directory /volume1/Downloads/complete/sickrage to database 2016-01-05 23:43:57 INFO ::MAIN: Auto-detected SECTION:SickBeard 2016-01-05 23:43:57 DEBUG ::MAIN: Checking for archives to extract in directory: /volume1/Downloads/complete/sickrage 2016-01-05 23:43:57 INFO ::MAIN: Calling SickBeard:tv to post-process:Grandfathered.S01E10.720p.HDTV.x264-KILLERS.nzb 2016-01-05 23:43:57 INFO ::MAIN: SickBeard:tv fork set to sickrage 2016-01-05 23:43:57 INFO ::MAIN: FLATTEN: Flattening directory: /volume1/Downloads/complete/sickrage 2016-01-05 23:43:57 DEBUG ::MAIN: Checking for empty folders in:/volume1/Downloads/complete/sickrage 2016-01-05 23:43:57 INFO ::MAIN: Checking for files to be transcoded 2016-01-05 23:43:57 INFO ::MAIN: Transcoding video: /volume1/Downloads/complete/transcoded/Grandfathered.S01E10.720p.HDTV.x264-KILLERS.mp4 2016-01-05 23:43:57 DEBUG ::MAIN: calling command: nice -n0 /usr/syno/bin/ffmpeg -loglevel warning -prefer_smd -fflags +genpts -i /volume1/Downloads/complete/sickrage/SOURCE.mkv -map 0 -c:v libx264 -pre high -r 24.0 -b:v 4000000 -vf scale=1920:1080 -preset high -crf 19 -level 3.1 -c:a ac3 -ac 6 -b:a 640000 -c:s copy -sn /volume1/Downloads/complete/transcoded/SOURCE.mp4 2016-01-05 23:43:58 ERROR ::MAIN: Transcoding of video to /volume1/Downloads/complete/transcoded/SOURCE.mp4 failed with result 1 2016-01-05 23:43:58 ERROR ::SICKBEARD: FAILED: Transcoding failed for files in /volume1/Downloads/complete/sickrage 2016-01-05 23:43:58 ERROR ::MAIN: A problem was reported in the /usr/local/sabnzbd/var/scripts/nzbToSickBeard.py script.

clinton-hall commented 8 years ago

do a test manually nice -n0 /usr/syno/bin/ffmpeg -loglevel warning -prefer_smd -fflags +genpts -i /volume1/Downloads/complete/sickrage/SOURCE.mkv -map 0 -c:v libx264 -pre high -r 24.0 -b:v 4000000 -vf scale=1920:1080 -preset high -crf 19 -level 3.1 -c:a ac3 -ac 6 -b:a 640000 -c:s copy -sn /volume1/Downloads/complete/transcoded/SOURCE.mp4 then try nice -n0 /usr/syno/bin/ffmpeg -loglevel warning -fflags +genpts -i /volume1/Downloads/complete/sickrage/SOURCE.mkv -prefer_smd -map 0 -c:v libx264 -pre high -r 24.0 -b:v 4000000 -vf scale=1920:1080 -preset high -crf 19 -level 3.1 -c:a ac3 -ac 6 -b:a 640000 -c:s copy -sn /volume1/Downloads/complete/transcoded/SOURCE.mp4

if the first fails, and the second successeds, then I need to add the option to add custom commands in 3 places... before the input, after the input, and after the output...

aguite commented 8 years ago

I think it's pretty close now.

Firstly, Busybox on my stock Synology install didn't include nice. I installed an updated version alongside, and that got ffmpeg to run.

as root, I ran

nice -n0 /usr/syno/bin/ffmpeg -loglevel warning -prefer_smd -fflags +genpts -i /volume1/Downloads/complete/sickrage/IN.mkv -map 0 -c:v h264_smd -b:v 4000000 -preset veryfast -crf 19 -c:a copy -c:s copy -sn /volume1/Downloads/complete/transcoded/OUT.mp4

You'll notice that I'm specifying h265_smd in the codec argument. This works well. ~50-100 fps transcoding, depending on the original file's bitrate. Set like this, ffmpeg is agnostic about where -prefer_smd shows up in the command, and there are no issues.

I tried running the nzbtomedia from sabnzbd with these settings, and it would appear to hang after transcoding about 30mb of output. I have all of my download and transcoding software running as a user named auto. Running that command as auto, I got pages and pages of buffer errors.

I think there's a permissions error. ffmpeg seems to only want to run as root (even the admin user can't complete a transcode). Any ideas?

aguite commented 8 years ago

Here's a portion of the output from ffmpeg.

ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Oct  1 2015 22:06:42 with gcc 4.6.4 (crosstool-NG 1.19.0)
  configuration: --prefix=/usr/syno --incdir='${prefix}/include/ffmpeg' --arch=i686 --target-os=linux --cross-prefix=/usr/local/i686-pc-linux-gnu/bin/i686-pc-linux-gnu- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/i686-pc-linux-gnu/bin/i686-pc-linux-gnu-ccache-gcc --enable-yasm --enable-libx264 --enable-encoder=libx264 --enable-libh264_smd --enable-smd -  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Input #0, matroska,webm, from '/volume1/Downloads/complete/sickrage/IN.mkv':
  Metadata:
    creation_time   : 2016-01-06 12:41:03
  Duration: 00:21:28.77, start: 0.000000, bitrate: 3088 kb/s
    Stream #0:0: Video: h264_smd (High), yuv420p, 1280x720, SAR 1:1 DAR 16:9, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc (default)
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
[h264_smd @ 0x808f8a0] using SAR=1/1
[h264_smd @ 0x808f8a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
[h264_smd @ 0x808f8a0] profile High, level 3.1
[h264_smd @ 0x808f8a0] 264 - core 119 r0+5 73bd4c7 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=19.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
*********Using Hardware H.264 Encoder **************
[h264_smd @ 0x808de00] 
******************Using H.264 Hardware video decoder**************
[mp4 @ 0x808ea20] track 1: codec frame size is not set
Output #0, mp4, to '/volume1/Downloads/complete/transcoded/OUT.mp4':
  Metadata:
    encoder         : Lavf55.12.100
    Stream #0:0: Video: h264 (h264_smd) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 4000 kb/s, 30k tbn, 29.97 tbc (default)
    Stream #0:1: Audio: ac3 ([165][0][0][0] / 0x00A5), 48000 Hz, 5.1(side), 384 kb/s (default)
Stream mapping:
  Stream #0:0 -> #0:0 (h264_smd -> h264_smd)
  Stream #0:1 -> #0:1 (copy)

At this point I quit out of ffmpeg, because it hung here for several minutes, with no progress on the file.

I can't replicate it, but I got this stuff when before I tried changing permissions on ffmpeg.

********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
    [ismd_ffmpeg_video_dec.c::ismd_ffmpeg_decode_vid_buf:551]
DEBUG: 
********unable to fill out smd_buffer
clinton-hall commented 8 years ago

I am wondering if the issue is related to environment variables, as opposed to permissions?

See if you can find any differences between environment variables for root and admin/auto

aguite commented 8 years ago

I must admit that I'm getting out of my depth here. I don't see any issues, but I might be missing something. Auto's home path is as it is because of the instructions I followed here: http://www.sickbeard.com/forums/viewtopic.php?f=4&t=5003#p23028

env on root returns:

SSH_CLIENT=192.168.1.26 56663 22
MAIL=/var/mail/root
USER=root
TERMINFO=/usr/share/terminfo
HOME=/root
SSH_TTY=/dev/pts/4
PAGER=more
LOGNAME=root
TERM=xterm-256color
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
LANG=en_US.utf8
SHELL=/bin/ash
LC_ALL=en_US.utf8
PWD=/root
SSH_CONNECTION=192.168.1.26 56663 192.168.1.125 22
PGDATA=/var/services/pgsql
TZ=EST5EDT,M3.2.0,M11.1.0

env on admin returns:

SSH_CLIENT=192.168.1.26 56646 22
MAIL=/var/mail/auto
USER=auto
OLDPWD=/volume1
TERMINFO=/usr/share/terminfo
HOME=/usr/local/sickbeard/var
SSH_TTY=/dev/pts/1
PAGER=more
LOGNAME=auto
TERM=xterm-256color
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
LANG=en_US.utf8
SHELL=/bin/sh
LC_ALL=en_US.utf8
PWD=/
SSH_CONNECTION=192.168.1.26 56646 192.168.1.125 22
PGDATA=/var/services/pgsql
TZ=EST5EDT,M3.2.0,M11.1.0

set on root returns:

HISTFILE='/var/log/ash_history.log'
HOME='/root'
IFS='   
'
LANG='en_US.utf8'
LC_ALL='en_US.utf8'
LOGNAME='root'
MAIL='/var/mail/root'
OPTIND='1'
PAGER='more'
PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin'
PGDATA='/var/services/pgsql'
PPID='12856'
PS1='Naraj> '
PS2='> '
PS4='+ '
PWD='/root'
SHELL='/bin/ash'
SSH_CLIENT='192.168.1.26 56663 22'
SSH_CONNECTION='192.168.1.26 56663 192.168.1.125 22'
SSH_TTY='/dev/pts/4'
TERM='xterm-256color'
TERMINFO='/usr/share/terminfo'
TZ='EST5EDT,M3.2.0,M11.1.0'
USER='root'
_='env'

set on auto returns:

HISTFILE='/var/log/ash_history.log'
HOME='/usr/local/sickbeard/var'
IFS='   
'
LANG='en_US.utf8'
LC_ALL='en_US.utf8'
LOGNAME='auto'
MAIL='/var/mail/auto'
OLDPWD='/volume1'
OPTIND='1'
PAGER='more'
PATH='/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin'
PGDATA='/var/services/pgsql'
PPID='12849'
PS1='Naraj> '
PS2='> '
PS4='+ '
PWD='/'
SHELL='/bin/sh'
SSH_CLIENT='192.168.1.26 56646 22'
SSH_CONNECTION='192.168.1.26 56646 192.168.1.125 22'
SSH_TTY='/dev/pts/1'
TERM='xterm-256color'
TERMINFO='/usr/share/terminfo'
TZ='EST5EDT,M3.2.0,M11.1.0'
USER='auto'
_='env'
clinton-hall commented 8 years ago

Unless ffmpeg is writing any temp data to HOME, I can't see anything there. So maybe it is just permissions.

No way to run your downloader (therefore nzbToMedia) as root?

aguite commented 8 years ago

I’m sure I could, but as I understand, that’s generally frowned upon. I’ll give it a shot though.

On Thu, Jan 7, 2016 at 3:16 PM, Clinton Hall notifications@github.com wrote:

Unless ffmpeg is writing any temp data to HOME, I can't see anything there. So maybe it is just permissions.

No way to run your downloader (therefore nzbToMedia) as root?

— Reply to this email directly or view it on GitHub https://github.com/clinton-hall/nzbToMedia/issues/928#issuecomment-169793448 .

clinton-hall commented 8 years ago

I suggest this for testing... If we know that works, we can hopefully find a safer permanent solution.

aguite commented 8 years ago

It's working now, though I had to change my indexer (Sick Rage) to run as root because either the script or sabnzbd is deleting /volume1/Downloads/complete/transcoded at the end of the script, and when it's recreated it has permissions set to 700 (so Sick Rage can't see inside to do any further post processing or moving if it's running as auto).

Otherwise though, it's processing and transcoding reliably now.

clinton-hall commented 8 years ago

Interesting. NzbToMedia does have an option to set chroot. It may be possible to have downloader and SickRage both run as the same (non root) user...

aguite commented 8 years ago

Wouldn't that leave it with the same problem of ffmpeg not running as any user other than root? I'm trying to get some info from the Synology forums on that. I'll leave things set as they are for now, and if any other information pops up I'll pass it on.