converted video are disturbed on TV

Started by uffa14, December 16, 2018, 09:25:33 PM

Previous topic - Next topic

uffa14

Hallo,
I'm very new to avidemux, video editing and thsi forum.

I'd like to watch some mp4 clip on tv but my LG TV doesn't show it, i think the TV doesn't support the codec.
So i dowloaded avidemux 2.7.1 on my linux mint and after some try i can watch the mp4.
But as on pc is all good, in tv i see the image disturbed by trembling, tryed in anoter TV same results.

Where is my mistake??

Here the original clip properties

=====================================================
Video
=====================================================
Codec 4CC:      H264
Image Size:      720 x 416
Aspect Ratio:      Unknown (209:208)
Frame Rate:      25,000 fps
Total Duration:      01:52:22.360

=====================================================
Extra Video Properties
=====================================================
ExtraDataSize:      45
Extra data:      01 42 C0 0D FF E1 00 1D 67 42

=====================================================
Audio
=====================================================
Codec:         AAC
Channels:      Stereo
Bitrate:      16000 Bps / 128 kbps
Frequency:      48000 Hz
Total Duration:      01:52:22.336

and here the converted clip properties

=====================================================
Video
=====================================================
Codec 4CC:      DIVX
Image Size:      720 x 416
Aspect Ratio:      1:1 (1:1)
Frame Rate:      25,000 fps
Total Duration:      00:03:41.042

=====================================================
Extra Video Properties
=====================================================
ExtraDataSize:      48
Extra data:      00 00 01 B0 F1 00 00 01 B5 A9

=====================================================
Audio
=====================================================
Codec:         AAC
Channels:      Stereo
Bitrate:      16000 Bps / 128 kbps
Frequency:      48000 Hz
Total Duration:      00:03:40.906

Thanks for any help!
Marco


eumagga0x2a

Quote from: uffa14 on December 16, 2018, 09:25:33 PM
I'd like to watch some mp4 clip on tv but my LG TV doesn't show it, i think the TV doesn't support the codec.

If a TV set completely rejects H.264, it must be very, very old.

QuoteSo i dowloaded avidemux 2.7.1 on my linux mint

In general, you would be much better off with building from the current git or using the latest nightly build (appImage).

QuoteBut as on pc is all good, in tv i see the image disturbed by trembling, tryed in anoter TV same results.

I don't quite understand what does this trembling might look like. Could you please provide a short sample of the source video, saved in copy mode? The resolution and aspect ratio is quite unusual. Is the source video interlaced?

uffa14

Thanks for reply

Quote

If a TV set completely rejects H.264, it must be very, very old.

The TV set is LG M2080D about 5 years old, hd-ready i can play some 1080x720 ISO MP4/M4A   H.264 (Main Profile) 25 fps bitrate2386 kbps (but i can't understand very much the meanings :'()


Quote

In general, you would be much better off with building from the current git or using the latest nightly build (appImage).


I just installed the one from linuxmint repository... ::)

Quote

I don't quite understand what does this trembling might look like. Could you please provide a short sample of the source video, saved in copy mode? The resolution and aspect ratio is quite unusual. Is the source video interlaced?

As i say  I'm new to video editing..  just trying to make the movie run,

This is the sample created with copy
https://drive.google.com/file/d/1Rnc1oXzss1zs6CaGV3-7ZuIatmb3ODBy/view?usp=sharing
It flow good on pc and on the full hd tv bat not in the old LG

This is the sample converted with Mpeg4 ASP (ff) it is visible in the old LG TV and in the newest full hd but the image is bad, as on PC it works good.
https://drive.google.com/file/d/1-uMFUdpa5EZ-dj4NLI3pY8D7lekXX2Y6/view?usp=sharing 

I can't understand why the second works on pc and is not good on tv, i attached a screenshot of avidemux GUI

Hope you can watch the samples.

Thanks again and sorry for my bad english
Marco


eumagga0x2a

#3
Thank you for the samples. There is really nothing special with the video with respect to codec, especially it doesn't use any advanced H.264 features (profile: Baseline at level 1.3). Of course, I can't judge whether anything is wrong with the original MP4 container. Have you tried to remux the video in copy mode to MP4 forcing the usual 16:9 aspect ratio? If you do have to re-encode, H.264 with the Main profile would be much better than obsolete and vastly inferior DivX.

I am not aware of packaged builds from the current git master for Linux Mint. The 2.7.1 is getting old, there have been numerous important fixes since the last release half a year ago.

uffa14

#4
Quote from: eumagga0x2a on December 17, 2018, 11:03:05 PM
Have you tried to remux the video in copy mode to MP4 forcing the usual 16:9 aspect ratio? If you do have to re-encode, H.264 with the Main profile would be much better than obsolete and vastly inferior DivX.


what you said is out of reach for me ;D, can you give me a "translate for dummies"?

and to explain the problem i have took a picture from the TV image with the dirty visible

uffa14

Hallo,
I just have done some more test:
setting copy to  video and copy to audio
output =mp4 muxer
setting aspect ratio 16:9
the video is ok in the full hd tv, but cannot play on the LG one :-(

here the link to the TV owner's manual at page of display resolution

https://www.manualslib.com/manual/1303976/Lg-M2080d.html?page=32#manual

also with this information I can't understand how to set the outupt, maybe you can...

eumagga0x2a

The TV picture shows decoding errors which e.g. FFmpeg as used by Avidemux, VLC and many other projects either doesn't have or successfully conceals.

You should try re-encoding the video using the "Mpeg4 AVC (x264)" encoder in Avidemux. In the encoder configuration dialog, uncheck "Use advanced configuration" and set "Profile" to "main".

Display resolution has nothing to do with video resolution. It is relevant when you feed external video signal e.g. over HDMI to the TV set.

uffa14

IT WORKS!!!!  ;D ;D ;D ;D

Very very thanks.. i set avidemux like you told me and it works!!

Now i try to re-encode the full video but i think it will work too.

uffa14

Worked fine for the full video too!!
Now i'd like to understand what's the difference between the original and the remuxed one.... and why the latter can play on my LG tv.
Here the original  video info
=====================================================
Video
=====================================================
Codec 4CC:      H264
Image Size:      720 x 416
Aspect Ratio:      Unknown (209:208)
Frame Rate:      25,000 fps
Total Duration:      01:52:22.360

=====================================================
Extra Video Properties
=====================================================
ExtraDataSize:      45
Extra data:      01 42 C0 0D FF E1 00 1D 67 42

and from the remuxed one
=====================================================
Video
=====================================================
Codec 4CC:      AVC1
Image Size:      720 x 416
Aspect Ratio:      1:1 (1:1)
Frame Rate:      25,000 fps
Total Duration:      01:52:22.360

=====================================================
Extra Video Properties
=====================================================
ExtraDataSize:      39
Extra data:      01 42 C0 1E FF E1 00 18 67 42


eumagga0x2a

Judging from the file properties you posted, you have re-encoded the video and saved it using Matroska as container.

Only the manufacturer could explain why their TV set didn't like the former but accepted the latter.