kamikaze_worm 2 Posted December 15, 2019 Posted December 15, 2019 Hi All First of all love emby! First time i've had an issue but wondered if someone could help me. Playback keeps failing. I had a look at the logs! 20:36:56.340 ffmpeg version 4.3.0-emby_2019_11_25-g5abbb1430d+3686 Copyright © 2000-2019 the FFmpeg developers and softworkz for Emby LLC20:36:56.341 built with gcc 9.2.0 (Rev2, Built by MSYS2 project)20:36:56.341 Execution Date: 2019-12-15 20:36:5620:36:56.366 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001de0baa07c0] stream 0, contradictionary STSC and STCO20:36:56.366 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001de0baa07c0] error reading header20:36:56.366 file:E:\OneDrive\Movies and TV Programs\Christmas\TV Shows\Everybody loves Raymond\Season 3\12. The Toaster.mp4: Invalid data found when processing input20:36:56.366 Lots of files are doing the same. Any ideas? Kamikaze_worm
Luke 42078 Posted December 15, 2019 Posted December 15, 2019 Hi there, is something wrong with your E: drive? Have you scanned it for a possible disk failure? The error message "Invalid data found when processing input" is often a sign of corrupted files.
kamikaze_worm 2 Posted December 15, 2019 Author Posted December 15, 2019 Doesn't seem to be. Other files on same drive work fine. I can also play the files on the local computer and they work fine.
Luke 42078 Posted December 15, 2019 Posted December 15, 2019 Have you scanned it for a possible disk failure?
Luke 42078 Posted December 15, 2019 Posted December 15, 2019 Please attach the complete log file from an example. thanks.
kamikaze_worm 2 Posted December 16, 2019 Author Posted December 16, 2019 2019-12-16 17:04:16.816Emby Server version: 4.3.0.30App: Emby Web 4.3.0.30Chromehttp://localhost:8096/emby/videos/10079/live.m3u8?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS43OSBTYWZhcmkvNTM3LjM2fDE1NzYyNTY5NzY0NzM1&MediaSourceId=e8438baa46b49aa038b27f5a584cc6bb&PlaySessionId=7b681a5595424c9ea20559f631c9f353&api_key=5e520bcf8c1b4a7297109ddeeda7741c&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=139808000&AudioBitrate=192000&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=51&TranscodeReasons=VideoCodecNotSupported,DirectPlayError&allowVideoStreamCopy=false&allowAudioStreamCopy=false{"Protocol":"File","Id":"e8438baa46b49aa038b27f5a584cc6bb","Path":"E:\\OneDrive\\Movies and TV Programs\\Christmas\\TV Shows\\Everybody loves Raymond\\Season 2\\12. All I Want For Christmas.mp4","Type":"Default","Container":"mp4","Size":0,"Name":"12. All I Want For Christmas","IsRemote":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}User policy for Dave: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: TrueAffected codecs:>>>>>> libx264 Software EncoderColor Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10, YUV422P10, YUV444P10, NV20Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: NoHardwareCodecsInfo FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)Info Encoder supports input streamInfo FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'C:\Users\kamik\AppData\Roaming\Emby-Server\system\ffmpeg.exe -loglevel +timing -f mp4 -i file:"E:\OneDrive\Movies and TV Programs\Christmas\TV Shows\Everybody loves Raymond\Season 2\12. All I Want For Christmas.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -sn -c:v:0 libx264 -pix_fmt yuv420p -maxrate 139808000 -bufsize 279616000 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 21 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_entry_prefix "hls/aa0c453fb8cfcc423b5cdb70d9bce6db/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\kamik\AppData\Roaming\Emby-Server\programdata\transcoding-temp\aa0c453fb8cfcc423b5cdb70d9bce6db.m3u8" -y "C:\Users\kamik\AppData\Roaming\Emby-Server\programdata\transcoding-temp\aa0c453fb8cfcc423b5cdb70d9bce6db%d.ts"17:04:16.856 ffmpeg version 4.3.0-emby_2019_11_25-g5abbb1430d+3686 Copyright © 2000-2019 the FFmpeg developers and softworkz for Emby LLC17:04:16.857 built with gcc 9.2.0 (Rev2, Built by MSYS2 project)17:04:16.857 Execution Date: 2019-12-16 17:04:1617:04:16.881 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000014ab0920800] stream 0, contradictionary STSC and STCO17:04:16.881 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000014ab0920800] error reading header17:04:16.881 file:E:\OneDrive\Movies and TV Programs\Christmas\TV Shows\Everybody loves Raymond\Season 2\12. All I Want For Christmas.mp4: Invalid data found when processing input17:04:16.881
Luke 42078 Posted December 16, 2019 Posted December 16, 2019 Can you provide a copy of one of these files for testing? Thanks.
kamikaze_worm 2 Posted December 16, 2019 Author Posted December 16, 2019 Yeah sure. How can I do that? ??
Luke 42078 Posted December 16, 2019 Posted December 16, 2019 Something like dropbox or google drive would be great. How big is the smallest one that has the problem?
kamikaze_worm 2 Posted December 16, 2019 Author Posted December 16, 2019 I can share link from Onedrive. all around 250-260mb. Let me know where to send link.
softworkz 5066 Posted December 28, 2019 Posted December 28, 2019 Just a quick update: I was able to reproduce, but I'm still working on a solution...
kamikaze_worm 2 Posted December 28, 2019 Author Posted December 28, 2019 Thanks for the update. A lot more videos doing the same as I've used emby more this Christmas. Appreciate your efforts.
kamikaze_worm 2 Posted January 13, 2020 Author Posted January 13, 2020 Just a quick update: I was able to reproduce, but I'm still working on a solution... Is there any further update for this? Kamikaze_worm
Luke 42078 Posted February 11, 2020 Posted February 11, 2020 This will be resolved in the upcoming 4.4 server release. Thanks guys.
kamikaze_worm 2 Posted April 7, 2020 Author Posted April 7, 2020 This will be resolved in the upcoming 4.4 server release. Thanks guys. Hi, I hate to tell you that 4.4 didn't fix this for me. Same issue. Kamikaze_worm
Luke 42078 Posted April 7, 2020 Posted April 7, 2020 Can you provide an ffmpeg log with the new version? Thanks.
kamikaze_worm 2 Posted April 7, 2020 Author Posted April 7, 2020 Can you provide an ffmpeg log with the new version? Thanks. I cannot get it to reproduce an log for FFMPEG. Attached is the emby log itself. embyserver.txt
Luke 42078 Posted April 7, 2020 Posted April 7, 2020 Is there a problem with that mp4 file? [mov,mp4,m4a,3gp,3g2,mj2 @ 000002651dcf0b00] stream 0, contradictionary STSC and STCO [mov,mp4,m4a,3gp,3g2,mj2 @ 000002651dcf0b00] error reading header
kamikaze_worm 2 Posted April 7, 2020 Author Posted April 7, 2020 Is there a problem with that mp4 file? [mov,mp4,m4a,3gp,3g2,mj2 @ 000002651dcf0b00] stream 0, contradictionary STSC and STCO [mov,mp4,m4a,3gp,3g2,mj2 @ 000002651dcf0b00] error reading header File works fine when played locally on Windows.
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