Commit Graph

176 Commits (c4a1d0eef84c4dac45074c5dd2ffb00b1cd0c5ed)

Author SHA1 Message Date
Sergey M․ 2791e80b60
[postprocessor/ffmpeg] Embed series metadata with --add-metadata
Sergey M․ 824fa51165
[utils] Improve subtitles_filename (closes )
Sergey M․ 3089bc748c
Fix W504 and disable W503 (closes )
Sergey M․ ce52c7c111
[postprocessor/ffmpeg] Fix avconv processing broken in (closes )
Sergey M․ 61ff92e11e
[postprocessor/ffmpeg] Wrap loglevel args in encodeArgument
Sergey M 1397a790ff
[postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero exit status ()
Tatsh 7f903dd8bf [postprocessor/ffmpeg] Do not copy Apple TV chapter tracks while embedding subtitles (closes )
Related issue: https://trac.ffmpeg.org/ticket/6016
Andrew Udvare 2b3afe6b0f
[postprocessor/ffmpeg] Disable "Last message repeated" messages which cause non-zero exit status
Remita Amine eb35b163ad [postprocessor/ffmpeg] fallback to ffmpeg/avconv for audio codec detection(closes )
Sergey M․ cbdc688c41
[postprocessor/ffmpeg] Relax ubuntu ffmpeg version regex
Sergey M․ 5caa531a1a
[postprocessor/ffmpeg] PEP 8
Remita Amine a64646e417 [postprocessor/ffmpeg] sanitize ffmpeg version for Ubuntu and Arch Linux systems(closes )
Sergey M․ 04fb6928da
[postprocessor/ffmpeg] Embed subtitles with non-standard language codes (refs )
Sergey M․ d4a24f4091
Prefer ffmpeg over avconv by default (closes )
Andrew Udvare b5cbe3d652 [postprocessor/embedthumbnail] Skip embedding when there aren't any thumbnails
Sergey M․ 7974e289a1
[postprocessor/xattr] Clarify NO_SPACE message ()
Sergey M․ d2ae7e24e5
[postprocessor/ffmpeg] Convert to opus using libopus (closes )
Yen Chi Hsuan 3869028ffb [utils] Use bytes-like objects in dfxp2srt
This fixes handling of non-UTF8 TTML subtitles

Closes 
Sergey M․ a02682fd13
Keep in sync with ffmpeg's current malformed AAC bitstream wording (closes )
Sergey M․ 8b6ac49ecc
[postprocessor/execafterdownload] Encode command line (closes )
Sergey M․ be80986ed9
[postprocessor/metadatafromtitle] Fix missing optional meta fields (closes )
Yen Chi Hsuan 5192ee17e7
[postprocessor/ffmpeg] Fix metadata filename handling on Python 2
Fixes 
Sergey M․ fa26734e07
[postprocessor/metadatafromtitle] Add support regex syntax for --metadata-from-title (closes )
remitamine fa2a36d9bc [ffmpeg] add support for chapters field postprocessing
Remita Amine 40fcba5edb improve coding style
Philipp Hagemeister 21bfcd3d6e [postprocessor/ffmpeg] Add support for flac
Requested at http://stackoverflow.com/q/42828041/35070
Sergey M․ 0f57447de7
[postprocessor/ffmpeg] Add mising space (closes )
Yen Chi Hsuan ec85ded83c
Fix "invalid escape sequences" error on Python 3.6
Yen Chi Hsuan 8e2915d70b
Revert "[postprocessor/embedthumbnail] Allow mkv to embed thumbnails"
This reverts commit 7360db05b4.

This commit was added as an attempt to fix . Unfortunately, the fix
is completely wrong. As reported on , embedded thumbnails are not
displayed in VLC, and Se7en on IRC reports that the embedded thumbnail
misleads mpv as well.

The correct way is using -attachment of ffmpeg, while the current
run_ffmpeg_multiple_files API can't handle it cleanly.
Sergey M․ 0b94dbb115
[postprocessor/ffmpeg] PEP 8
Pierre Mdawar 2273e2c530 [postprocessor/ffmpeg] Return correct filepath and ext in updated information in FFmpegExtractAudioPP
Return correct audio's filepath and ext instead of the video's when extracting audio and audio file already exists.
Déstin Reed dcdb292fdd
Unify coding cookie
Yen Chi Hsuan efa97bdcf1
Move write_xattr to utils.py
There are some other places that use xattr functions. It's better to
move it to a common place so that others can use it.
Remita Amine 30d9e20938 [postprocessor/ffmpeg] apply FFmpegFixupM3u8PP only for videos with aac codec()
Sergey M․ 25dd58ca6a
[metadatafromtitle] Remove unused exception class
nyorain 5e42f8a0ad
Make --metadata-from-title non fatal
Output a warning if the metadata can't be parsed from the title (and don't write any metadata) instead of raising a critical error.
Yen Chi Hsuan 23495d6a39
Revert "[ffmpeg] Fix embedding subtitles ()"
This reverts commit ccff2c404d.

Fixes .

The new approach breaks embedding subtitles into video-only or
audio-only files. FFMpeg provides a trick: add '?' after the argument of
'-map' so that a missing stream is ignored. For example:

opts = [
    '-map', '0:v?',
    '-c:v', 'copy',
    '-map', '0:a?',
    '-c:a', 'copy',
    # other options...
]

Unfortunately, such a format is not implemented in avconv, either.
I guess adding '-ignore_unknown' if self.basename == 'ffmpeg' is the
best solution. However, the example mentioned in  no longer serves
problematic files, so I can't test it. I'll reopen  and wait for
another example so that I can test '-ignore_unknown'.
Yen Chi Hsuan 5b6a74856b Merge pull request from reyyed/issue#9063fix
[ffmpeg] Fix embedding subtitles ()
Yen Chi Hsuan 702ccf2dc0
[compat] Rename shlex_quote and remove unused subprocess_check_output
Sergey M․ 4bd143a3a0
[postprocessor/ffmpeg] Simplify metadata preparation and add track related metafields (Closes )
Wang Jun Tham ccff2c404d [ffmpeg] Fix embedding subtitles ()
Changed command line parameters for ffmpeg when embedding subtitles.
Changed to ‘-map 0:v -c:v copy -map 0:a -c:a copy’
remitamine b9f2fdd37f [ffmpeg] Clarify rationale for pipe(-) exclusion in _ffmpeg_filename_argument
remitamine d868f43c58 [ffmpeg] check for - file name in _ffmpeg_filename_argument
remitamine 0750b2491f [ffmpeg] try to convert tt subtitles usng dfxp2srt
Sergey M․ 40025ee2a3 [postprocessort/ffmpeg] Allow embedding webvtt into webm (Closes )
remitamine 2e7e561c1d Merge pull request from remitamine/ffmpegfd
[downloader/external] Add FFmpegFD
remitamine a755f82549 [ffmpeg] convert format ext to ffmpeg output formats codes
remitamine 090eb8e25f Merge pull request from remitamine/m3u8-fixup
Add fixup for media files produced by HlsNative downloader(fixes )
Yen Chi Hsuan e9c0cdd389 [jython] Introduce compat_os_name
os.name is always 'java' on Jython
remitamine f17f86513e Add fixup for media files produced by HlsNative downloader(fixes )