Page 1 of 1

VLC doesn't play converted videos

Posted: 29 Sep 2024 19:05
by fbay
Hi,
I sometimes convert Videos with VLC.

This is how I do it: Media -> Convert/Save... -> Add... (then I choose the file) -> Convert/Save (I use the settings of the first profile: "Video - H.264 + MP3 (MP4)") -> browse (I give some name, e.g. click on the old video and change a little bit the name) -> Start

But I can't play the converted video in the VLC player: It shows only that the time is passing, but I don't see any image (only the VLC icon). On the other hand the video is normally played in the Windows Media Player (Version 11.2408.4.0).

So something is "wrong" with videos that are converted to H.264. Or is H.254 something that VLC can create but not play? What can I do to solve the problem?

I've already deleted the folder "%APPDATA%/VLC" to reset the preferences of the convert profiles, but it doesn't change.

I use Windows 11 Pro, but the same problem was already before updating. My VLC version: 3.0.20 Vetinari.

Re: VLC doesn't play converted videos

Posted: 30 Sep 2024 10:27
by Lotesdelere
Please open Tools -> Messages (set Verbosity to 2) before you start the playback, keep the messages window open during the whole process and then paste the full resulting log here or on Pastebin.com or on Justpaste.it if it's too long.

Also upload a short sample of your original problematic file to WeTransfer.com or Disroot.org and then post the link to the file here.
https://wetransfer.com
https://upload.disroot.org


Similar report:
https://forum.videolan.org/viewtopic.php?f=14&t=165361

There are other reports about conversion issues:
https://forum.videolan.org/viewtopic.ph ... 89#p508489

Try with a nightly build:
https://nightlies.videolan.org

Or use a dedicated video tool such as AviDemux:
https://avidemux.sourceforge.net

Re: VLC doesn't play converted videos

Posted: 06 Oct 2024 20:43
by fbay
Thank you for your help!

I noticed now, that only the first 7 seconds of the converted video are not working.

The message log says:
main error: buffer deadlock prevented
avcodec info: Using D3D11VA (Intel(R) UHD Graphics 620, vendor 8086(Intel), device 3ea0, revision 2) for hardware decoding
direct3d11 error: SetThumbNailClip failed: 0x800706f4
The original video (130.87 MB):
https://upload.disroot.org/r/6Le2FVWG#a ... e6GoXvf8U=

Converted video (3.73 MB):
https://upload.disroot.org/r/wjnXLZW_#I ... Av4CxMW0M=

Re: VLC doesn't play converted videos

Posted: 07 Oct 2024 12:26
by Lotesdelere
As requested, we need the whole full messages log, from the very beginning to the very end.

Re: VLC doesn't play converted videos

Posted: 08 Oct 2024 10:15
by fbay
Hi, I opened the "messages", played then the video until the end, but I can't see anything more. Where do I find the whole message log? I did it again. Here is a screenshot of what I could see after the end of the video: https://upload.disroot.org/r/Soucx9d5#y ... x/WkloP7I=

Re: VLC doesn't play converted videos

Posted: 08 Oct 2024 12:30
by Lotesdelere
You didn't set the verbosity to 2.
Please read my post again, carefully:
https://forum.videolan.org/viewtopic.ph ... 59#p546759

Re: VLC doesn't play converted videos

Posted: 08 Oct 2024 21:46
by fbay
Sorry, yes, I had missed that.

Here's the log: https://justpaste.it/gyu5q

Re: VLC doesn't play converted videos

Posted: 09 Oct 2024 11:43
by Lotesdelere
I see nothing alarming in this log, it's somehow similar to mine. But I can reproduce the issue with your sample file, the video doesn't show for about 7 seconds.
However, there is no sound in your sample file, is it intented ?

So I've remuxed your sample file with FFmpeg, I got few error messages:

Code: Select all

[mov,mp4,m4a,3gp,3g2,mj2 @ 000000f481cff2c0] st: 1 edit list: 1 Missing key frame while searching for timestamp: 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 000000f481cff2c0] st: 1 edit list 1 Cannot find an index entry before timestamp: 0. Output #0, mp4, to 'd:\temp\Bild.mp4': [mp4 @ 000000f481d1c280] Non-monotonic DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.

but the resulting file is playing fine, the video is instantly displayed. Can you check it and confirm ?
You can download it here:
https://upload.disroot.org/r/N86ofsAH#V ... 46V3pfZ0s=

So I guess the problem is at the MP4 container level when VLC writes the output file.

You should create a new report ticket on the VLC issues tracker with your above report, the link to your sample file, the link to your messages log, and the link to this thread:
https://code.videolan.org/videolan/vlc/-/issues

If possible, because of this:
https://forum.videolan.org/viewtopic.ph ... 27#p538427