Advertisement
Zachar1

Sample1

Feb 20th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 22.23 KB | None | 0 0
  1. root@xxxxxx:/# /usr/local/sma/env/bin/python3 /usr/local/sma/manual.py -i /downloads/Complete/Sample1.mpg -a                                                                                                        
  2. Manual processor started.
  3. /usr/local/sma/env/bin/python3
  4. Force-convert is true, so convert-mp4 is being overridden to true as well
  5. Python 64-bit 3.6.9 (default, Nov  7 2019, 10:44:02)
  6. [GCC 8.3.0].
  7. Guessit version: 3.1.0.
  8. Input Data
  9. {
  10.     "format": "mpeg",
  11.     "format-fullname": "unknown",
  12.     "video": {
  13.         "index": 0,
  14.         "codec": "mpeg2video",
  15.         "type": "video",
  16.         "pix_fmt": "yuv420p",
  17.         "profile": "4"
  18.     },
  19.     "audio": [
  20.         {
  21.             "index": 1,
  22.             "codec": "mp2",
  23.             "type": "audio",
  24.             "channels": 2,
  25.             "language": "eng",
  26.             "default": false
  27.         }
  28.     ],
  29.     "subtitle": [],
  30.     "attachment": []
  31. }
  32. Reading video stream.
  33. Video codec detected: mpeg2video.
  34. Pix Fmt: yuv420p.
  35. Profile: 4.
  36. Reading audio streams.
  37. Audio detected for stream 1 - mp2 eng 2 channel.
  38. Creating aac audio stream from source stream 1.
  39. Default audio stream set to eng aac 2 channel stream [prefer-more-channels: False].
  40. Reading subtitle streams.
  41. Output Data
  42. {
  43.     "source": [
  44.         "/downloads/Complete/Sample1.mpg"
  45.     ],
  46.     "format": "mp4",
  47.     "video": {
  48.         "codec": "h264vaapi",
  49.         "map": 0,
  50.         "bitrate": null,                                                                                                                                                                                          
  51.         "level": null,                                                                                                                                                                                            
  52.         "profile": null,                                                                                                                                                                                          
  53.         "pix_fmt": null,                                                                                                                                                                                          
  54.         "field_order": "progressive",                                                                                                                                                                              
  55.         "width": 1280,                                                                                                                                                                                            
  56.         "debug": "base"                                                                                                                                                                                            
  57.     },                                                                                                                                                                                                            
  58.     "audio": [                                                                                                                                                                                                    
  59.         {                                                                                                                                                                                                          
  60.             "map": 1,                                                                                                                                                                                              
  61.             "codec": "aac",                                                                                                                                                                                        
  62.             "channels": 2,                                                                                                                                                                                        
  63.             "bitrate": 384.0,                                                                                                                                                                                      
  64.             "filter": null,                                                                                                                                                                                        
  65.             "language": "eng",                                                                                                                                                                                    
  66.             "disposition": "+default",                                                                                                                                                                            
  67.             "bsf": null,                                                                                                                                                                                          
  68.             "debug": "base"                                                                                                                                                                                        
  69.         }                                                                                                                                                                                                          
  70.     ],                                                                                                                                                                                                            
  71.     "subtitle": [],                                                                                                                                                                                                
  72.     "attachment": []                                                                                                                                                                                              
  73. }                                                                                                                                                                                                                  
  74. Preopts                                                                                                                                                                                                            
  75. []                                                                                                                                                                                                                
  76. Postopts                                                                                                                                                                                                          
  77. [                                                                                                                                                                                                                  
  78.     "-threads",                                                                                                                                                                                                    
  79.     "4"                                                                                                                                                                                                            
  80. ]                                                                                                                                                                                                                  
  81. Starting conversion.                                                                                                                                                                                              
  82. 0Error converting file, FFMPEG error.                                                                                                                                                                              
  83. Traceback (most recent call last):                                                                                                                                                                                
  84.   File "/usr/local/sma/mkvtomp4.py", line 1057, in convert                                                                                                                                                        
  85.     for timecode in conv:                                                                                                                                                                                          
  86.   File "/usr/local/sma/converter/__init__.py", line 263, in convert                                                                                                                                                
  87.     timeout=timeout, preopts=preopts, postopts=postopts):                                                                                                                                                          
  88.   File "/usr/local/sma/converter/ffmpeg.py", line 650, in convert                                                                                                                                                  
  89.     total_output, pid=p.pid)                                                                                                                                                                                      
  90. converter.ffmpeg.FFMpegConvertError: <unprintable FFMpegConvertError object>                                                                                                                                      
  91. /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
  92. 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                                      
  93. ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers                                                                                                                                                
  94.   built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)                                                                                                                                                                
  95.   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
  96. reetype --enable-libvidstab --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --en
  97. 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=
  98. -I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib --extra-libs=-ldl --prefix=/opt/ffmpeg                                                                                                                    
  99.   libavutil      56. 31.100 / 56. 31.100                                                                                                                                                                          
  100.   libavcodec     58. 54.100 / 58. 54.100                                                                                                                                                                          
  101.   libavformat    58. 29.100 / 58. 29.100                                                                                                                                                                          
  102.   libavdevice    58.  8.100 / 58.  8.100                                                                                                                                                                          
  103.   libavfilter     7. 57.100 /  7. 57.100                                                                                                                                                                          
  104.   libavresample   4.  0.  0 /  4.  0.  0                                                                                                                                                                          
  105.   libswscale      5.  5.100 /  5.  5.100                                                                                                                                                                          
  106.   libswresample   3.  5.100 /  3.  5.100                                                                                                                                                                          
  107.   libpostproc    55.  5.100 / 55.  5.100                                                                                                                                                                          
  108. Input #0, mpeg, from '/downloads/Complete/Sample1.mpg':                                                                                                                                                            
  109.   Duration: 00:18:12.34, start: 0.297300, bitrate: 8494 kb/s                                                                                                                                                      
  110.     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                                                
  111.     Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 384 kb/s                                                                                                                                              
  112. Stream mapping:                                                                                                                                                                                                    
  113.   Stream #0:0 (mpeg2video) -> scale_vaapi (graph 0)                                                                                                                                                                
  114.   Stream #0:0 (mpeg2video) -> format (graph 0)                                                                                                                                                                    
  115.   scale_vaapi (graph 0) -> Stream #0:0 (h264_vaapi)                                                                                                                                                                
  116.   hwupload (graph 0) -> Stream #0:1 (h264_vaapi)                                                                                                                                                                  
  117.   Stream #0:1 -> #0:2 (mp2 (native) -> aac (native))                                                                                                                                                              
  118. Press [q] to stop, [?] for help                                                                                                                                                                                    
  119. Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'                                                                                  
  120. Error reinitializing filters!                                                                                                                                                                                      
  121. Failed to inject frame into filter network: Function not implemented                                                                                                                                              
  122. Error while processing the decoded data for stream #0:0                                                                                                                                                            
  123. [aac @ 0x559a890fc640] Qavg: -nan                                                                                                                                                                                  
  124. [aac @ 0x559a890fc640] 1 frames left in the queue on closing                                                                                                                                                      
  125. Conversion failed!                                                                                                                                                                                                
  126.                                                                                                                                                                                                                    
  127. /downloads/Complete/Sample1.mp4 deleted.                                                                                                                                                                          
  128. Traceback (most recent call last):                                                                                                                                                                                
  129.   File "/usr/local/sma/mkvtomp4.py", line 1057, in convert                                                                                                                                                        
  130.     for timecode in conv:                                                                                                                                                                                          
  131.   File "/usr/local/sma/converter/__init__.py", line 263, in convert                                                                                                                                                
  132.     timeout=timeout, preopts=preopts, postopts=postopts):                                                                                                                                                          
  133.   File "/usr/local/sma/converter/ffmpeg.py", line 650, in convert                                                                                                                                                  
  134.     total_output, pid=p.pid)                                                                                                                                                                                      
  135. converter.ffmpeg.FFMpegConvertError: <exception str() failed>                                                                                                                                                      
  136.                                                                                                                                                                                                                    
  137. During handling of the above exception, another exception occurred:                                                                                                                                                
  138.                                                                                                                                                                                                                    
  139. Traceback (most recent call last):                                                                                                                                                                                
  140.   File "/usr/local/sma/manual.py", line 395, in <module>                                                                                                                                                          
  141.     main()                                                                                                                                                                                                        
  142.   File "/usr/local/sma/manual.py", line 387, in main                                                                                                                                                              
  143.     processFile(path, tagdata, converter, info=info)                                                                                                                                                              
  144.   File "/usr/local/sma/manual.py", line 213, in processFile                                                                                                                                                        
  145.     output = converter.process(inputfile, True)                                                                                                                                                                    
  146.   File "/usr/local/sma/mkvtomp4.py", line 64, in process                                                                                                                                                          
  147.     outputfile, inputfile = self.convert(options, preopts, postopts, reportProgress)                                                                                                                              
  148.   File "/usr/local/sma/mkvtomp4.py", line 1078, in convert                                                                                                                                                        
  149.     raise Exception("FFMpegConvertError")                                                                                                                                                                          
  150. Exception: FFMpegConvertError
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement