DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th May 2021
ohmpr ohmpr is offline
Port Guard
 
Join Date: Feb 2021
Posts: 20
Default ffmpeg command that works in ganoo+linox doesn't work on OpenBSD

hi,

as the title says, the following command works in Linux, but not OpenBSD.

Code:
ffmpeg -use_wallclock_as_timestamps 1 -i rtsp://admin:passwd@192.168.1.5:554 -vcodec copy -acodec copy -map 0 -f segment -segment_time 3600 -segment_format mp4 -reset_timestamps 1 -strftime 1 -metadata title="front_cam" /home/username/drive2/nvr_video/front_cam/"%b-%d-%Y_%I-%M-%p_front_cam.mp4" > front_cam.log 2>&1 < /dev/null &

when i run it i get

Code:
[1] 51621
[3] - Done (1)             ffmpeg -use_wallclock_as_timestamps 1 -i "rtsp:
it seems lilke it chokes on the colon or the double slashes that come after it. i try quoting that rtsp url part in case that would help, but it returns:

Code:
[3] 77821
[1] - Done (1)             ffmpeg -use_wallclock_as_timestamps 1 -i rtsp:/
[2]   Done (1)             ffmpeg -use_wallclock_as_timestamps 1 -i "rtsp:
i don't know what these return codes mean (51621, 77821) either...

What is different about the OpenBSD ffmpeg or shell that i'm not getting?

thanks
Reply With Quote
  #2   (View Single Post)  
Old 20th May 2021
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 304
Default

Those aren't return codes, those are the PIDs because you're backgrounding ffmpeg with '&' and the Done messages are from ffmepeg existing and the shell just prints the commandline truncated at a certain length.

You're redirecting ffmpeg's output to a log file. What's in there? What is it doing or not doing?
Reply With Quote
  #3   (View Single Post)  
Old 20th May 2021
ohmpr ohmpr is offline
Port Guard
 
Join Date: Feb 2021
Posts: 20
Default

lol. how embarrassing. i knew that, but i was still too boneheaded to go look in the log... i thought the command was failing to run at all.

it's logging what ffmpeg command is doing, so now it's just a matter of perms and missing dirs and what not.

thanks, i thought there was some incompatibility i wasn't aware of.
Reply With Quote
Reply

Tags
ffmpeg, shell

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fluxbox-generate_menu doesn't work nihonto NetBSD Package System (pkgsrc) 4 5th April 2022 03:03 PM
Xen 3.3 Winxp Domu doesn't work AgustinSainato NetBSD Package System (pkgsrc) 3 12th May 2016 11:22 PM
[Analisys]Driver rtwn doesn't work on OpenBSD CristhofferBR OpenBSD General 11 26th April 2016 12:01 AM
Help: NAT doesn't work on OpenBSD 4.9 lcxpics OpenBSD General 1 18th May 2011 09:46 AM
ln -f at boot doesn't work lordyan OpenBSD General 3 19th February 2009 03:50 PM


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick