Jump to content

Search the Community

Showing results for tags 'ffmpeg'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. At times, I have issues in the web interface where playback ability dies, which is no big deal, I restart the Emby service and that fixes it. However, sometimes this then spawn's ffmpeg processes, where the browser now tries to playback previous requests.... in this case it created 3 ffmpeg processes. However, someone else starts watching a movie, and now I have 4 ffmpeg processes. As far as I can tell, the pid of the ffmpeg process, is not listed in the log, so we have no way of telling which ffmpeg process is the one for the movie being watched, and which I can kill. Is it possible that we log in the transcode log the pid of the ffmpeg process?
  2. I'm testing the hardware decoding feature with 3.0.5768.0. If I enable Quick Sync, ffmpeg crashes and restarts in an endless loop. Leaving the hardware decoding set to "Auto" works, but doesn't use Quick Sync. I have an i5-4690s with the latest Intel drivers. To test that Quick Sync is working, I installed OBS, enabled Quick Sync, and captured the screen and it worked fine. https://obsproject.com/download FWIW, I configured OBS to capture the screen and played a video that required transcoding. Playing the video within chrome on the same computer that is running Emby Server, ffmpeg used about 50% of the CPU to transcode the original file with throttling enabled, while OBS used 8% to capture and stream the screen (preview mode). Here is the transcoding log when Quick Sync transcoding fails: {"Protocol":"File","Id":"5fd7e054debb9326f3fc6a5aff109c0b","Path":"F:\\path\\to\\filename.avi","Type":"Default","Container":"avi","Name":"SD/H264/AC3","RunTimeTicks":80872880000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","IsInterlaced":false,"BitRate":992083,"BitDepth":8,"RefFrames":3,"IsDefault":false,"IsForced":false,"Height":288,"Width":688,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":51,"IsAnamorphic":false,"IsCabac":true},{"Codec":"ac3","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":448000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":1449455,"RequiredHttpHeaders":{}} C:\Users\Ceth\AppData\Roaming\Emby-Server\ffmpeg\20150918\ffmpeg.exe -c:v h264_qsv -i file:"F:\path\to\filename.avi" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -b:v 992083 -maxrate 992083 -bufsize 1984166 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=min(iw\,1280):trunc(ow/dar/2)*2" -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 6 -ab 320000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -y "h:\embytranscode\transcoding-temp\0e28bb208bd703b47c6db8071b6abe91.m3u8" ffmpeg version N-75410-g58fe57d Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.2.0 (GCC) configuration: --arch=x86_64 --target-os=mingw32 --cross-prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32- --pkg-config=pkg-config --disable-w32threads --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enable-libdcadec --enable-avisynth --enable-gray --enable-libmfx --extra-libs=-lpsapi --extra-cflags= --enable-static --disable-shared --prefix=/home/mceuser/ffmpeg-windows-build-helpers/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32 --enable-runtime-cpudetect libavutil 55. 2.100 / 55. 2.100 libavcodec 57. 3.100 / 57. 3.100 libavformat 57. 2.100 / 57. 2.100 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 5.100 / 6. 5.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100
  3. Emeds

    FFMpeg issue

    First of all, thanks for the great, free service. I look forward to supporting in the future. To the point - I wasn't able to carry out these steps: # Reinstall FFMpeg from ports with lame option enabled cd /usr/ports/multimedia/ffmpeg make config # enable the lame option # enable the ass subtitles option make install clean Because of read-only access. No multimedia folder existed. Instead, I just reinstalled FFMpeg (2.8 I think) - everything is working, I'm just wondering if maybe the CPU usage would be more efficient if lame was enabled. I really know nothing about media files and transcoding, sorry. But from what I've heard from others, an i5 processor should easily be able to serve several clients (~4mbps). Right now, at least when the movie initially plays, the CPU hits 90-100% usage, 80% for lower quality files. Does that sound about right? Thanks. **environment- NAS4FREE with Emby installed in a jail
  4. Ceth

    Transcoding Improvements

    First off, I love Emby. The amount of progress just over the last year that I have been using it has been pretty amazing, both on the client side and on the server side. I have a question about the potential for improvements transcoding live TV. I use Ceton tuners on two setups, and they don't support DNLA or built-in transcoding so I'm worse off than most. As I understand it, transcoding is achieved through a complicated series of steps where ServerWMC (or another backend) takes the raw MPEG2 streams, writes them to disk, and then ffmpeg transcodes that file to another file, which is then served up using HLS or some other streaming protocol. This introduces long wait times while the stream is prepared, and the potential for orphaned ffmpeg processes and glitchy controls that don't respond consistently or timely. I know EmbyTV removes the third party back end which is a benefit, but will it be technically possible to improve this basic sequence? For example, can the stream from the tuner be fed directly into ffmpeg (or another encoder) within memory without an intermediate file? I understand that some features are limited due to manpower, but others are just technically impossible. I'm just curious as to whether it is possible to improve upon the existing sequence. Also, another potential method to reduce the lag and glitches created by building and tearing down streams, would be to immediately activate a tuner as soon as the Live TV module is loaded. It would immediately create a transcoded stream based on whatever is coming out of the first available tuner so the user doesn't have to wait every time a program is selected for the stream to be created. Selecting the program would change the channel on the tuner with the steam already in progress which would eliminate all lag except for the buffer. Only when you exit the Live TV module would the tuner be released and ffmpeg shutdown. Combine this with upcoming hardware encoding improvements to ffmpeg, and I think the live tv experience would be greatly improved.
  5. Flatline

    Emby server and Raspbeey Pi B 2

    Dear all, I'm trying to optimize my home multimedia setup. RIght now I have kodi installations on a HTPC and on android devices, and I share the kodi library via mysql installed ona QNAP nas. Trying to solve the slowness of this setup, I found about emby, so I'd like to test how faster this solution is. The QNAP package is not working for me as I have an ARM NAS, but as I had a spare RPi2 and I saw some posts around about people making it work, I decided to try it. So I followed these steps: 1) Installed linux on the RPI2 (https://wiki.ubuntu.com/ARM/RaspberryPi) 2) Followed this tutorial for the RPi2 https://discourse.osmc.tv/t/howto-install-emby-server/6364/8 However when I try to start the server: mono MediaBrowser.Server.Mono.exe --ffmpeg "/usr/local/bin/ffmpeg" --ffprobe "/usr/local/bin/ffprobe" or with mono MediaBrowser.Server.Mono.exe --ffmpeg "/usr/local/bin/" --ffprobe "/usr/local/bin/" or even with mono MediaBrowser.Server.Mono.exe i get the error "fmpeg unvailable. Please install it and start the server with two command line arguments: -ffmpeg "{PATH}" and -ffprobe "{PATH}"" Note that I recompiled ffmpeg as by instructions, and that it is accessible via PATH (just running ffmpeg) as well as from /usr/local/bin Can you help me? Thanks in advance!
  6. Hello, I have recently installed the Emby plugin on Open Media Vault however I'm not able to play a show I wish to watch. This is the error I can locate on the logs when I try: 2015-08-10 02:45:19.4810 Error - App: Error starting ffmpeg *** Error Report *** Version: 3.0.5675.1 Command line: /opt/emby/MediaBrowser.Server.Mono.exe -programdata /media/c1a0b79e-e049-4412-8668-c1963a2b91db/emby -restartpath /usr/sbin/emby.sh Operating system: Unix 3.2.0.4 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: /media/c1a0b79e-e049-4412-8668-c1963a2b91db/emby Mono: 4.0.2 (Stable 4.0.2.5/c99aa0c Wed Jun 24 10:04:37 UTC 2015) Application Path: /opt/emby/MediaBrowser.Server.Mono.exe ApplicationName='/media/c1a0b79e-e049-4412-8668-c1963a2b91db/emby/ffmpeg/20150331/ffmpeg', CommandLine='-fflags +genpts -i file:"/media/c1a0b79e-e049-4412-8668-c1963a2b91db/TV/Halt and Catch Fire/Season 2/Halt and Catch Fire - S02E06 - 10Broad36 HDTV-720p.mkv" -map_metadata -1 -threads 0 -sn -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 1372000 -bufsize 2744000 -vsync vfr -profile:v high -level 41 -force_key_frames expr:gte(t,n_forced*3) -vf "scale=min(iw\,1280):trunc(ow/dar/2)*2" -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "adelay=1,aresample=async=1" -hls_time 3 -start_number 0 -hls_list_size 0 -hls_base_url "hls/bd799cf6dcb5f00bc1f6449a42b42c5c/" -y "/media/c1a0b79e-e049-4412-8668-c1963a2b91db/emby/transcoding-temp/bd799cf6dcb5f00bc1f6449a42b42c5c.m3u8"', CurrentDirectory='', Native error= Access denied System.ComponentModel.Win32Exception at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>:0 at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start () at MediaBrowser.Api.Playback.BaseStreamingService+<StartFfMpeg>d__17.MoveNext () [0x00000] in <filename unknown>:0 It repeats this same error multiple times for some reason. I have had no problems using Plex Media Server to play media files, so I went to the /etc/init.d/emby.conf file and replaced the user and usergroup fields with plex so it would run under the same user. I still have the same issue. Does anyone have any suggestions?
  7. I've been experiencing streaming issues in the last couple of weeks. It used to stream fast and smooth and now even when i turn the quality down to the point where it's almost unwatchable (144p), it still pauses/buffers. I'm running a AMD A8 quad-core 3.0GHz cpu w/ 16GB of ram and when I monitor the system, ffmpe.exe is maxing out all 4 cores. Did something change in the transcoding configuration because I've been using MB/Emby for years and never had an issue before. In fact, I used to run it on a slower system (3-cores, lower cpu speed and half the ram) about a year ago and it still ran flawlessly. Here are my logs: Server log: http://paste2.org/sYwc2ZM5 Transcoding log: http://paste2.org/jJ3kb31n Any help is greatly appreciated!
  8. Came across this story on hacker news this morning and thought it would be of interest to the community. The leader of the FFMpeg project is stepping down: http://ffmpeg.org/pipermail/ffmpeg-devel/2015-July/176489.html
  9. its getting to be a deal breaker, seems like it scans the whole library all over, does anyone know why ffmpeg has to run?
  10. Tuxedo

    homebrew ffmpeg

    The Viblast blog post had an assertion that VP9 encoding wasn't multithreaded. It turns out, that was true up until April and currently is still true with the emby ffmpeg builds for OSX. As of libvpx 1.4.0, VP9 encoding is multithreaded. As a consequence of my job, I keep ffmpeg and all its libraries fairly up-to-date via homebrew (and a launchd task). Homebrew tends to roll out updates within a week of a new release. Initially, I have installed ffmpeg with this: brew install ffmpeg --with-fontconfig --with-freetype --with-libquvi --with-libvidstab --with-libvorbis --with-libvpx --with-openjpeg --with-openssl --with-opus --with-frei0r --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-x265 --with-webp --without-xvid --without-qtkit A couple of those libraries are for other things I do, but I'm not sure how much can be left out and ffmpeg will still work as expected. There's a lag in ffmpeg emby updates for OSX, so this is probably the best way to go for anyone interested in lower CPU use, encoding quality, etc. Younger libraries like libvpx and libx265 see a lot of ongoing activity and are constantly improving, so it's worth it to keep up. Initially, all I did was replace the contents of ~/.config/emby-server/ffmpeg/20150110/ with symbolic links, and that will work fine. Since then I've replaced them with bash scripts so I can override some of the hardcoded options and limit thread usage to something my computer can safely encode with without the fans repeatedly cycling up and down. There are some library differences between the tessus build and what came from homebrew, particularly regarding audio, but libvo-aacenc apparently underperforms compared to the native encoder and I haven't noticed any problems otherwise.
  11. cfineman

    Errors trying to play movies

    [sorry tried to edit title after posting because it was WAY TOO VAGUE but seems I can't change it after it's been submitted] So I just installed emby on a "clean" Jessie VM (just jessie plus vm tools). Had some issues with ImageMagick (see my other thread) but I think I've resolved that. I mounted a test directory with a couple movies in it but I can't play (either locally or remotely). The transcription log (below) seems to indicate a low confidence in it's detection of the format. I tried uninstalling ImageMagick again based on another posting I saw from Luke (the idea being that it would degrade the transcription but might be more reliable). The logs below are from the post-uninstallation-of-IM era (I saw the same exact errors before removing IM. I may try a Wheezy or Ubuntu VM tomorrow to see if that makes a difference. Here is an excerpt from the server log right after I hit play on the windows browser client: Here is the transcribe log from the server
  12. Hi, Been having issues with playback stutter, testing below. I'm not sure if its time for an upgrade or if this is a fault that can be resolve, read on and you decide. Test has been performed on a complete fresh install of Windows 7 64 bit SP1 with all updates and all drivers up to date. Emby server: Version 3.0.5597.1 Using Inerstellar 1080p MKV for test file. When running the file through Emby classic (classic is located on the same PC as the Emby server), CPU resources are barely used and video runs great: when running through web browser on Emby sever, CPU usage spikes with ffmpeg.exe and video stutters. Video is running at the highest framerate of 30mbs, but ihave tried various framerates and it has no affect. Logs are attached in case this is a fault. PC specs ( dont laugh, this PC has treated me well) Intel core quad q9400 2.66 8 gig ddr2 Amd radeon hd6450 I guesss there are 2 questions here: 1. Since Emby classic runs fine, why does the Emby Browser browser not, or seem resource hungry when playing the video file? 2. Will upgrading my hardware resolve this? Really want to know before i throw money at new hardware. Thanks for you time and opinions in advance. server-63566439170.txt transcode-0d89b082-efbe-46ac-b6de-1383e5333320.txt transcode-5ec95818-965a-454d-bcc8-cebe6c04914b.txt transcode-16e6db7b-51fa-4ae5-9869-ad6fd5ff62b6.txt transcode-4091e784-c5a9-455e-8f9e-9d4a07bfb5ec.txt transcode-98716041-bb5e-4bba-8c1e-3cf98e91e2a5.txt transcode-af82c4cb-7c42-42ec-a5c7-933ccdec84d7.txt
  13. Hello, I noticed that somewhere along the way ffmpeg was installed into a new path (.....\ffmpeg\20150110\ffmpeg.exe) which is different than the path used in the firewall configuration (....\ffmpeg\20141111\ffmpeg.exe). I'm not sure if the firewall configuration is part of the MBS base product or if it's configured as part of ServerWMC, but I have both installed. Michael
  14. geekinthesticks

    ffmpeg Using 100% CPU.

    I have just discovered MediaBrowser and decided to try it out on my laptop. I am using ArchLinux and running the latest version from the AUR repo. I got it installed and setup OK. However, when I try to view a video it won't play. Looking at top ffmpeg is using all my CPU, presumably trying to transcode the video. If I drag the slider through the video, I can preview the snap shot OK. The laptop is a core i5 with 8GB RAM and I have tried various videos - mostly mp4 either from a GoPro, or transcoded via Handbrake using the Android profile. The computer can play the same videos back using VLC. I am using Chromium.
  15. techywarrior

    ffmpeg issue

    Recently I've been getting: Unable to get property 'Codec' of undefined or null reference trying to play some movies. It's not all new movies I ripped and it happens in all web browsers as well as Roku. There are other people reporting, what I believe is the same issue, in the Roku forum. ffmpeg logs.zip Attached are some ffmpeg logs to look at. The codec is the exact same I use for all my movies so not sure why this movie has an issue and the other movies don't.
  16. Hi, I use mediabrowser wwhile a long time. Very giid job for this server, theater etc. Now i try WP8 apps. I have no problem for music but impossible to play movies. When i try a movie, apps try for somes seconds then show "The video failed to play" In ffmep log i can find : I have just one movie wich work, maybe source size ? Thanks for our support. Error - ffmpeg-284ccc10-fc2b-43c9-b54d-92a92a23200c.txt Error - ffmpeg-450fcf66-4ddc-49d5-af0b-a7a06a2b92fa.txt Work - ffmpeg-55cc8e33-af94-4075-8cff-35771ccf30c2.txt WP8 log.txt
×
×
  • Create New...