hi there,
i've download one video from web site streaming but my old TV can't watch (video only, audio is ok). here the details from MediaInfo
why my TV can't watch this video? i can see other video x264 mp4, mkv, ts but not this video ...HTML Code:Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 775 MiB Duration : 1 h 27 min Overall bit rate mode : Variable Overall bit rate : 1 246 kb/s Writing application : Lavf58.32.104 #################Video 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, Reference frames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 1 h 27 min Bit rate : 1 111 kb/s Width : 1 920 pixels Height : 1 040 pixels Display aspect ratio : 1.85:1 Frame rate mode : Variable Frame rate : 23.976 (24000/1001) FPS Minimum frame rate : 23.974 FPS Maximum frame rate : 23.981 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.023 Stream size : 692 MiB (89%) Writing library : x264 core 157 r2969 d4099dd Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=32 / lookahead_threads=8 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=20 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=1200 / vbv_bufsize=2048 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00 Codec configuration box : avcC
we have a simple way to edit this video without re-encoding?
anyway if need to re-encoding (no big problem with ffmpeg. for me is enough 480p, my tv is only 21") i want final ratio 16/9 and little black bands above and below
i've try this command (is for 720, but for me it's ok 480 - more fast speed to renconding)
but i have final video into a black box! i want black bands only above and below! (i don't understand what is wrong on my command ...)Code:ffmpeg -i video.mp4 -acodec copy -c:v:0 mpeg4 -q:v 3 -s 1280x720 -vf scale=1280:534,pad=1280:720:0:93 -y video_2.mp4
thanks everybody for help
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 47
Thread
-
-
Could be the profile level, to high.
You can change it from 4 to g.e. 3.1 with clever Ffmpeg-GUI,
without recoding.
... and, as for your command line:
ffmpeg -i video.mp4 -acodec copy -c:v:0 mpeg4 -q:v 3 -vf scale=1280:534,pad=1280:720:0:92 -y video_2.mp4Last edited by ProWo; 27th Dec 2022 at 06:37.
-
no mate. nothing work for me
with your clever i've change the profile level to 3.1
and again my tv can't play this video.
and also your code for ffmpeg does not work for me (with pad 92). i have again my video in a black box
i want squeeze the original video (AR 1.85) to get 16/9 video (AR 1.77)
but 16/9 is too much. i need to little squeeze (maybe AR 1.80?)
with the command above (mine or your also) i have black bands above, below, right and left. my video it's inside a black box! -
This works for me on a 1920x1040 video
Code:ffmpeg -i video.mp4 -c:v:0 mpeg4 -q:v 3 -vf scale=1280:-1,pad=1280:720:-1:-1 -y video_2.mp4
-
no work for me.
1) with your code i have final video 1280x720. i want (for best speed conversion) 480p only
2) not have any black bar above and below
Flunked. -
-
Originally you said:
If you don't want black bars then you can't have 16x9 or you must stretch the video vertically.
For 480 and 16x9 with black bars change 1280 to 854 and 720 to 480 everywhere in the command.
For 480 and 16x9 without black bars change scale=854x480 and remove the pad entirely, your video will not have black bars but will be stretched vertically. -
@ ProWo
no. my original video not have black bars
@ zing
with -vf scale=854:-1,pad=854:480:-1:-1
again: the final video is 854x480 but no black bars ... maybe my tv it's stupid, anyway no black bars. the video adapts to the screen -
here a trimmed original video (15 sec only)
https://www.upload.ee/files/14782424/video.mp4.html
and you're right zing, with mpv and your code above i have black bars on my final video, but on my tv cannot ...Last edited by whs912km; 27th Dec 2022 at 13:25.
-
Last edited by ProWo; 27th Dec 2022 at 15:04. Reason: Info added
-
Does your tv have a setting for overscan? It might be called picture size, edge control, pc, or something similar. That could crop 2-3% of the image.
-
Rather than continue to guess, it might be a better idea to check the instructions for your TV and see if it mentions exactly what it expects/allows for video files. Or, post your TV's brand and model number here, and one of us will be able to check.
You can also use MediaInfo (in Text mode) to scan a video that works on your TV, then you can re-encode your videos to match those details... though knowing what your TV allows would be better, as the 'working' video might be far from the maximum quality your TV supports.If cameras add ten pounds, why would people want to eat them? -
@ProWo
your video can play on my tv
resolution is 888x480. but this video is strech to all screen. no black bars up, down, left, right
it's ok for left, right (no bb) but missing up and down ...
@zing
setting for overscan ... no mate. i don't have touch or set nothing about this
@Ai Haibara
you right. but this video it's very useless for me, i don't think the time spent is worth it
it's getting stressful for me
i think best solution for me is resize to 480p and set my tv on output 4:3 LB
this setting work fine for me, i have final file 16:9 with black bars
i did not want to force the video output, having to re-encode the entire video, but it's the easiest option, since i can't have the black bars with ffmpeg .... -
Change the aspect ratio in the TV settings to Auto. This should fix playback issues.
Or:
Code:ffmpeg -i video.mp4 -vf "scale=960:540:force_original_aspect_ratio=decrease,pad=960:540:(ow-iw)/2:(oh-ih)/2" outvideo.mp4
Last edited by rgr; 27th Dec 2022 at 18:16.
-
-
first of all, thank you to everybody for your full support. really appreciated
@rgr
with AR auto on my TV nothing changes. 16/9 or auto is the same
about your ffmpeg code: the video output is now 960:540 but again no bbars (16/9 or auto, the same). but this is issue to my tv, your code it's right. i can see the bars on my laptop with mpv, but cannot on my tv ... sigh!
@ProWo
With 1.85:1 DAR the black bars top and bottom are very small
i don't see any bars ... also on my laptop with mpv player. maybe very very small. for this, on my post#3, i proposed a little squeeze to the original video, to get small bbars up&down. for me a small change in resolution is an reasonable solution (to have more speed to conversion in 480p only and bbars too)
You could try 1280x692 for better quality
and this for ?? the AR is always 1.85 and on my tv does not change the quality between 692 and 480 ...
Final question: it's there a zoom setting on your TV?
outupt set on 16/9 (as mentioned above to rgr). but also on automatic is the same. no other zoom settingLast edited by whs912km; 28th Dec 2022 at 02:41.
-
Try this new encoded video on your TV.
This time it MUST show the black stripes at the top and bottom, because they are part of the frame.
Anyway, this type of resizing is nonsense.
I think your TV can only display 16:9 or 4:3 correctly. -
i'm sorry mate, but no. my stupid tv also with your last video can't show stripes, but fit all the video to the screen (16/9 and/or auto)
work on my laptop. but no on my tv
anyway i have this issue only with this video... i have resized and add bbands to many video in recent years, and always on the same TV
i don't understand why i don't get what i want with this. never made so much effort! -
@whs912km:
Play the file Overscan-test.mp4 on your TV and compare with the attached screenshot.
Does your TV show the complete picture, or is a part of it hidden by overscan?Last edited by Sharc; 28th Dec 2022 at 05:44.
-
@ProWo
my TV is very old ... anyway
brand: Tele System
model: PALCO19 LED01 B01
@Sharc
on my TV i see that. on 16/9 output and same on automatic output
[Attachment 68384 - Click to enlarge] -
-
-
HDMI
yes, me too i think so.
anyway to get around this, my best solution is apply -vf scale only and watch on my TV with output 4:3LB
with this, i have fast video conversion on ffmpeg and i have also video output on 16/9 with black bars too.
or simply with output in 16/9 i watch the video adapted to the full screen
this only because this video is AR 1.85
in many other video i can add bbars with -vf scale,pad but need original video is AR 2.40 or 1.77 (16/9)
anyway i think this thread is ended. Thanks to everybody of you for your tip and advice. Happy Holidays guys -
another news: today i've check errors with clever (GUI developper by ProWo, thanks mate for this GUI) and i have this error from my video talking above:
Code:[null @ 00000000023fca00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 64734 >= 64733 [null @ 00000000023fca00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 64734 >= 64734
and another question @ProWo: from clever on Video Conversion section i see on encoder, also wmp.
but wmp is actually good format ? better than mpeg2 ?
from all clever encoders which is the fastest for a conversion and good quality? from xvid, divx, wmp, mpeg2
example libx264 is excellent quality but speed conversion is only 2x; with mpeg2 speed conversion is about 5x (big final file, near quality, but faster speed)Last edited by whs912km; 29th Dec 2022 at 03:12.
-
This error has nothing to do with your display issues.
wmp is an old codec.
neither wmp nor mpeg2 are up to date today.
Use the default x264 encoder with CRF23 and preset veryfast.
The speed should not interest you, what counts is the quality. -
Recode your original 1920x1040 video with this settings:
[Attachment 68397 - Click to enlarge]
This should compensate the 2.5% overscan and let you see the whole videoframe on your TV.
Change the TV display setting from 16:9 to auto. -
ok mate. i try your setting soon.
another question: for test only (another test ...) i've try to change again the profile level to 3.1 with clever and it work fine very fast
but with simply ffmpeg i've run: ffmpeg -i video.mp4 -c:v libx264 -profile:v main -level:v 3.1 -c:a copy output.mp4
the speed with this code above is very low ... 0.9x
much lower than re-encoding (with -c:v libx264 my speed is 2.1x with 540p video resizing)
how your app is very fast? which string does it use for simple profile switching?
Similar Threads
-
Resize width only
By agisthos in forum Video ConversionReplies: 10Last Post: 13th Oct 2021, 13:37 -
WHERE to Resize?
By Avagadro1 in forum EditingReplies: 27Last Post: 14th Aug 2020, 21:06 -
resize
By xenon1 in forum CapturingReplies: 6Last Post: 17th Jan 2020, 00:47 -
How do you resize buffer dimensions?.
By Felow in forum Newbie / General discussionsReplies: 0Last Post: 9th Jan 2020, 23:19 -
resize video 2x,3x,4x
By kaito in forum Newbie / General discussionsReplies: 2Last Post: 4th Mar 2019, 03:53