I'm looking for a syntax that allows me to extract a section of the audio track in *.FLAC from a .ts video in one step and add an image at the same time. So far I'm using the following command:
ffmpeg -i "D:\InputVideo.ts" -i "D:\InputPicture.jpg" -map 1 -map 0:a:1 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" -disposition:v attached_pic -ss 0.000000 -to 2222.000000 "D:\Output_with_cover.flac"
That works too. But only if the area to be cut begins with
-ss 0.000000
However, if I want to extract an area that is in the middle of the video, I get this error message:
"No packets were sent for some of the attached pictures"
Is that possible ?
+ Reply to Thread
Results 1 to 3 of 3
-
-
for the "No packets were sent for some of the attached pictures" error, try this - https://superuser.com/questions/758338/keep-album-art-with-ffmpeg-while-cutting-a-mp3-file
Similar Threads
-
I have been using 'ffmpeg' to extract Audio from Videos
By robertdaleweir in forum Newbie / General discussionsReplies: 8Last Post: 28th Feb 2021, 17:23 -
ffmpeg cut off first 10 seconds of video then add intro 15 seconds in
By PeterWall in forum Newbie / General discussionsReplies: 2Last Post: 30th Jul 2020, 06:18 -
how to extract lossless audio from an MKV file - ffmpeg fails
By batemanj in forum Newbie / General discussionsReplies: 2Last Post: 17th Apr 2019, 07:50 -
How to extract/cut parts from a mkv including all audio and subtitle tracks
By Baldrick in forum User guidesReplies: 23Last Post: 22nd Mar 2019, 11:00 -
FFMPEG: how to extract audio from a specific timecode point?
By marcorocchini in forum Newbie / General discussionsReplies: 8Last Post: 2nd Jul 2017, 11:38