Comments (2)
Hallo mir ist dazu beim FFmpeg Befehl ein Fehler aufgefallen die .ts files beinhalten sowohl Audio als auch Video spur
und beim map werden immer alle spuren hinzugefügt wodurch auch die Video Spur 2 mal drinnen ist.
Habe das mal abgeändert mittels -map 1:1 so wird nur die audio Spur und nicht die Video Spur verwendet
Dann fiel mir auch noch auf, dass sich die metadaten 2 mal denn index 0 überschreiben
In meinem Beispiel wird der Japanischen Titel mit dem Deutschen Überschrieben.
Hier muss wohl eine offset rein für die Audiospur welche mit der Videospur hinzugefügt wird.
Vorher:
ffmpeg -y
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_ja-JP_video_1272962764.ts"
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_de-DE_audio_3639397945.aac"
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_ar-ME_subtitle_901763341.ass"
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_en-US_subtitle_3683364588.ass"
-map 0
-map 1
-map 2
-map 3
-map 4
....
-metadata:s:v:0 language="ja-JP"
-metadata:s:v:0 title="Japanese"
-metadata:s:a:0 language="ja-JP" <- hier
-metadata:s:a:0 title="Japanese"
-metadata:s:a:0 language="de-DE" <- und hier ist jeweils 0
-metadata:s:a:0 title="German"
-metadata:s:s:0 language="ar-ME"
-metadata:s:s:0 title=""
-metadata:s:s:1 language="en-US"
-metadata:s:s:1 title="English (US)"
...
-disposition:s:0 0
-c copy
-f matroska /var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/2798654173
Nachher:
ffmpeg -y
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_ja-JP_video_1272962764.ts"
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_de-DE_audio_3639397945.aac"
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_ar-ME_subtitle_901763341.ass"
-i "/var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/ANIME S01E01.mkv_en-US_subtitle_3683364588.ass"
...
-map 0
-map 1:1 <- nur die audio spur wird hinzugefügt weil in der ts audio an der 2 stelle ist
-map 2
-map 3
-map 4
...
-metadata:s:v:0 language="ja-JP"
-metadata:s:v:0 title="Japanese"
-metadata:s:a:0 language="ja-JP"
-metadata:s:a:0 title="Japanese"
-metadata:s:a:1 language="de-DE"
-metadata:s:a:1 title="German"
-metadata:s:s:0 language="ar-ME"
-metadata:s:s:0 title=""
...
-metadata:s:s:8 title="Spanish (Spain)" -disposition:s:0 0 -c copy -f matroska /var/folders/68/6v1w65fn5mq6b1xm4k254gv00000gn/T/3938389313
Habe das zum provisorischen Test bei
archiveFFmpeg in der for loop für die audio folgende Änderungen gemacht:
var temp = strconv.Itoa(i+len(videoFiles))
maps = append(maps, "-map", temp + ":1")
metadata = metadata = append(metadata, fmt.Sprintf("-metadata:s:a:%d", i + 1), fmt.Sprintf("language=%s", locale))
Für das Laden der Audio Spur hätte ich noch einen Vorschlag:
Man könnte für die Audio Spur die Auflösung der Video Spur verringern da sie ohnehin wegfällt
Kam mir während ich mir das ganze angesehen habe
from crunchy-cli.
Fixed in release v2.3.1
from crunchy-cli.
Related Issues (20)
- Remove track names like "Video #1" "Video #2" HOT 3
- Multi-Audio downloads have multiple video tracks HOT 3
- Download Subtitle only HOT 1
- Search command returns nothing HOT 2
- Aboslute path on win10 don't work well HOT 2
- Episode filtering not working correctly for specific show. HOT 1
- Add only audio dl support for episode & seasons HOT 1
- Archive skip existing improvment
- Open-ended Episode Filtering [S1E3-] Skipping Episodes < E# in Subsequent Seasons HOT 1
- Audi video aut of sync bug
- AMD hardware acceleration HOT 1
- Subtitles not downloading (One Piece)
- Some episodes misses some seconds at end HOT 1
- Telegram integration HOT 1
- Add --include-chapters HOT 1
- Ffmpeg Protocol not found (download & archive) HOT 3
- Crunchy-cli login issue invalid_client HOT 5
- Generating output file 0% - (--ffmpeg-preset ) - crunchy-cli-v3.2.2-windows-x86_64.exe HOT 9
- Compilation error on Alpine Linux HOT 2
- No login in Windows 10 HOT 3
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 crunchy-cli.