issue H264 Camera Passthrough stoped working after reboot

Forum for questions and support relating to the 1.29.x releases only.
Locked
aljabr
Posts: 19
Joined: Wed Apr 27, 2016 8:07 am

issue H264 Camera Passthrough stoped working after reboot

Post by aljabr »

hi :)
i am having a little issue

every thing was working great

but after i reboot the system

the recording from H264 Camera Passthrough didn't work any more

the files in events .mp4 only in KB like corrupted
the X264 Encode work fine but to much load

i don't now whats the issue it was working and then stooped after reboot

i notecd the log before reboot was like spamming with zm_videostore.cpp warning and info

now only show once i start the zoneminder for one line then stooped showing

thanks
Attachments
Screenshot 2016-04-30 13.40.35.png
Screenshot 2016-04-30 13.40.35.png (110.83 KiB) Viewed 2508 times
aljabr
Posts: 19
Joined: Wed Apr 27, 2016 8:07 am

Re: issue H264 Camera Passthrough stoped working after reboot

Post by aljabr »

any help please :(
i have tried every thing i found out the passthrough stops after one frame
how can i debug the passthrough

i couldn't fined any thing to lead me
it was working put after rebooting the system
all .mp4 files in bits or 2-35kb
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: issue H264 Camera Passthrough stoped working after reboot

Post by SteveGilvarry »

Invalid argument seems to be most common when something in the h264 stream doesn't work with MP4 container. I never see these from my own test camera, but I have seen others getting them. Doesn't really line up with just a server reboot to change that, did you adjust camera settings at all?
And just setting all but one ffmpeg camera with h264 passthrough to None. Will keep log clean, I can see 7 different cameras in that single log screen shot.

Also you can just try straight ffmpeg to see if it works, something like ffmpeg -i rtsp://@192.168.241.1:62156 -acodec copy -vcodec copy dump.mp4
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
aljabr
Posts: 19
Joined: Wed Apr 27, 2016 8:07 am

Re: issue H264 Camera Passthrough stoped working after reboot

Post by aljabr »

thaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaank you steve
i am falling in love with you right now :D
i have been trying to fix it last days with no success
i even rebuild it 3 times :(
and that's it just change it from remote to ffmpeg :)
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: issue H264 Camera Passthrough stoped working after reboot

Post by SteveGilvarry »

It's in the readme, but only works with ffmpeg currently. Remote does not construct a proper AVpacket so when we try to use it's AVPacket to pass to av_interleaved_write_frame, it fails.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Locked