Jump to content

Video Stuttering on Shield


Bigmack3000
Go to solution Solved by Bigmack3000,

Recommended Posts

Bigmack3000
On 3/24/2022 at 1:26 AM, cayars said:

Yes it would be this helps us narrow down the problem.

So it looks like the audio track is out of spec at least for AC3 stereo files using that program.  What you can try now is converting the file again but this time choose AAC or MP3 to use.  Maybe that won't have the issue. Obviously the best solution is not to produce files that have out of spec tracks. :)

Meanwhile @ebr, can try and duplicate results to see if there is anything internal in the app that can be done but of course will depend on what the issue is.

Converting a file using AAC instead of AC3 does fix the stuttering issue on the shield. 

  • Like 1
Link to comment
Share on other sites

15 hours ago, Bigmack3000 said:

Converting a file using AAC instead of AC3 does fix the stuttering issue on the shield. 

I thought it might. So at least you have a work around with your chosen conversion program.  It's not unusual to find a specific codec that some program gets incorrect when not relying on ffmpeg.  A lot of conversion programs are wrappers around ffmpeg which makes is more of a known entity (good or bad).

The scripts I use all revolve around using ffmpeg and Nvidia GPU for conversions.

  • Like 1
Link to comment
Share on other sites

Bigmack3000

Yea, I'll definitely use AAC for future conversions.

Is there any way to fix the shield app for current files? Or is the best bet to just repackage any bad file I come across?

Link to comment
Share on other sites

2 hours ago, Bigmack3000 said:

Yea, I'll definitely use AAC for future conversions.

Is there any way to fix the shield app for current files? Or is the best bet to just repackage any bad file I come across?

We'll take a look at it. Thanks.

  • Like 1
Link to comment
Share on other sites

2 hours ago, Bigmack3000 said:

Yea, I'll definitely use AAC for future conversions.

Is there any way to fix the shield app for current files? Or is the best bet to just repackage any bad file I come across?

It appears from first glance that the audio is out of spec but correctable with a conversion either with ffmpeg or the Shield TV itself. So it can't be to far out of wack.  Unfortunately the android play "Exo" is finicky and doesn't do any type of fixing. But as ebr mentioned earlier we often add our own code when possible and it makes sense.

One of the devs needs to take a look to see exactly what the issue is and then determine if it can be handled.

  • Like 1
Link to comment
Share on other sites

Edrock200

Not sure if this helps, but I ran into something similar and one of these 3 things usually helped:

1. If set to 4k@60 for display on shield, try 4k@59 or vice versa

2. If using subtitles, try disabling extract subtitles on the fly or transcode throttling on emby server side (although this seems to have been resolved with an emby server update a while back)

3. My tv (a Sony android tv), not the shield settings, had an audio/video sync option that was enabled that seemed to be too agressive, disabling this helped in some cases as well.

 

Link to comment
Share on other sites

  • 1 month later...
8 minutes ago, Bigmack3000 said:

Is this issue fixed in the latest version?

Hi, I would suggest trying it and reporting your experience. Thanks.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 2 weeks later...
Bigmack3000

I'm assuming this might be too random of a bug to fix across all systems.  However, the remux through mkvtoolnix works perfectly.  So instead, is there a way, or a program, to search my library for files with that codec? So I know which ones need to be remuxed? Thanks.

Link to comment
Share on other sites

Bigmack3000

1877078800_ScreenShot2022-08-18at11_33_09PM.png.1822def7b23010ff324e0024c9efb681.png

What filter option would I be searching for?  It's the part that says "WonderShare Matroska Muxer" that's causing the issues.  

Link to comment
Share on other sites

@Bigmack3000 This is an example of how you could use filtering.
From my Movie Library:
image.png

Click the Filter button to the right on the bottom row.  You will then get a page with many options you can use to search with.

image.png

This is just a one part of that screen.  Here you can see I changed the Audio Codec to "ac3".  Once I click the left arrow top left to remove this screen and go back to where I was this new filter will be applied and I'll only see movies that contain an ac3 audio track.

Hope that helps,

Carlo

 

  • Like 1
Link to comment
Share on other sites

Bigmack3000

Thanks. I'll definitely see if this can narrow some of the movies down for me.

2 roadbumps I can see though, it's only ac3 tracks through wondershare that stutter.  Any ac3 tracks from the disc, or handbrake, etc play fine.  Also, I used the wondershare program (iskysoft) mostly to compress extras and trailers.  

Link to comment
Share on other sites

I would check one of the files you know you used iskysoft on.  Look at the codec section and see if it marked itself.  If so install mediainfo CLI and verify if it shows up here as well.  If it does this could be used to run against every media files you have grepping the output looking for the tell tail signature it leaves. This would not be hard to do.

It also possible this information is in the Emby Database as well.  So the first thing I would do after finding something you used the software on would be to look up the movie/show in Emby looking at it's meta-data.  If you find it here then we can get this info quite easily.

 

Link to comment
Share on other sites

Bigmack3000

Ok, so taking this step by step.  I found a file i used iskysoft on.  JCVD_Trailer.  The file is small, so I've attached it to the post. 

I've already had medioinfo downloaded.  Here is what comes up for the file:

453786686_ScreenShot2022-08-24at7_18_07PM.png.19af0603aed98655d02482b6d2f3cf43.png

What would I do next with this info? If it helps, I store everything on a synology nas. And I access it through a mac.

JCVD_Trailer.mkv

Link to comment
Share on other sites

We need something unique to this program. The only thing semi-unique that I see is 

"WonderShare Matroska Muxer".  Is that from something else or this program?

Link to comment
Share on other sites

Happy2Play

Don't know enough about this to comment but only thing that stands out to me are codec_tag and codec_tag_string on both tracks.

image.png.37c8aeb497237503d3d291bbb56e125a.png

 

Spoiler

C:\Users\Media>C:\Users\Media\Desktop\Stable\system\ffprobe -i "C:\Users\Media\AppData\Roaming\Emby.Support\Attachments\topic_96333\139471\JCVD_Trailer.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
ffprobe version 5.0.0-emby_2022_05_27-u1 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 10.3.0 (Rev5, Built by MSYS2 project)
{
Input #0, matroska,webm, from 'C:\Users\Media\AppData\Roaming\Emby.Support\Attachments\topic_96333\139471\JCVD_Trailer.mkv':
  Metadata:
    encoder         : WonderShare Matroska Muxer
    creation_time   : 2021-02-18T05:35:50.000000Z
  Duration: 00:02:24.16, start: 0.000000, bitrate: 3173 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 856x480 [SAR 1:1 DAR 107:60], Level 41, 29.97 fps, 29.97 tbr, 1k tbn (default)
  Stream #0:1: Audio: ac3, 44100 Hz, stereo, fltp, 128 kb/s (default)
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 856,
            "height": 480,
            "coded_width": 856,
            "coded_height": 480,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 0,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "107:60",
            "pix_fmt": "yuv420p",
            "level": 41,
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "30000/1001",
            "avg_frame_rate": "30000/1001",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "bits_per_raw_sample": "8",
            "extradata": "\n00000000: 0164 0029 ffe1 0019 6764 0029 ac72 2036  .d.)....gd.).r 6\n00000010: 0f79 7c04 4000 0003 0040 0000 0ea3 c60c  .y|.@....@......\n00000020: a801 0004 68ce 3c80                      ....h.<.\n",
            "extradata_size": 40,
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            }
        },
        {
            "index": 1,
            "codec_name": "ac3",
            "codec_long_name": "ATSC A/52A (AC-3)",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "44100",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/1000",
            "start_pts": 0,
            "start_time": "0.000000",
            "bit_rate": "128000",
            "extradata": "\n",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            }
        }
    ],
    "chapters": [

    ],
    "format": {
        "filename": "C:\\Users\\Media\\AppData\\Roaming\\Emby.Support\\Attachments\\topic_96333\\139471\\JCVD_Trailer.mkv",
        "nb_streams": 2,
        "nb_programs": 0,
        "format_name": "matroska,webm",
        "format_long_name": "Matroska / WebM",
        "start_time": "0.000000",
        "duration": "144.160953",
        "size": "57181290",
        "bit_rate": "3173191",
        "probe_score": 100,
        "tags": {
            "encoder": "WonderShare Matroska Muxer",
            "creation_time": "2021-02-18T05:35:50.000000Z"
        }
    }
}

Possibly something here also

 

image.png.eb5dd9d62c6c9f59df7fa1976981daa9.png

But other fields are blank in file analyzer also but believe @softworkzmay have to comment if all the missing information is relavent.

Edited by Happy2Play
Link to comment
Share on other sites

31 minutes ago, Happy2Play said:

But other fields are blank in file analyzer also but believe @softworkzmay have to comment if all the missing information is relavent.

When multiple items of different types are shown (like a video stream and an audio stream), the displayed fields are from the first item (video in your example).

Select the audio stream first (then you can add more wiih with shift or ctrl) or just select the audio stream:

image.png.41105034602c94693cfb594f1bb03cb9.png

 

..then you'll see the audio specific fields.

 

Link to comment
Share on other sites

Bigmack3000
1 hour ago, cayars said:

We need something unique to this program. The only thing semi-unique that I see is 

"WonderShare Matroska Muxer".  Is that from something else or this program?

I don't know if wondershare is unique to iskysoft, but iskysoft is the only time I've ever come across it.

Link to comment
Share on other sites

11 hours ago, Bigmack3000 said:

I don't know if wondershare is unique to iskysoft, but iskysoft is the only time I've ever come across it.

Best to check about a dozen files to see if this marking is on all of them.

Link to comment
Share on other sites

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...