I have ben recording a load of kid's TV shows from CHannel 5 HD in the UK via my HDHomerun. Due to an ongoing issue with the Amazon Fire 4k stick it can't play these videos back (the same problem is in the HDHomerun app, Plex and Emby - it's been an issue with some UK HD broadcasts for a while and not yet fixed in a firmware upgrade).
Anyhoo, now that I have these recordings I have been using Avidemux to just top and tail them (to take out the ads) and save as mp4, but I'd like to convert them all to a video format that will work with the 4k stick - my Android TV and Shield TV in other rooms play them all with no problems, but we have one TV that has the Stick and that's the one my daughter watches most.
The issue is, I can't seem to find what the bitrates of the originals are things like VLC, Mediainfo, etc just show it like this;
Basically, I want to keep them in as close to the original capture quality, but to play on all devices. Also, it would be handy to be able to drop a load in together for a batch conversion (I have a few hundred to do!)
+ Reply to Thread
Results 1 to 27 of 27
You can probably use Bitrate Viewer to see the average bitrate. Or just estimate the bitrate from the file size (file size in bits / running time in seconds, minus a little for the audio and container).
But your premise of retaining the original quality by using the same bitrate is somewhat flawed. Every time you reencode with a lossy codec you will lose some quality (the higher the bitrate you use the less quality you will lose). Some encoders deliver better quality than others (at the same bitrate). And the other encoder settings you use will have an effect on quality (fast with low quality vs. slow with higher quality). Even if you reencode with the same codec, the same settings, and the same bitrate you will get reduced quality.
Do you know if you use Mediainfo in Text mode you can copy and paste directly into the body text of your post without having to make jpeg files etc,,BeyonWiz T3 PVR ~ Popcorn A-500 ~ Samsung ES8000 65" LED TV ~ Windows 7 64bit ~ Yamaha RX-A1070 ~ QnapTS851-4G
I just cant think of any other way of getting the videos to play back on the stick with it's current issue with these videos and whenever my wife tries to play one of those ones it crashes the apps and we have to reboot.... toddlers are not very patient!
I guess another option would be to use an app that will let me convert to a given filesize and select a size around 3/4 of the original.
Pardon my ignorance in these matters but how will you link the firestick to the device that holds these edited recordings ?
They're all sat on a QNap NAS. With the Fire Stick and Android TV we generally use Plex or Emby, server on the QNap, client on the stick.
I use Kodi on the Shield TV (our main media player)
I've had a look at Bitrate Viewer they seem to be an average of around 4000 kbps and a peak of 11000-13000, depending on the file. I was thinking of looking at using Plex to optimize (ie pre-transcode) them, but the lowest option in Plex for this is 8000kbps, lower rates will give 720, so would probably look at them and think they don't need transcoding.
Remuxing doesn't make any diference unfortunately, it's the video format it doesn't like, not the wrapper. I've tried mkv as well
Sure, hopefully get a chance this evening, thanks
I would expect to see an original recording, not one you have edited/remixed.
One further Q. Can the Fire Stick play other clips on your NAS ?
Here you go, it's about five mins long, 75MB. I have five seasons of Peppa Pig all like that, none can play on the 4k Stick! As soon as I try to play one the video just freezes. Occasionally I can quit back to the user login screen, but it usually just crashes Plex (or Emby)
Mediainfo in text view shows this, the bitrate is not Inordinately high; it plays OK on my 2017 LG 4k TV over DLNA
from the built in Windows 8 media server. I wonder if the mbaff scan type is the issue with your Fire Stick ?
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 4 frames
Format settings, GOP : M=8, N=24
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 4 min 58 s
Bit rate : 1 926 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.844 FPS
Minimum frame rate : 16.667 FPS
Maximum frame rate : 50.000 FPS
Original frame rate : 25.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.031
Stream size : 68.5 MiB (94%)
What did you use to 'convert' this ?
I assume you started with a constant frame-rate of 25fps. Now you have a variable frame-rate. Little wonder why it does not play.
And more important to get an original one.
I used Avidemux. I just remuxed it from the TS to MP4, output for video and audio was copy, not converting done.
I think those were recorded directly by the HDHomerun, I mostly use Plex to capture via the HDHomerun at the moment and those seem ok. I'll reset the HDHomerun up to record and get a couple and come back with some original captures
OK, sorry about the delay, been a busy week!
So here are a handful of shows I recorded over the week, some directly via HDHomerun, some by Emby and some by Plex, none set to convert the recordings on record;
Sorry for the sizes but I thought it best not to do anything with them so they're the original recordings. The mpgs are recorded directly via the HDHR app, the rest via Plex or Emby using their HDHR DVR features.
Thank you for the original recordings.
I only downloaded one for the time being - Peppa Pig - and used your method of edit/save.
But something weird is going on.
Mediainfo reports the file to be 25 fps
Avidemux reports the file to be 50 fps
And whether I simply mux the entire file or an edit in to .mp4 I end up with variable frame rate as in your sample. But more than that timing is now off and sound is distorted.
Maybe others can solve this. Else I will take another look later tomorrow.
I also attempted a mux via handbrake and that also produces weird results (dual audio) at 25 fps
Here's a quick, simple, low bitrate, h.264 conversion from 1080i to 720p with ffmpeg. See if it plays on your TV...
ffmpeg -y -i %1 -vf yadif=1,scale=1280:720 -c:v libx264 -preset veryfast -crf 23 -acodec copy "%~dpn1.720p.ts"
I forgot to limit the GOP size. If that one doesn't play I'll upload another with 50 frame GOPs (one second).
Last edited by jagabo; 11th Oct 2019 at 19:29.
Strange isn't it. From what I can find, Channel 5 HD channels are progressive 1080p (presumbaly 25 frame rate?) and BBC are interlaced 1080, presumably 50fps.
Does Peppa look like it's 1080i then? I thought it was 1080p.
It's only the 4k Fire Stick that doesn't like them though, they play back fine on my Shield TV, Sony Bravia Android TV, Plex and Emby on my Android tablet, fine on Windows. It also means that the HDHomerun is not much use on the Fire 4K Stick either as the same problem happens with the live HD channels.
Last edited by Emanef; 12th Oct 2019 at 08:52.
I only downloaded three of the clips, BBC News, Noddy, and Peppa Pig, and there's nothing unusual about them. They're all encoded interlaced.
The BBC clip is mostly true interlaced material (live video with every field from a different point in time).
Noddy contains mostly progressive frames -- but as with the other clips it's encoded interlaced.
Much of Peppa Pig is progressive frames digitized out of phase. That is, rather than top and bottom fields of the same film frames being combined into video frames, fields from successive film frames are woven into video frames. This is very common in PAL broadcast and has nothing to do with the Fire Stick's inability to play the files.
The 50 fps report from AviDemux is a bug in that program. It's reporting the field rate rather than the frame rate. This is also a common problem with "separated fields" interlaced video (this has to do with how the video is handled internally by the codec, it has no bearing on the output of the decoder). This might be the problem with the Fire Stick too.
(if the following appears duplicated then my apologies)
My 'issue' is regardless of whether we have 25 frame p/s or 50 fields p/s why does a program that claims to mux without change to the video or audio specs spew out a pile of garbage.
Now my version of avidemux is not 'up to date' and the OP's may be more current since he did not experience the issues I experienced in my report yesterday.
VideoReDo TV Suite v6, which I use to edit my ATSC and US digital cable recordings, to edit your DVB Peppa Pig recording and output a TS in its original resolution and frame rate. It seemed to work just fine and the DVB English subtitles were intact when played back using VLC. Smart Cutter PS/TS, which costs less than VideoReDo TV Suite, is often suggested by others in DVB countries for editing recorded TV. I have not tried Smart Cutter PS/TS, but it seems to be well-liked by those VideoHelp members who use it.
These are paid programs but IMO worth it.
[Edit]I neglected to mention that I don't have a FireTV Stick to test with.
[Edit 2] I just tried VideoReDo for re-encoding your PeppaPig recording to a 720p50 ts. The DVB subtitles are still working in VLC.
Last edited by usually_quiet; 12th Oct 2019 at 16:41. Reason: Clarified what I didIgnore list: hello_hello, tried, TechLord
I downloaded the latest version of avidemux. The 'chipmunk' sound I experienced before is now gone but the output was still variable frame-rate under copy. I changed the video to mpeg4 AVC and now get this (constant frame-rate and 25 fps with no other changes in the program). Let me know if it now works.