MartinEesmaa / VVCEasy

VVCEasy is that you don't have to compile or/and coding to encode VVC (known as Versatile Video Codec). Simple. Easy. Encode. Decode
https://martineesmaa.org/en/vvceasy
MIT License
145 stars 15 forks source link

VLC crash after 1 or 3 seconds #28

Open F1EJP opened 1 year ago

F1EJP commented 1 year ago

I compiled ffmpeg with vvc and ffplay plays vvc files fine

On Windows 10
With VLC 32 bits 3.0.18 I put the 3 dll at the right place there is no progress bar VLC crash after 1 or 5 seconds At next start: vlch266

Is there a specific parameter tu put in vlc ?

MartinEesmaa commented 1 year ago

Hi @F1EJP. On VLC 32-bit build for using VLC VTM Decoder is not supported, because I compiled only all three VTM decoder library files for targetting x64 only. 32-bit is not supported using VVC VTM, see the info: https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM#build-instructions

It is only to play VVC raw bitstream video for VLC 64-bit build 3.0.9.2+ latest only with VLC VTM Decoder x64 library files only. VLC VTM Decoder plugins doesn't have seek, MP4 and the progress bar support. For VLC 4.0.0 latest, it will not work.

However, if you want to still play VVC video on VLC 32-bit, it needs to compile VLC with FFmpeg to add external VVC decoder support patches without VTM decoder library files. It needs to cross compile to target Windows using Linux or MINGW MSYS2.

Is there a specific parameter tu put in vlc ?

I don't know if I can do any specific parameter in VLC, I tried --demux ffmpeg of vlc.exe in command line, but nothing worked still.

Please sure that VLC VTM Decoder plugin 64-bit is only for VLC 64-bit build.

If you have any question or/and issues, feel free to reply me. Thank you :)

F1EJP commented 1 year ago

Sorry i made a mistake ! i want to say VLC 64 bits 3.018 it crash.. on 3 differents PC is there a log on vlc ? I use ffplay with a mpegts stream in udp on DATV amateur radio H266 + aac

Thanks for for your development

MartinEesmaa commented 1 year ago

It's okay, @F1EJP.

is there a log on vlc?

You can send a log file to me by reply of this issue or send my email. To get a log report file, you need to start VLC. Go to Tools > Preferences, then go to Advanced, search Logger. Click Logger, check the log file and set log filename in your local computer. Once you've clicked Save button, you need to restart VLC to apply effect.

I use ffplay with a mpegts stream in udp on DATV amateur radio H266 + aac

Yeah, it seems work with FFplay and MPV with my custom builds, but I forgot one thing that it may not support VVC MPEG-TS demux of VLC and Fraunhofer HHI confirms FFmpeg demux is untested yet of VLC. :/. I may just do for fully VVC support of VLC Media Player to make it easy.

If you have any question or issues, feel free to let me know. :)

F1EJP commented 1 year ago

Hi Martin some examples:

-- logger module started --
main: one instance mode ENABLED
main: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
mpeg4audio: AAC channels: 1 samplerate: 22050
avcodec: Using D3D11VA (Intel(R) HD Graphics 520, vendor 8086(Intel), device 1916, revision 7) for hardware decoding
direct3d11 error: SetThumbNailClip failed: 0x800706f4
-- logger module stopped --
-- logger module started --
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\codec\libvvcdecoder_plugin.dll
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\demux\libvvctsdemux_plugin.dll
main: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
main: playlist is empty
-- logger module stopped --
-- logger module started --
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\codec\libvvcdecoder_plugin.dll
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\demux\libvvctsdemux_plugin.dll
main: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
main: playlist is empty
-- logger module stopped --
-- logger module started --
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\codec\libvvcdecoder_plugin.dll
main error: stale plugins cache: modified C:\Program Files\VideoLAN\VLC\plugins\demux\libvvctsdemux_plugin.dll
main: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
main: playlist is empty
avcodec error: Could not open C:\Users\Dom\Downloads\NovosobornayaSquare_640x360.webm: Unknown error
-- logger module stopped --

Thanks Dominique Metayer

MartinEesmaa commented 1 year ago

@F1EJP, thank you for your VLC log report. :)

I think the problem is not playing correct container .webm:

avcodec error: Could not open C:\Users\Dom\Downloads\NovosobornayaSquare_640x360.webm: Unknown error

Inside avcodec of VLC version does not recognize VVC video, must build VLC with libvvdec support of FFmpeg and additional code patches of VLC source code.

I tested sample file that you had from Elecard sample video, it crashes after 1 or 3 seconds, you're right. This may be bug for VLC VTM Decoder plugin for some VVC raw bitstreams.

I tested another file with Traffic 720p and works without crash: https://www.elecard.com/storage/video/Traffic_1280x720.webm