Comments (11)
This is an error with the encoding process. Ensure that your gpu_mem
is set to 128 or greater.
from mr-otcs.
Thanks. I have set this in /boot/config.txt to 256, and rebooted. Same error message is appearing.
I’ve just noticed there’s nothing inside the opt directory. So somethings gone wrong somewhere.
from mr-otcs.
The ffmpeg-hls-pts-discontinuity-reclock compiling process likely failed. What compile flags were set when it was compiled?
from mr-otcs.
cd ~ && git clone --depth 1 https://github.com/jjustman/ffmpeg-hls-pts-discontinuity-reclock.git
&& cd ~/ffmpeg-hls-pts-discontinuity-reclock
&& ./configure
--extra-cflags="-I/usr/local/include"
--extra-ldflags="-L/usr/local/lib"
--extra-libs="-lpthread -lm -latomic"
--arch=armel
--enable-gmp
--enable-gpl
--enable-libaom
--enable-libass
--enable-libdrm
--enable-libfdk-aac
--enable-libfreetype
--enable-libkvazaar
--enable-libmp3lame
--enable-libopencore-amrnb
--enable-libopencore-amrwb
--enable-libopus
--enable-librtmp
--enable-libsnappy
--enable-libsoxr
--enable-libssh
--enable-libvorbis
--enable-libvpx
--enable-libzimg
--enable-libwebp
--enable-libx264
--enable-libx265
--enable-libxml2
--enable-mmal
--enable-nonfree
--enable-omx
--enable-omx-rpi
--enable-version3
--target-os=linux
--enable-pthreads
--enable-openssl
--enable-hardcoded-tables
&& make -j$(nproc)
&& sudo make install
from mr-otcs.
If the entirety of /opt/vc
is missing, it may be possible to restore the needed files by installing libraspberrypi-bin
with apt
.
Additionally, --enable-librtmp
will need to be changed to --disable-librtmp
as librtmp itself will not work with this project.
from mr-otcs.
Still nothing there after an reinstalling libraspberrypi-bin, so I don’t know if it’s putting it somewhere else.
I think I’m going to scrap this and start from scratch again. I have Raspbian Bullseye on this now, the 64 bit version, would it be better to just get a copy of the lite version? Thanks!
from mr-otcs.
The instance running OTCS is based on Raspbian OS Lite Buster 32-bit. The only adjustment made prior to installation was to set gpu_mem
to 256. Searching for similar errors to this issue returned reports of other users needing to reinstall the Raspberry Pi firmware package, so I believed it would have corrected it here. I have not tested other versions of Raspbian OS, but I believe there should be no issues with a clean installation of any recent version. Good luck.
from mr-otcs.
The /opt/vc directory has been restored after running rpi-update.
This broadcom.video_encode, if im getting an error with this, does it point towards there being a problem during compile time for ffmpeg? Thanks.
Press [q] to stop, [?] for help
[NULL @ 0x39afaa0] Failed to parse extradata
[h264_omx @ 0x39c41c0] Using OMX.broadcom.video_encode
[h264_omx @ 0x39c41c0] OMX_GetHandle(OMX.broadcom.video_encode) failed: 800010
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or heig
Conversion failed!
from mr-otcs.
If you're still getting errors about extradata, it could be an issue with the video you're trying to transcode. What is the nature of the source video?
from mr-otcs.
The video I'm testing with is a mkv file. I'll find some other formats and see if they're the same.
Edit - for mp4 it says this
Press [q] to stop, [?] for help
[h264_omx @ 0x24d9310] Using OMX.broadcom.video_encode
[h264_omx @ 0x24d9310] OMX_GetHandle(OMX.broadcom.video_encode) failed: 80001005
Error initializing output stream 0:0 -- Error while opening encoder for output s tream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
different code
from mr-otcs.
This is due to the use of the h264_omx
codec in Raspberry Pi OS Bullseye. To resolve this, the codec must be changed to h264_v4l2m2m
. However, in version 1.x, this requires the script to be edited to use a newer version of ffmpeg alongside the RTMP encoder, which is the default configuration in version 2.0.
from mr-otcs.
Related Issues (20)
- Media playback save states
- Generate schedule up to a certain duration
- List validation HOT 1
- Option to calculate all file lengths before starting main loop
- Option to exclude videos from schedule
- Add video padding to durations in schedule
- While retrying a file that cannot be found, open a ffmpeg process that outputs black video
- Connection loss detection isn't reliable HOT 1
- Terminate stream before 48 hours of continuous uptime, then restart HOT 2
- ./ffmpeg.sh: line 16 error HOT 9
- Video files with mismatching framerates cause loss of audio in RTMP stream HOT 1
- Implement minimum video length for inclusion in JSON schedule
- Soft exit that allows current video to end, then optionally play an outro video, before closing program HOT 1
- RTMP process ended unexpectedly HOT 3
- "nasm/yasm not found or too old. Use --disable-x86asm for a crippled build."
- "[Notice] Not writing schedule for b: Name matches SCHEDULE_EXCLUDE_FILE_PATTERN." HOT 3
- No Twitch Stream - No output errors HOT 6
- Audio desync after RTMP restarts due to exception
- Send e-mail in event of RTMP exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mr-otcs.