Log in

View Full Version : Need a player for 265 videos in raw format


dns
18th October 2023, 10:10
The stationary video recorder produces video in raw format, the files are obtained with the extension h264
ffplay, vlc, mpv don't play the file.

MediaInfo
Complete name : C:\_vid\PL\IP camera_02_20230913_06.00.00-07.00.00[H][@220f5][1].h264
Format : HEVC
Format/Info : High Efficiency Video Coding
File size : 174 Mb
FileExtension_Invalid : hevc h265 265

Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L3.1@Main
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 бит
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Yeah. The file turns out to be h265. I rename it, but it makes no sense.

ffplay -f hevc -i "IP camera_02_20230913_06.00.00-07.00.00[H][@220f5][1].h265"

It plays, but rewinding still doesn't work and writes an error in the console:

[hevc @ 000001d85e347b80] Invalid NAL unit 0, skipping.
[NULL @ 000001d85d81eb40] Invalid NAL unit 0, skipping.
Last message repeated 6 times

But here's the catch, I had a player that showed it perfectly and rewinded the file. I lost it

https://mega.nz/file/qtExyRAK#N3kGl2KTkL31rVzuuD8hbZwv8xaef2UMHd04qEUpqcQ (File 174Mb)

tebasuna51
18th October 2023, 10:40
Renamed to .h265 is played by mpc-hc or mpc-be.
But if you want rewind etc. the best option is mux it to .mkv with MkvToolNix, it create the needed indexes to play forward and backward.

dns
18th October 2023, 12:35
I think I found that player (I searched for half a day).

Player page (https://www.polyvision.ru/po/dlya-windows/pleer-h.264)
direct link (https://www.polyvision.ru/upload/programs/sw/Player07112022_setup.exe)

It plays files beautifully and rewinding works great. But why, why does ffmpeg stumble?

therube
2nd November 2023, 20:48
Renamed to .h265 is played by mpc-hc or mpc-be.
At first I didn't realize that it was playing - until I saw the time code advancing.
mux it to .mkv
Looks to work just fine, including reversing (& even though it does spit out, Invalid NAL, messages).

ffmpeg -i xxx.h265 -c copy out.mkv