-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing audio track in MP4 #1019
Comments
Looks like the options are generated correctly, not sure why the audio tracks aren’t being generated like they’re supposed to. Does it do this for all files? If you turn on debugging logs and try to run the command manually does it work? Does the debug log show anything? (logging.ini to change to debug)
From: Ryan Grush
Sent: Friday, June 7, 2019 11:46 AM
To: mdhiggins/sickbeard_mp4_automator
Cc: Subscribed
Subject: [mdhiggins/sickbeard_mp4_automator] Missing audio track in MP4(#1019)
I'm trying to convert my MVKs to MP4s but the MP4s are always missing the audio track so I'm trying to figure out what I'm doing wrong. I'm doing this on my Synology DSM (Linux) btw.
autoProcess.ini
[MP4]
ffmpeg = /bin/ffmpeg
ffprobe = /bin/ffprobe
threads = 0
output_directory =
copy_to =
move_to =
output_extension = mp4
output_format = mp4
delete_original = False
relocate_moov = True
video-codec = h264,x264
video-bitrate =
video-crf =
video-max-width =
video-profile =
h264-max-level =
use-qsv-decoder-with-encoder = True
use-hevc-qsv-decoder = False
enable_dxva2_gpu_decode = False
ios-audio = True
ios-first-track-only = False
ios-audio-filter =
ios-move-last = False
max-audio-channels =
audio-codec = ac3
ignore-trudhd = true
audio-language = eng
audio-default-language = eng
audio-channel-bitrate =
audio-filter =
audio-copy-original = False
audio-first-track-of-language = False
subtitle-codec = mov_text
subtitle-language =
subtitle-default-language =
subtitle-encoding =
fullpathguess = True
convert-mp4 = False
tagfile = True
tag-language = en
download-artwork = Poster
download-subs = False
embed-subs = True
embed-only-internal-subs = False
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
permissions = 0777
post-process = False
pix-fmt =
aac_adtstoasc = False
postopts =
preopts =
I originally had it triggering postSonarr.py to do the conversion but for debugging this issue I've been running -
python /scripts/sickbeard_mp4_automator/manual.py -i "my_video.mkv" -tv 12345 -s 1 -e 1
Here is the output -
ash-4.3# python /scripts/sickbeard_mp4_automator/manual.py -i "my_video.mkv" -tv 12345 -s 13 -e 1
Manual processor started.
/bin/python
Audio bitrate was invalid, defaulting to 256 per channel.
64bit Python.
Reading video stream.
Video codec detected: h264.
Pix Fmt: yuv420p.
Profile: High.
Reading audio streams.
Audio detected for stream #1: eac3 [eng].
Creating audio stream 0 from source audio stream 1 [iOS-audio].
Creating audio stream 1 from source stream 1.
Reading subtitle streams.
Subtitle detected for stream #2: subrip [eng].
Creating subtitle stream 0 from source stream 2.
No valid subtitle language specified, cannot download subtitles.
Subtitle language array is empty.
{
"preopts": [
"-fix_sub_duration"
],
"subtitle": {
"0": {
"map": 2,
"codec": "mov_text",
"disposition": "none",
"language": "eng",
"encoding": null
}
},
"format": "mp4",
"postopts": [
"-threads",
"0"
],
"video": {
"profile": null,
"map": 0,
"level": null,
"codec": "copy",
"bitrate": 8688.4663,
"pix_fmt": null
},
"audio": {
"0": {
"map": 1,
"language": "eng",
"channels": 2,
"codec": "aac",
"disposition": "default",
"bitrate": 256,
"filter": null
},
"1": {
"map": 1,
"language": "eng",
"channels": 6,
"codec": "ac3",
"disposition": "none",
"bitrate": 1536,
"filter": null
}
}
}
Starting conversion.
[######## ] 87%/volume1/Downloads/my_video.mp4 created.
Tagging file: /volume1/Downloads/my_video.mp4.
There was an error tagging the file
track has no audio data
Relocating MOOV atom to start of file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I just downloaded a sample MKV file from here, ran it through the process and it worked with audio so it must be the MKV I was using. I will say I extracted it from a series of RAR files so I'm not sure if that might've caused the problem. Here is an ffprobe of the problem MKV file -
|
@mdhiggins it looks like my issue was that I was running the binary of ffmpeg (version 2.7.1) in my Synology's /bin folder and not the updated one I downloaded via "package center" like I thought I was. |
I'm trying to convert my MVKs to MP4s but the MP4s are always missing the audio track so I'm trying to figure out what I'm doing wrong. I'm doing this on my Synology DSM (Linux) btw.
autoProcess.ini
I originally had it triggering
postSonarr.py
to do the conversion but for debugging this issue I've been running -python /scripts/sickbeard_mp4_automator/manual.py -i "my_video.mkv" -tv 12345 -s 1 -e 1
Here is the output -
The text was updated successfully, but these errors were encountered: