Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@xxxxxx:/# /usr/local/sma/env/bin/python3 /usr/local/sma/manual.py -i /downloads/Complete/Sample1.mpg -a
- Manual processor started.
- /usr/local/sma/env/bin/python3
- Force-convert is true, so convert-mp4 is being overridden to true as well
- Python 64-bit 3.6.9 (default, Nov 7 2019, 10:44:02)
- [GCC 8.3.0].
- Guessit version: 3.1.0.
- Input Data
- {
- "format": "mpeg",
- "format-fullname": "unknown",
- "video": {
- "index": 0,
- "codec": "mpeg2video",
- "type": "video",
- "pix_fmt": "yuv420p",
- "profile": "4"
- },
- "audio": [
- {
- "index": 1,
- "codec": "mp2",
- "type": "audio",
- "channels": 2,
- "language": "eng",
- "default": false
- }
- ],
- "subtitle": [],
- "attachment": []
- }
- Reading video stream.
- Video codec detected: mpeg2video.
- Pix Fmt: yuv420p.
- Profile: 4.
- Reading audio streams.
- Audio detected for stream 1 - mp2 eng 2 channel.
- Creating aac audio stream from source stream 1.
- Default audio stream set to eng aac 2 channel stream [prefer-more-channels: False].
- Reading subtitle streams.
- Output Data
- {
- "source": [
- "/downloads/Complete/Sample1.mpg"
- ],
- "format": "mp4",
- "video": {
- "codec": "h264vaapi",
- "map": 0,
- "bitrate": null,
- "level": null,
- "profile": null,
- "pix_fmt": null,
- "field_order": "progressive",
- "width": 1280,
- "debug": "base"
- },
- "audio": [
- {
- "map": 1,
- "codec": "aac",
- "channels": 2,
- "bitrate": 384.0,
- "filter": null,
- "language": "eng",
- "disposition": "+default",
- "bsf": null,
- "debug": "base"
- }
- ],
- "subtitle": [],
- "attachment": []
- }
- Preopts
- []
- Postopts
- [
- "-threads",
- "4"
- ]
- Starting conversion.
- 0Error converting file, FFMPEG error.
- Traceback (most recent call last):
- File "/usr/local/sma/mkvtomp4.py", line 1057, in convert
- for timecode in conv:
- File "/usr/local/sma/converter/__init__.py", line 263, in convert
- timeout=timeout, preopts=preopts, postopts=postopts):
- File "/usr/local/sma/converter/ffmpeg.py", line 650, in convert
- total_output, pid=p.pid)
- converter.ffmpeg.FFMpegConvertError: <unprintable FFMpegConvertError object>
- /usr/local/bin/ffmpeg -i /downloads/Complete/Sample1.mpg -vcodec h264_vaapi -map 0:0 -field_order progressive -vaapi_device /dev/dri/renderD128 -filter_complex [0:v]scale_vaapi=1280:1024;[0:v]format=nv12,hwuploa
- d -c:a:0 aac -map 0:1 -disposition:a:0 +default -ac:a:0 2 -b:a:0 384k -metadata:s:a:0 language=eng -strict experimental -f mp4 -threads 4 -y /downloads/Complete/Sample1.mp4
- ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
- built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
- configuration: --disable-debug --disable-doc --disable-ffplay --enable-vaapi --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-libf
- reetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --en
- able-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-postproc --enable-small --enable-version3 --enable-libbluray --extra-cflags=
- -I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs=-ldl --prefix=/opt/ffmpeg
- libavutil 56. 31.100 / 56. 31.100
- libavcodec 58. 54.100 / 58. 54.100
- libavformat 58. 29.100 / 58. 29.100
- libavdevice 58. 8.100 / 58. 8.100
- libavfilter 7. 57.100 / 7. 57.100
- libavresample 4. 0. 0 / 4. 0. 0
- libswscale 5. 5.100 / 5. 5.100
- libswresample 3. 5.100 / 3. 5.100
- libpostproc 55. 5.100 / 55. 5.100
- Input #0, mpeg, from '/downloads/Complete/Sample1.mpg':
- Duration: 00:18:12.34, start: 0.297300, bitrate: 8494 kb/s
- Stream #0:0[0x1e0]: Video: mpeg2video, yuv420p(tv, fcc/bt470bg/bt470bg, progressive), 720x576 [SAR 64:45 DAR 16:9], 8000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
- Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 384 kb/s
- Stream mapping:
- Stream #0:0 (mpeg2video) -> scale_vaapi (graph 0)
- Stream #0:0 (mpeg2video) -> format (graph 0)
- scale_vaapi (graph 0) -> Stream #0:0 (h264_vaapi)
- hwupload (graph 0) -> Stream #0:1 (h264_vaapi)
- Stream #0:1 -> #0:2 (mp2 (native) -> aac (native))
- Press [q] to stop, [?] for help
- Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
- Error reinitializing filters!
- Failed to inject frame into filter network: Function not implemented
- Error while processing the decoded data for stream #0:0
- [aac @ 0x559a890fc640] Qavg: -nan
- [aac @ 0x559a890fc640] 1 frames left in the queue on closing
- Conversion failed!
- /downloads/Complete/Sample1.mp4 deleted.
- Traceback (most recent call last):
- File "/usr/local/sma/mkvtomp4.py", line 1057, in convert
- for timecode in conv:
- File "/usr/local/sma/converter/__init__.py", line 263, in convert
- timeout=timeout, preopts=preopts, postopts=postopts):
- File "/usr/local/sma/converter/ffmpeg.py", line 650, in convert
- total_output, pid=p.pid)
- converter.ffmpeg.FFMpegConvertError: <exception str() failed>
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/sma/manual.py", line 395, in <module>
- main()
- File "/usr/local/sma/manual.py", line 387, in main
- processFile(path, tagdata, converter, info=info)
- File "/usr/local/sma/manual.py", line 213, in processFile
- output = converter.process(inputfile, True)
- File "/usr/local/sma/mkvtomp4.py", line 64, in process
- outputfile, inputfile = self.convert(options, preopts, postopts, reportProgress)
- File "/usr/local/sma/mkvtomp4.py", line 1078, in convert
- raise Exception("FFMpegConvertError")
- Exception: FFMpegConvertError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement