Jump to content

Transcoding .wtv H264


Recommended Posts

Fresh Emby install, same problem.


I'm no expert, but it still seems like an ffmpeg issue to me.  If I compare transcoding logs from an H264 (does not work) file to an MPEG2 file (does work), there is a vast difference.  The H264 log is littered with various errors like:


[h264 @ 0000000000612460] non-existing PPS 0 referenced
[h264 @ 0000000000612460] decode_slice_header error
[h264 @ 0000000000612460] no frame!


[NULL @ 00000000005b7000] Packet header is not contained in global extradata, corrupted stream or invalid MP4/AVCC bitstream

[NULL @ 00000000005b7000] Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec copy: Invalid argument
frame=   69 fps=0.0 q=-1.0 size=      75kB time=00:00:03.05 bitrate= 202.2kbits/s speed=6.11x  


Is this kind of output normal?


Link to comment
Share on other sites

it is doing a stream copy on the h264 when it probably should be re-encoding. do we know if their video is interlaced or not?

Link to comment
Share on other sites

mediainfo won't read .wtv.


Play it in WMC and hit 411 > Info on your remote while it is playing. You need to scroll down to about page 4 or 5 so do it quickly, you only have 42 seconds unless you have the full length file for a little more time.

Link to comment
Share on other sites

  • 1 year later...

Here is a sample .wtv file: https://drive.google.com/file/d/0Byi_EhSH0IdWTFh2LXBYSUZZV3c/view?usp=sharing


Perhaps someone with a similar setup can drop this into their 'Recorded TV' folder and test it?  That would help eliminate the case that something is wonky on my machine.

A little late to the party.....


Plays in WMC win7, Emby html in Vivaldi, Android tab over WAN.  I would say there is nothing wrong with the .wtv file


What browser are you using to open Emby with?

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