Comments (5)
Hello @sirus20x6,
I preconverted all the overtures to 264, aac, 44100hz. when ffplayout starts I get the error
For ffplayout this step is not necessary. Maybe it can make sense in output mode hls
in combination with stream copy. But I have not test this.
output_param: -c:v libx264 -x264-params keyint=25:min-keyint=15:scenecut=-1 -maxrate 6000k -bufsize 512k -preset faster -tune zerolatency -profile:v Main -level 3.1 -c:a copy -strict unofficial -f flv rtmp://localhost:1935/live/XXXXX
ffplayout does not support this -c:a copy
in streaming mode. You have to choice a audio codec.
where does this part come from?
-filter_complex [0:v:0]fps=25,null[vout0];[0:a:0]anull[aout0] -map [vout0] -map [aout0] -pix_fmt yuv420p -r 25 -c:v mpeg2video -g 1 -b:v 129600k -minrate 129600k -maxrate 129600k -bufsize 64800k -c:a s302m -strict -2 -sample_fmt s16 -ar 48000 -ac 2 -f mpegts -"
and how do I change it? is this because of the format of the filler video?
This is a internal step and can not be changed. That is the way ffplayout works, it starts one ffmpeg process for prepare and convert all video files to the same format and pipe the output to a second ffmpeg instance for creating a endless stream with correct DTS, PTS etc.
Even when you pre-convert all you videos in the same format, it can happen that audio and video line can have different durations, and ffplayout takes care of that to.
To unify the video ffplayout apply this filters, if is needed:
- yadif (deinterlacing)
- pad (letterbox or pillarbox to fit aspect)
- fps (change fps)
- scale (fit target resolution)
- aevalsrc (if video have no audio)
- apad (add silence if audio duration is to short)
- tpad (add black frames if video duration is to short)
from ffplayout.
I'm curious as to why -c:a copy
wouldn't be an option for preconverted streams for instance if I made sure the audio and video were the same duration and everything was the same resolution, codec, container, etc?
The server I'm using has a really, really old xeon that has trouble keeping up with too many streams and I have a few other things on there like plex. I'd love to just have all my videos preconverted so as little processing as possible needs to be done when it comes time to stream. I'm building a new server now, but my while my download is 1.2gbps my upload is capped at 35mbps until comcast upgrades me to docsis 4.0 later this year. that makes streaming from home nonviable so I'm stuck renting a server until then.
from ffplayout.
I have doubts it would run with same stability. But we can test it and see how it works.
The next days I'm not able to do much, but if you want you can change the code and run some tests.
from ffplayout.
I added stream copy mode to my developer repo. If you still interested, would be nice if you test it and give me feedback.
from ffplayout.
from ffplayout.
Related Issues (20)
- Improved Configuration Menu HOT 1
- Integration with Keycloak for Centralized User Management HOT 3
- skipping and next live/https HOT 12
- Getting a 404 on /api/control/1/media/next/ HOT 2
- Possibility to execute command in the playlist to use x9k3 HOT 5
- why we cant stream to instagram HOT 1
- Live time now HOT 6
- Live Crash: Clip begin out of sync for HOT 10
- What ports are needed for ffplayout? HOT 2
- Custom_Filter in playlist item not working HOT 9
- Task script HOT 10
- Unable to handle many files (1000+) HOT 4
- Possibility to see preview HOT 2
- loudnorm HOT 5
- View log HOT 5
- Network interface monitoring not correctly detected. HOT 2
- increase CPU filter HOT 2
- ffplayout-engine did not use in/out on init
- Important message from the developer regarding version v0.20 HOT 1
- ERROR ffprobe HOT 2
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 ffplayout.