Skip to content
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

视频格式转换不支持 TS MPG #92

Open
v1210012100 opened this issue Jul 26, 2018 · 0 comments
Open

视频格式转换不支持 TS MPG #92

v1210012100 opened this issue Jul 26, 2018 · 0 comments

Comments

@v1210012100
Copy link

错误信息为 :07-26 17:37:32.105 1602-4260/com.joe.epmediademo E/FFmpeg_EpMedia: Unable to find a suitable output format for '/storage/emulated/0/Download/1.ts'
/storage/emulated/0/Download/1.ts: Invalid argument

具体Log :
07-26 17:37:31.977 1602-1602/com.joe.epmediademo V/EpMediaF: cmd: ffmpeg -y -i /storage/emulated/0/DCIM/Camera/20180725_145705.mp4 /storage/emulated/0/Download/1.ts
07-26 17:37:32.020 1602-1602/com.joe.epmediademo I/FFmpeg_EpMedia: create thread succes: Success
07-26 17:37:32.022 1602-4260/com.joe.epmediademo I/FFmpeg_EpMedia: ffmpeg version 3.3.4
Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9 (GCC) 20140827 (prerelease)
configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/arm-linux-androideabi-' --arch=arm --cpu=cortex-a9 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccel=h264_vaapi --enable-hwaccel=h264_vaapi --enable-hwaccel=h264_dxva2 --enable-hwaccel=mpeg4_vaapi --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --disable-decoders --enable-dec
WARNING: library configuration mismatch
avutil configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
avcodec configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
avformat configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
avdevice configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
avfilter configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
swscale configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
swresample configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
postproc configuration: --target-os=android --cross-prefix='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/bin/aarch64-linux-android-' --arch=arm64 --cpu=cortex-a57 --disable-armv5te --disable-armv6 --disable-armv6t2 --enable-runtime-cpudetect --sysroot='/home/jojo/桌面/Android/BianYi/ffmpeg-android-master/toolchain-android/sysroot' --enable-neon --enable-asm --enable-hwaccels --enable-shared --enable-jni --enable-mediacodec --disable-static --disable-doc --enable-libx264 --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-gpl --enable-nonfree --enable-version3 --enable-small --disable-vda --disable-iconv --disable-encoders --enable-encoder=libx264 --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=gif --enable-encoder=libmp3lame --enable-encoder='mjpeg,png' --disable-muxers --enable-muxer=mp4 --enable-muxer=gif --enable-muxer=mp3 --enable-muxer=mov --enable-muxer=image2 --enable-muxer=aac --disable-decoders --enable-decoder=aac --enable-decoder=aa
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
07-26 17:37:32.030 1602-1602/com.joe.epmediademo D/ViewRootImpl@3d3107f[正在处理]: dispatchAttachedToWindow
07-26 17:37:32.069 1602-1602/com.joe.epmediademo D/ViewRootImpl@3d3107f[正在处理]: Relayout returned: oldFrame=[0,0][0,0] newFrame=[36,1232][1404,1823] result=0x27 surface={isValid=true 547522861056} surfaceGenerationChanged=true
mHardwareRenderer.initialize() mSurface={isValid=true 547522861056} hwInitialized=true
07-26 17:37:32.079 1602-1602/com.joe.epmediademo D/ViewRootImpl@3d3107f[正在处理]: MSG_WINDOW_FOCUS_CHANGED 1
mHardwareRenderer.initializeIfNeeded()#2 mSurface={isValid=true 547522861056}
07-26 17:37:32.097 1602-1602/com.joe.epmediademo D/ViewRootImpl@3d3107f[正在处理]: MSG_RESIZED_REPORT: frame=Rect(36, 1232 - 1404, 1823) ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
07-26 17:37:32.104 1602-4260/com.joe.epmediademo I/FFmpeg_EpMedia: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/Camera/20180725_145705.mp4':
Metadata:
major_brand :
07-26 17:37:32.104 1602-4260/com.joe.epmediademo I/FFmpeg_EpMedia: mp42
minor_version :
0
compatible_brands:
isommp42
07-26 17:37:32.105 1602-4260/com.joe.epmediademo I/FFmpeg_EpMedia: creation_time :
2018-07-25T06:57:16.000000Z
location :
+31.2326+121.4601/
location-eng :
+31.2326+121.4601/
com.android.version:
7.0
Duration:
00:00:09.13
, start:
0.000000
, bitrate:
17361 kb/s
07-26 17:37:32.105 1602-4260/com.joe.epmediademo I/FFmpeg_EpMedia: Stream #0:0
(eng)
: Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080, 17092 kb/s
, SAR 1:1 DAR 16:9
,
30 fps,
30 tbr,
90k tbn,
180k tbc
(default)
Metadata:
rotate :
90
creation_time :
2018-07-25T06:57:16.000000Z
handler_name :
VideoHandle
Side data:

displaymatrix: rotation of -90.00 degrees
    Stream #0:1
(eng)
: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s
 (default)
    Metadata:
      creation_time   : 
2018-07-25T06:57:16.000000Z
      handler_name    : 
SoundHandle

07-26 17:37:32.105 1602-4260/com.joe.epmediademo E/FFmpeg_EpMedia: Unable to find a suitable output format for '/storage/emulated/0/Download/1.ts'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant