foobar 0 Posted January 21, 2016 Share Posted January 21, 2016 (edited) Hi all, I am experiencing three issues: 1) I added a "Photos" resource and selected a directory that contains folders with pictures in it. However, there are also some folders that contain further folders of images. For those top level folders no primary image is created. I would have expected that at least one picture of the subfolders is taken as primary image for the top level folder, or - just like for the complete "Photos" resource - the primary image will be generated as a group of let's say 4 pictures that represent the included folders. I suppose this is not a bug, but at least it would be a nice enhancement. 2) I marked a few images, folders or videos as favorite, but they don't show up under the top level menu "Favorites". The page is just empty. Is there something I could have done wrong? The heart icon for all those resources is shown red, so I suppose they are marked correctly. 3) My library also contains some AVI videos. When I try to play / transcode them, I get the following within the log file: 2016-01-21 21:35:43.7774 Info App: /var/lib/emby-server/ffmpeg/20150917/ffmpeg -i file:"/xyz/2013-10-19_MVI_5268.AVI" -map_metadata -1 -threads 8 -map -0:v -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 872001 -maxrate 872001 -bufsize 1744002 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,720)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 1 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -y "/var/lib/emby-server/transcoding-temp/60f9f8198d853e4c19aee152fae69f78.m3u8"2016-01-21 21:35:44.0252 Info App: FFMpeg exited with code 1 The transcoding log contains the following: {"Protocol":"File","Id":"cc7a948e5ec17f93d856125e5721d4f4","Path":"/xyz/2013-10-19_MVI_5268.AVI","Type":"Default","Container":"AVI","Name":"PCM_U8","RunTimeTicks":274000000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"mjpeg","IsInterlaced":false,"BitRate":4850615,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":240,"Width":320,"AverageFrameRate":30.0003,"RealFrameRate":30.0003,"Type":"EmbeddedImage","AspectRatio":"4:3","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj422p","Level":-99,"IsAnamorphic":false},{"Codec":"pcm_u8","IsInterlaced":false,"BitRate":88192,"BitDepth":8,"Channels":1,"SampleRate":11024,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":4939467,"RequiredHttpHeaders":{}}/var/lib/emby-server/ffmpeg/20150917/ffmpeg -i file:"/xyz/2013-10-19_MVI_5268.AVI" -map_metadata -1 -threads 8 -map -0:v -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 872001 -maxrate 872001 -bufsize 1744002 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,720)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 1 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -y "/var/lib/emby-server/transcoding-temp/60f9f8198d853e4c19aee152fae69f78.m3u8"ffmpeg version 2.8.5-static http://johnvansickle.com/ffmpeg/ Copyright © 2000-2016 the FFmpeg developers built with gcc 4.9.3 (Debian 4.9.3-10) 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-aacenc --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 --cc=gcc-4.9 libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100[mjpeg @ 0x54334c0] Changeing bps to 8Guessed Channel Layout for Input Stream #0.1 : monoInput #0, avi, from 'file:/xyz/2013-10-19_MVI_5268.AVI': Metadata: creation_time : 2013-10-21 14:22:55 encoder : CanonMVI02 Duration: 00:00:27.40, start: 0.000000, bitrate: 4939 kb/s Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 320x240, 4850 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11024 Hz, 1 channels, u8, 88 kb/sStream map '0:v' matches no streams.To ignore this, add a trailing '?' to the map. I suppose ffmpeg isn't able to detect the video/audio stream correctly...but don't know. Any help appreciated! Cheers, Frank Edited January 21, 2016 by foobar Link to comment Share on other sites More sharing options...
Luke 37282 Posted January 21, 2016 Share Posted January 21, 2016 #1 yes that's a good idea and something we should add. For #2 we really just haven't done anything with photo favorites yet. For #3 can you provide a sample file? That's a very new ffmpeg version so I'm inclined to say possible ffmpeg bug. It tells us the video is at stream 0 then it fails when we try to access it. I'd like to test locally though. thanks. Link to comment Share on other sites More sharing options...
foobar 0 Posted January 21, 2016 Author Share Posted January 21, 2016 Thanks for the quick reply. For 3) I also tried to play/transcode the video with the ffmpeg version provided in your repository. Same result. I will send you the sample files via pm. Cheers, Frank Link to comment Share on other sites More sharing options...
Luke 37282 Posted January 21, 2016 Share Posted January 21, 2016 ok, i was able to get past the error but then ffmpeg fails to encode it and doesn't produce any error message. as of now i'm not sure if it's just an ffmpeg bug or an issue with our command line Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now