Codec conversion

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
crb001
New Cone
New Cone
Posts: 3
Joined: 04 Jun 2024 06:41

Codec conversion

Postby crb001 » 04 Jun 2024 06:50

Converting an mp4/H.265 video file to mp4/H.264 results in, basicly, an empty file (only about 40KB).

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Codec conversion

Postby Lotesdelere » 04 Jun 2024 12:15

Please open Tools -> Messages (set Verbosity to 2) before you start the conversion, keep the messages window open and then paste the full resulting log here or on Pastebin.com or on Justpaste.it if it's too long.

crb001
New Cone
New Cone
Posts: 3
Joined: 04 Jun 2024 06:41

Re: Codec conversion

Postby crb001 » 06 Jun 2024 12:57

I see from the debug dialogue there is an error reporter: avcodec error: hardware acceleration picture allocation failed

Here is the entire message:


main debug: VoutDisplayEvent 'mouse button' 0 t=8
main debug: VoutDisplayEvent 'mouse button' 0 t=9
main debug: auto hiding mouse cursor
qt debug: MRL(s) passed to the Sout: 1
qt debug: MRL(s) passed to the Sout: file:///C:/Users/rich/OneDrive/Desktop/video_H265.mp4
qt debug: Transcode MRL: sout=#transcode{vcodec=h264,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none}:std{access=file{no-overwrite},mux=mp4,dst='C:/Users/rich/OneDrive/Desktop/video_H264.mp4'}
main debug: deleting item `video_H265.mp4'
main debug: incoming request - stopping current input
main debug: killing decoder fourcc `hevc'
main debug: removing module "avcodec"
main debug: incoming request - stopping current input
main debug: Creating an input for preparsing 'Converting file:///C:/Users/rich/OneDrive/Desktop/video_H265.mp4'
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\rich\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\rich\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
lua debug: skipping script (unmatched scope) C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in C:\Users\rich\AppData\Roaming\vlc\lua\meta\fetcher
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in C:\Users\rich\AppData\Roaming\vlc\lua\meta\art
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.luac
main debug: no art finder modules matched
avcodec error: hardware acceleration picture allocation failed
main debug: saving a free vout
main debug: reusing provided vout
main debug: killing decoder fourcc `mp4a'
main debug: removing module "faad"
wasapi debug: reset
main debug: removing module "samplerate"
main debug: removing module "scaletempo"
main debug: removing module "float_mixer"
main debug: keeping audio output
main debug: removing module "mp4"
mp4 debug: freeing all memory
main debug: Program doesn't contain anymore ES
main debug: removing module "record"
main debug: removing module "cache_read"
main debug: removing module "filesystem"
main debug: dead input
main debug: nothing to play
main debug: destroying useless vout
main debug: removing module "direct3d11"
direct3d11 debug: Direct3D11 resources destroyed
qt debug: IM: Deleting the input
direct3d11 debug: Direct3D11 device adapter closed
direct3d11 error: SetThumbNailClip failed: 0x800706f4
direct3d11 debug: Win32 Vout EventThread terminating
direct3d11 debug: Win32VoutCloseWindow
direct3d11 debug: WinProc WM_DESTROY
main debug: removing module "inhibit"
qt debug: releasing video...
qt debug: video widget is released
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Codec conversion

Postby Lotesdelere » 07 Jun 2024 11:35

OneDrive ?
You'd better use a local file on your PC.

crb001
New Cone
New Cone
Posts: 3
Joined: 04 Jun 2024 06:41

Re: Codec conversion

Postby crb001 » 07 Jun 2024 13:14

Thanks for pointing this out. This is a brand new machine, never thought Microsoft would configure the desktop as a OneDrive folder by default. Later today I will duplicate my problem and send you the resulting debut message.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests