Jump to content

Emby playback issues


Recommended Posts

kamikaze_worm
Posted

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 LLC
20: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:56
20:36:56.366 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001de0baa07c0] stream 0, contradictionary STSC and STCO
20:36:56.366 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001de0baa07c0] error reading header
20: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 input
20:36:56.366 

 

Lots of files are doing the same.

 

Any ideas?

 

Kamikaze_worm

Posted

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
Posted

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.

Posted

Have you scanned it for a possible disk failure? 

Posted

Please attach the complete log file from an example. thanks.

kamikaze_worm
Posted

How do i do a full log?

kamikaze_worm
Posted

2019-12-16 17:04:16.816
Emby Server version: 4.3.0.30

App: Emby Web 4.3.0.30
Chrome

http://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: True

Affected codecs:
>>>>>> libx264 Software Encoder
Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10, YUV422P10, YUV444P10, NV20
Profiles: 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: NoHardwareCodecs
Info FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info Encoder supports input stream
Info 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 LLC
17: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:16
17:04:16.881 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000014ab0920800] stream 0, contradictionary STSC and STCO
17:04:16.881 [mov,mp4,m4a,3gp,3g2,mj2 @ 0000014ab0920800] error reading header
17: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 input
17:04:16.881 

Posted

Can you provide a copy of one of these files for testing? Thanks.

kamikaze_worm
Posted

Yeah sure. How can I do that?

??

Posted

Something like dropbox or google drive would be great. How big is the smallest one that has the problem?

kamikaze_worm
Posted

I can share link from Onedrive. all around 250-260mb. Let me know where to send link.

Posted

Can you send it to me via PM? Thanks !

  • 2 weeks later...
Posted

Just a quick update: I was able to reproduce, but I'm still working on a solution...

kamikaze_worm
Posted

Thanks for the update. A lot more videos doing the same as I've used emby more this Christmas. Appreciate your efforts.

  • 3 weeks later...
kamikaze_worm
Posted

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

  • 4 weeks later...
Posted

This will be resolved in the upcoming 4.4 server release. Thanks guys.

kamikaze_worm
Posted

Wow super thanks! Love Emby :)

  • 1 month later...
kamikaze_worm
Posted

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

Posted

Can you provide an ffmpeg log with the new version? Thanks.

kamikaze_worm
Posted

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

Posted

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
Posted

 

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...