Coder Social home page Coder Social logo

jvl711 / sagetvtranscoder-ffmpeg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ffmpeg/ffmpeg

1.0 0.0 0.0 357.81 MB

Mirror of git://source.ffmpeg.org/ffmpeg.git

Home Page: https://ffmpeg.org

License: Other

C 91.77% Makefile 1.30% C++ 0.17% Shell 0.09% Assembly 6.31% Objective-C 0.16% Perl 0.04% Roff 0.01% Cuda 0.08% Awk 0.01% HTML 0.01% Ruby 0.01% Python 0.05% Coq 0.01% Metal 0.01%

sagetvtranscoder-ffmpeg's Introduction

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.

sagetvtranscoder-ffmpeg's People

Contributors

michaelni avatar richardpl avatar dondiego avatar elenril avatar mkver avatar jamrial avatar mansr avatar ubitux avatar mstorsjo avatar justinruggles avatar cehoyos avatar bcoudurier avatar rbultje avatar saste avatar rdoeffinger avatar lu-zero avatar kodawah avatar aurelj avatar cus avatar nevcairiel avatar dwbuiten avatar fhvwy avatar ramiropolla avatar aconverse avatar rouseabout avatar lance-lmwang avatar yuvi avatar mypopydev avatar timothygu avatar cigaes avatar

Stargazers

Jerry Kensler avatar

sagetvtranscoder-ffmpeg's Issues

Figure out the differences in -v flag between the versions

It appears that there were changes in meaning in the values passed to -v between the old and new version of FFMpeg. I want to evaluate and translate back to the old values.

This may be something that we want to change in SageTV in the future.

Update the metadata dump output to more closely match the SageTV output.

The newer version of FFMpeg's metadata output does not match the SageTV version very much at all. There are two options.

  1. Update the output to be compatible with SageTV
  2. Update SageTV to be abele to differentiate between the versions.

I think I would like to see how difficult it would be to match the outputs.

Implement thumbnail generation

SageTV uses FFMpeg to generate thubnails. Need to review the command line options, and the execution to see if there are modifications needed.

Issues found:
The way that crop works has changed. Looks like positive values used to remove from the video. For instance 0:8:0:0 would remove 8 pixels from the top of the video. Now you need to give the total size of the output of the crop.

Implement the STV protocol

I am not sure when/if this is needed. Assuming the file is accessible to the server executing SageTVTranscoder, this should not be an issue. Will keep this in the backlog for potential future implementation.

SageTVTranscoder parameters

I appologize in advance for my stupid question, and I suspect that there is greater than zero chance that this
exact question has been asked before, but I've been searching both old sagetv forums and new ones here on github,
and not able to find the answer.

In my understanding SageTVTranscoder plugin pulls transcoding profiles from Sage.properties from "transcoder/formats/"
entries, but these are only used for transcodings initiated by "convert" action with matching format entries.
But where is/are the entry/erntries for the on-the-fly transcoding for miniclient with fixed transcoding setting?
i.e. looking at this entry from SageTVTranscoder.log:

################################ SageTVTranscoder (FFmpeg) starting ################################
Arguments: /opt/sagetv/server/ffmpeg -ss 201 -v 3 -y -threads 2 -sn -vsync 0 -async 1 -stdinctrl
-i /var/media/tv/ComicsUnleashedWithByronAllen-39476-0.mpg -threads 6 -f matroska -vcodec mpeg4 -b 10000000
-r 29.97 -s 1920x1080 -g 300 -bf 0 -acodec ac3 -ab 192000 -ar 48000 -ac 2 -packetsize 1024 -aspect 16:9
-deinterlace -muxrate 2000000 -rc_init_cplx 326 -maxrate 10000000 -minrate 0 -bufsize 10000000 -mbd 2 -map 0:0 -map 0:1 -
Exiting for some other reason
################################ Exiting ################################

The bitrates and container are pulled from miniclient settings, resolution is from "use souce" setting, but where are other
parms specified? I am mainly interested in codec setting, as I would like to try changing mpeg4 to either hevc_nvenc or
h264_nvenc, but would also be interested in playing with other parameters.

I assume that same code is executed for miniclient "dynamic" setting when either bitrate or network conditions are not met,
is my assumption correct?

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.