Search the Community
Showing results for tags 'FFMpeg'.
-
Emby Web 4.3.0.26 windwos 7 Core i5 750 RAM 8gb After watching a video on a Samsung TV-set, when I press the 'back' button, the ffmpeg process freezes up. When I open the next video, another ffmpeg process appears: because of that my server slows down and the video starts to slow down due to CPU overload. However, there is no such problem when I watch the video via web browser, the process disappears.
-
Hello everyone, first post here so if anything should be edited just tell me. Anyway, I am running emby on a Manjaro linux machine, everything has been working out of the box until now. I am watching an episode of a series I already watched tons of episodes on emby without any problem, and suddenly the media reproduction stops towards the end. If I reload the episode it will keep stopping around the same time. Other episodes seem to be fine for now. I attach the log embyserver.txt, it seems to be an error with starting ffmpeg, but I don't really see the reason as everything has been working ok until now. I have seen some other older posts with similar issue and I tried reloading the whole series, rescanning the library each time, but nothing changed. Hope you can help, thanks in advance! UPDATE I managed to watch some other episodes and also some films, the problem happens suddenly towards the end of some apparently random episodes of just this series. It might have something to do with the files themselves but I cannot understand what since they all come from the same source. Log log-ffmpeg.txt
-
Hey Guys! Is there anyway to add extra parameters to the FFMPEG CLI? I think it would be a good idea if possible to add an arguments box to the advanced trans-coding page so people may enter any extra parameters they wished to add to FFMPEG for streams. Just a thought if there is not a way to do it at the moment. I can't seem to see any way to add extra arguments myself without attempting to decompile and dig. Is this do able? does anyone know?
- 5 replies
-
- Custom Trans-coding FFMPEG
- FFMPEG
-
(and 1 more)
Tagged with:
-
In MCEBuddy, one can choose to use any number of available Processor Cores to leave overhead for other processes. This allows me to convert ts to HEVC and run Emby at the same time. This works great until after MCEBuddy converts and Emby kicks in Thumbnail Extraction which uses ffmpeg and pegs the processor to 100% or just below leaving no room for other things like LiveTV or even transcoding on the fly for a client. Is there a way to limit ffmpeg to maybe 1 core? I know it will take longer but that's not a big concern anyhow. TIA
-
It seems that the ffmpeg-transcode-* log files are not being rotated by the "Rotate Log File" scheduled task. No errors reported in the console logs. Other log files in the same directory are deleted as expected. 1.8GB of transcode logs built up before I manually cleared. Debug logging is not enabled; should these logs even be generating? Is there an option to turn those off? Thanks!
-
With the recent move by FreeNAS to 11.2, and the corresponding move from warden to iocage, I had been putting off my FreeNAS upgrade as all my plugins were still working. I finally made the jump to 11.2rc2, and had to rebuild my plugins that use the iocage backend. The install via plugin of Emby 3.5.3.0 worked without issue using the new UI. After adding the video libraries and re-scanning, everything seemed normal. Playback worked on ios clients without incident, but other clients had playback issues with ffmpeg errors in the logs. After searching several threads I found a solution. Here is a step-by-step of the fix for those experiencing this issue. Go easy, it's my first attempt. Also, thanks to all you gurus who helped me along the way with posts like this. This assumes you have: FreeNAS 11.2rc2 Emby installed via plugin using iocage Playback issues, with ffmpeg as the prime suspect 1. Enter the shell of your Emby jail, either via the GUI jail shell, or using SSH If using SSH, from the freenas root prompt type "jls" to get a list of your jails, followed by "jexec #" where # is the emby jail number 2. You should now be at the root prompt of your Emby iocage jail. Now enter "portsnap fetch extract" This will take some time 3. Once the process completes, you should be back to the root prompt of the emby jail. type "cd /usr/ports/multimedia/ffmpeg" type "make install clean" When prompted, make sure to check lame, opus, and x265 (libass was not listed for me, but check it if it's there) This process will take some time as well, and you'll have to press enter a bunch of times, just leave everything else as default If everything worked correctly, you should be back at the root prompt of the emby jail 4. Now we need to edit the emby startup script to use the new ffmpeg we just compiled type "vi /usr/local/etc/rc.d/emby-server" There are 5 lines that we need to edit (example of mine, make the changes to match the red text) [ -z "${emby_server_user}" ] && emby_server_user=emby [ -z "${emby_server_group}" ] && emby_server_group=emby [ -z "${emby_server_data_dir}" ] && emby_server_data_dir=/var/db/emby-server [ -z "${emby_server_ffmpeg}" ] && emby_server_ffmpeg=/usr/local/bin/ffmpeg [ -z "${emby_server_ffprobe}" ] && emby_server_ffprobe=/usr/local/bin/ffprobe : ${emby_server_enable:="no"} : ${emby_server_user:="emby"} : ${emby_server_group:="emby"} : ${emby_server_data_dir:="/var/db/emby-server"} : ${emby_server_ffmpeg:="/usr/local/bin/ffmpeg"} : ${emby_server_ffprobe:="/usr/local/bin/ffprobe"} export LD_LIBRARY_PATH=/usr/local/lib 5. Save the file, return to the FreeNAS GUI and restart the emby server plugin. Playback issues should now be resolved.
-
Hello, I recently bought premiere and suddenly Emby is running ffmpeg in the background at nearly 100% CPU, nearly constantly, even with no one accessing the server. For now, I disabled Download & Convert, and things returned to normal. I guess I have a few questions: 1) What exactly does "Download & Convert" do? What's it for? 2) Why was it running in the background? 3) Was it converting and replacing my library to be stream friendly? My whole library? That would take forever, are the old files deleted as they are converted to save space? 4) I have a GTX 950 - why wasn't that being utilized? HW encoding is enabled and recognized. 5) Can I just leave download & convert off? Thank you very much if someone takes the time to answer some of this for me.
- 9 replies
-
- server
- download & convert
-
(and 2 more)
Tagged with:
-
Hi, I cannot get Emby (Windows or Synology versions) to transcode mkvs (h265) to mp4 (h264) my Humax set top box connected to my TV. I believe my dlna profile is configured correctly as the Humax box see's the emby server and attempts to start transcoding the mkv to mp4. It tries for about 15 seconds and I can see that transcoded file building in the transcoding-temp folder. But I get the error 'unsupported format'. After looking at the ffmpeg log I could see it was trying to run this command: /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -f matroska -i file:"/volume1/TV Series/Episode1.mkv" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -pix_fmt yuv420p -maxrate 2797563 -bufsize 5595126 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 50 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -f mp4 -movflags frag_keyframe+empty_moov -y "/var/packages/EmbyServer/target/var/transcoding-temp/0f3c8cf01426f08cce293ae4187ac740.mp4" I then decided to run this command manually and then stream the resulting mp4 file to my box and it would not play (unsupported format). After a lot of trial and error, I modified the command above (replacing -movflags frag_keyframe+empty_moov with -movflags faststart and then the mp4 file would stream to the Humax box no problem. So I was wondering, is it possible to override the built in ffmpeg command so that I can specify -movflags faststart. Log file attached Many thanks Lills
-
Need help troubleshooting permissions for ffmpeg (raspberry Pi, OMX)
cachaca posted a topic in Linux
Ok.. I have been able to compile and install a custom ffmpeg with OMX (hardware encoding enabled) https://emby.media/community/index.php?/topic/36227-h264-omx-instead-of-x264/page-2 But when enabled in the Emby server.. it silently fails.. HOWEVER... When I copy/paste the command (for example): ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E02 Reef Blower [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 2211644 -maxrate 2211644 -bufsize 4423288 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf.m3u8" -y "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf%d.ts" and sudo as ROOT ... it DOES work. I am really confused.. tried changing the temp folder... and properly installing the ffmpeg (instead of running it from its source folder where I compiled it). so.. the fact that ROOT can run it.. leads me to think it is a permissions issue.. the funny thing is that without ANY other changes.. by simply switching OMX off in the Emby config.. it WORKS. It is as if the omx extension inside ffmpeg is trying to do something... like accessing hardware or another path.. that user emby does not have access to. It is a near silent failure... (since error 255 really does not mean anything). " 2017-04-25 04:22:01.7063 Info HttpServer: HTTP Response 500 to 192.168.50.74. Time: 28122ms (slow). http://192.168.50.60:8096/emby/videos/74d91a1ee63cfcb5cdc99751ba1b5c68/hls1/main/0.ts?DeviceId=4b23de016b5225894d6e76c8edb8536321d8b37b&MediaSourceId=74d91a1ee63cfcb5cdc99751ba1b5c68&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=193747394&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=52bf6796426d495ab39c16770487c4cf&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=24a43aa38dd13e58d36422fbc16ced9c&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-04-25 04:22:01.7081 Info App: ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" 2017-04-25 04:22:02.1496 Info App: FFMpeg exited with code 255 2017-04-25 04:22:02.1643 Info App: returning /var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d0.ts " And again.. if I take that line to my prompt and run it with sudo.. it WORKS: root@avcenter:/tmp# ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" ffmpeg version N-85641-gdd49eff Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Raspbian 4.9.2-10) configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --enable-libmp3lame --enable-libx264 --enable-libvorbis libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 86.100 / 6. 86.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 Input #0, matroska,webm, from 'file:/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv': Metadata: encoder : libebml v1.3.1 + libmatroska v1.4.2 creation_time : 2016-02-06T18:59:27.000000Z Duration: 00:11:03.73, start: 0.000000, bitrate: 561 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default) Metadata: BPS : 469945 BPS-eng : 469945 DURATION : 00:11:03.729000000 DURATION-eng : 00:11:03.729000000 NUMBER_OF_FRAMES: 19892 NUMBER_OF_FRAMES-eng: 19892 NUMBER_OF_BYTES : 38989538 NUMBER_OF_BYTES-eng: 38989538 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: BPS : 88626 BPS-eng : 88626 DURATION : 00:11:03.701000000 DURATION-eng : 00:11:03.701000000 NUMBER_OF_FRAMES: 31111 NUMBER_OF_FRAMES-eng: 31111 NUMBER_OF_BYTES : 7352727 NUMBER_OF_BYTES-eng: 7352727 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_omx)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [h264_omx @ 0x1d336a0] Using OMX.broadcom.video_encode Output #0, segment, to '/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts': Metadata: encoder : Lavf57.72.101 Stream #0:0: Video: h264 (h264_omx), yuv420p, 704x528 [SAR 1:1 DAR 4:3], q=2-31, 1122 kb/s, 29.97 fps, 90k tbn, 29.97 tbc (default) Metadata: encoder : Lavc57.93.100 h264_omx Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: encoder : Lavc57.93.100 aac frame= 7342 fps= 24 q=-0.0 Lsize=N/A time=00:04:05.16 bitrate=N/A speed=0.793x video:34589kB audio:5817kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x1d34aa0] Qavg: 1460.591 Exiting normally, received signal 2. I tried once changing the emby default user to root.. but it did nothing. ANY help would be greatly appreciated.. I feel like I survived the desert to die at the water fountain with a broken handle. TTFN- 19 replies
-
- ffmpeg
- permissions
-
(and 2 more)
Tagged with:
-
Hello, I just upgraded to the latest emby-server version and now I am unable to stream any content. This happens with any browser and any operating system (Windows, Edge, Linux, chromium based ...) After hitting the play button of a recording (tvheadend) or any media file (mkv, avi) I receive the following error: I tried rebooting the server and updating all software but nothing helped. I have tried several types of media all of which I know worked in the past. This is with the emby web player. Any help would be greatly appreciated. ffmpeg.txt embyserver.txt
-
I'm having a little display problem while playing my IPTV to the Chromecast. The IPTV source is a M3U file with udpxy links, so the IPTV source is an HTTP video. Maybe it's a ffmpeg parameters issue (maybe I don't really know). Transcoding log attached and picture of the result while playing on the TV (sound works ok). EDIT: I've tried multiple TV's, and the same happens. Log.txt
- 7 replies
-
- chromecast
- iptv
-
(and 1 more)
Tagged with:
-
I have two concurrent streams available from provider. i wanted to record two shows at the same time. one recorded, the other one didn't. here are the logs: https://pastebin.com/y37Y0e3y ffmpeg log: https://pastebin.com/gcGAELdE MacOS 10.13.6 thank you! tvmainia
-
ffmpeg. How to convert multiple mkv files to mp4 (without converting video) using just one command line on linux
euclides.sp posted a topic in Linux
Hello guys. I use have my emby on a lunux vps. I'm converting movies from mkv to mp4 (without converting video) using the following command inside movie directory: for i in .mkv; do ffmpeg -i "$i" -movflags faststart -c copy -map 0 "${i%.}.mp4"; done Works perfectly converting the files inside the directories. Now I want to do the same thing in files located in several other folders. for example: Servidor (type the command here) Filme1 Filme1.mkv Filme2 Filme2.mkv Filme3 Filme3.mkvDoes anyone know how to do this? -
This project is being abandoned in favor of Wolveix's. https://github.com/Wolveix/Plexus Please visit his project to see any future work. Hello, I’m working on a little project to iterate through my NAS and convert all files that are not easily direct played through my Roku. I’m posting it’s Github page here, in case it is of use to anyone else. I’m very open to input, commits, suggestions, etc. I’d love for this to be useful to the community. https://github.com/gorgarp/BatchConverter/
-
So it appears that the upgrade to 4.0 effected a total wipe and rebuild of chapter images. Wow. I'm about 5 hours into a library scan with no end in sight. Not complaining, per se, but I was curious from the technical side what changes necessitated this. I know you rebuilt transcoding from the ground up. What changed in chapter images, etc.?
-
Emby accède toujours aux données Internet mobile/ Emby still accesses Internet mobil data
Automne posted a topic in Android
The text in English will follow. Je suis nouveau avec Emby et Synology. J'ai fait un mini test d'EMBY et je suis antousiasmé par les résultats. J'ai transmis un fichier video MKV à mon chromecast à partir d'un fichier video avec son Eac3 et en prime les sous-titres ont suivis. Voici la démarche de ce qui ne fonctionne pas bien: * J'ai installé "Emby pour android" sur mon cellulaire * J'ai bloqué spécifiquement l'application Emby pour qu'il n'utilise pas les données Internet mobile * J'ai activé les journeaux sur Synology pour obtenir la trace de ce qui accède les fichiers * J'ai bloqué la connexion WIFI et j'ai fait un test de EMBY client. Voici les résultats: * Même s'il n'a pas de droit d'accès aux données mobile Emby client continue de fournir l'accès aux films. J'ai vérifié et localement il ne semble y avoir aucun film de stoké sur le poste. De plus, la consommation Internet mobile associé à l'application augmente et ce, même accès bloqués à Internet mobile. * Lorsque je suis en Wifi ou avec les données Internet mobile débloquées je vois soit mon ip local ou soit mon ip du mobile dans les journeaux de Synology. * Lorsque le Wifi et les données Internet mobile sont bloqués aucun accès n'est enregistré dans les journeaux du Synology. Questions: * Emby utilise t-il un cloud pour obtenir une copie des films? Si oui, comment le désactiver ? Sinon, comment les obtient-ils sans accéder au Synology (rien dans les journaux de Synology quand tout acès Internet est bloqué sur le Synology) ? * Comment bloquer totalement l'accès aux données Internet mobile pour Emby client. * Comment Emby respecte-t-il la vie privée de ses utilisateurs ? Où se retrouvent les données ? Informations complémentaires: Mobile : Samsung S8 avec systême d'exploitation à jour Emby android mobile : Obtenu par Google Play hier Synology : DS218+ avec système d'exploitation DSM 6.2.1-23824 Update 4 Paquet Emby serveur : https://synology.emby.media/ (obtenu hier) FFMPeg : aucun. Et cela fonctionne quand même. Merci de vos réponses =============================================== I am new to Emby and Synology. I did a mini test of EMBY and I am excited by the results. I transmitted a MKV video file to my chromecast from a video file with his Eac3 and as a bonus the subtitles followed. Here is the approach of what does not work well: * I installed "Emby for android" on my cell * I specifically blocked the Emby application so that it does not use mobile Internet data * I enabled the logs on Synology to get a record of what accesses the files * I blocked the WIFI connection and did a client EMBY test. Here are the results: * Even though he does not have access rights to mobile data Emby client continues to provide access to movies. I checked and locally there seems to be no stock movie on the mobil. In addition, the mobile Internet consumption associated with the application Emby increases and this same access blocked mobile Internet. * When I am on Wifi or with unlocked mobile internet data I see either my local ip or my mobile ip in the Synology logs. * When Wi-Fi and mobile Internet data are blocked, no access is recorded in Synology's logs. Questions: * Does Emby use a cloud to get a copy of the movies? If so, how to disable it? If not, how do they get them without accessing Synology (nothing in Synology's logs when all Internet access is blocked on Synology)? * How to completely block access to mobile Internet data for Emby client. * How does Emby respect the privacy of its users? Where are the data? Further information: Mobile: Samsung S8 with up-to-date operating system Emby android mobile: Obtained by Google Play yesterday Synology: DS218 + with DSM 6.2.1-23824 Update 4 operating system Emby server package: https://synology.emby.media/ (obtained yesterday) FFMPeg: none. And it works anyway. Thank you for your answers- 1 reply
-
- vie privée
- cloud
-
(and 6 more)
Tagged with:
-
Hi, I just installed Emby and it works perfectly. Except the images. I cannot access them and that's what I saw in the log: 2018-12-10 17:06:50.191 Error App: Image Provider - Error reading image tag for /mnt/media/test.jpg *** Error Report *** Version: 3.5.3.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.15.0.42 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 1 Program data path: /var/lib/emby Application directory: /opt/emby-server/system TagLib.CorruptFileException: Expected SOI marker at the start of the file. at TagLib.Jpeg.File.ValidateHeader() at TagLib.Jpeg.File.Read(ReadStyle propertiesStyle) at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle) at Emby.Photos.PhotoProvider.FetchAsync(Photo item, MetadataRefreshOptions options, CancellationToken cancellationToken) TagLib.CorruptFileException at TagLib.Jpeg.File.ValidateHeader() at TagLib.Jpeg.File.Read(ReadStyle propertiesStyle) at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle) at Emby.Photos.PhotoProvider.FetchAsync(Photo item, MetadataRefreshOptions options, CancellationToken cancellationToken) The file is not corrupted, I can open it with any other file manager. Edit: Solved. Just had to rescan everything.
-
I have a script to convert a folder of MP3 audio files to M4A; my MP3 files's bitrates vary, some are 192k and some are 128k. I'm noticing that the bitrate of the M4A files are all getting bumped down to 128k. I'd like to retain their existing bitrate. What am I doing wrong? I put the files in a folder and run this command from shell: FOR /F "tokens=*" %G IN ('dir /b *.mp3') DO ffmpeg -i "%G" -map_metadata 0 -c:v copy -c:a aac "%~nG.m4a"
-
Hi, I'm currently considering if I want to move all of the data out of the house into the cloud. Also because when I'm not at home and still want to watch a movie or serie why send it over the internet connection to the house. I don't have fiber to the home only a 4G connection with 16/25Mbit up. Also because of the 4G I don't have a public IP adres to connect to so I have a VPS on the internet, from my home I have a VPN connection setup to that VPS and connections from the internet to the servers at home are send through the VPN tunnel. And over that connection I have to stream the movie to my laptop when I'm in a hotel. It works but why not on the internet. The main reason to NOT do it wat the price of datastorage, but I currently have a remote internet disk with 2TB of space for 95 euro's a year. So that is not a reason to NOT do it. Ok now the situation, when I connect my android media box with the Emby TV plugin to the current local Emby server everything works wel, my mp4 movie is send to the device so no issue. Do I do the same with my test server on the internet, that one is triggering ffmpeg to transcode the movie. The only difference is that I have a Nginx proxy server for the internet Emby server. But thought the web-client ffmpeg is not triggerd. Why is ffmpeg transcoding the movie from the one Emby server and the other Emby server is just streaming the mp4 file without transcoding. thx. CU Roel
- 1 reply
-
- android
- installation
-
(and 1 more)
Tagged with:
-
Hi there guys! I have emby installed on my tinkerboard. Since I always make sure to have my files encoded in the right format it works splendidly for streaming movies and shows to me and my partner. Weirdly, though, when my partner is streaming on her MacBook the video files always get remuxed. This proves to be too much to handle comfortably and the videostream buffers heavily every once in a while. In the dashboard I get this notification: The media is compatible with the device regarding resolution and media type (H.264, AC3, etc.), but is in an incompatible file container (.mkv, .avi, .wmv, etc.). The video will be re-packaged on the fly before streaming it to the device. The file container I use for all of my files is mkv. Which would be the right container for MacOS Mojave? From the ffmpeg log I could deduce that it is remuxing to a .ts file container. I already remuxed a file by hand to this container format, to see if it would be helping but the problem persists. Here is an excerpt from the ffmpeg log: Does anyone have any experience with streaming to MacOS in the Web App and could help me out?
-
Hi, When I am trying to transcode 4K HEVC, I get the following error: [AVHWFramesContext @ 0x7fc9e006fc00] Failed to read image from surface 0x19: 1 (operation failed). Metadata: [hevc @ 0x555e9355a680] Failed to transfer data to output frame: -5. title : Chapter 5 Error while processing the decoded data for stream #0:0 Chapter #0:5: start 3008.964000, end 3781.778000 Conversion failed! The appropriate ffmpeg command is: /usr/bin/ffmpeg -ss 00:14:24.000 -hwaccel vaapi -hwaccel_output_format yuv420p -vaapi_device /dev/dri/renderD128 -i file:"input.mkv" -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -filter_complex "[0:3]scale=3840:2160:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,format=nv12|vaapi,hwupload" -b:v 134494486 -maxrate 134494486 -bufsize 268988972 -profile:v 578 -level 41 -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 384000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -segment_time_delta -864 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 288 -segment_list "/var/lib/emby/transcoding-temp/eda42ffc9546dbc9de88c2f0307fc5a7.m3u8" -y "/var/lib/emby/transcoding-temp/eda42ffc9546dbc9de88c2f0307fc5a7%d.ts" Now, interestingly, if I change the -hwaccel_output_format flag to "vaapi" instead of "yuv420p" and remove the -filter_complex flag, the transcoding works. I am wondering if Emby may need to modify the commands for transcoding HEVC content? I've also attached my ffmpeg log for reference. I am using a Radeon RX 560 with VA API. Thanks! ffmpeg-log.txt emby-log.txt
-
Don't know if this is allowed in an Emby forum, but seeing as you guys seem to use and like ffmpeg quite a bit - Am trying to take 50fps mp4 and turn it into 25fps mp4. This seems to work ... ffmpeg -i name.mp4 -r 25 name_25.mp4 Does anyone know how to make a Windows bat file that would do that for a bunch of mp4 files in a folder, so that the are all changed to 25fps and with a modified name so that the originals are kept. Thanks very much. Edit: I browsed around on Google and tried a few suggestions but they didn't work.
-
Hey, I've looked all over the forums for an answer to this, even an indirect answer to no avail. I would like to use more settings than the ones on the web portal for transcoding(i.e.: changing framerates, etc.) with FFMPEG but can;t find any documentation on how to edit the ffmpeg command parameters. Any help would be greatly appreciated!!
-
Bom dia! Estou rodando o EMBY em uma maquina conforme imagem em anexo. Mas não consigo colocar mais que 5 usuário simultâneos poque o processamento chega ao limite. O que estou fazendo de errado? Para um correto dimensionamento ao implantar o EMBY o que devo considerar? A previsão em meu projeto é de 40 acessos simultâneos.
- 8 replies
-
- Processamento
- decodificação
-
(and 2 more)
Tagged with:
-
Hello! I'm having a problem today while trying to setup emby on a "Feral Hosting" Server. If you look in the title you can see my main error.... I've made sure the files ffmpeg and ffprobe are executable. I'm not sure if emby has any permissions or not based on this piece from your emby wizard "For Linux on Arch Linux, CentOS, Debian, Fedora, OpenSuse, or Ubuntu, you must grant the Emby system user at least read access to your storage locations." This could be my main problem not too sure, but it got into my media folder just fine... I'm using the latest 3.4.2 build. I've also tried linking directly to the ffmpeg file itself with no luck. I'm a huge beginner when it comes to this stuff so I'm sorry if I haven't provided enough info about this problem
- 14 replies
-
- I searched
- No answer
-
(and 3 more)
Tagged with: