hola,
soy nuevo en el foro y con herramientas de video.
Tengo la necesidad de cambiar un fichero AVC a mp4, pero además tengo que hacerlo en Linux y sin entorno gráfico.
La información del fichero es la siguiente (mediainfo)
# mediainfo GMT20200402-191258_double_click_to_convert_01.avc -f
General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : GMT20200402-191258_double_click_to_convert_01.avc
File name extension : GMT20200402-191258_double_click_to_convert_01.avc
File name : GMT20200402-191258_double_click_to_convert_01
File extension : avc
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format/Extensions usually used : avc h264 264
Commercial name : AVC
Internet media type : video/H264
File size : 4590868
File size : 4.38 MiB
File size : 4 MiB
File size : 4.4 MiB
File size : 4.38 MiB
File size : 4.378 MiB
File last modification date : UTC 2020-04-02 19:13:26
File last modification date (local) : 2020-04-02 21:13:26
Video
Count : 377
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L3
Format settings : 2 Ref Frames
Format settings, CABAC : No
Format settings, CABAC : No
Format settings, Reference frames : 2
Format settings, Reference frames : 2 frames
Internet media type : video/H264
Width : 640
Width : 640 pixels
Height : 480
Height : 480 pixels
Sampled_Width : 640
Sampled_Height : 480
Pixel aspect ratio : 1.000
Display aspect ratio : 1.333
Display aspect ratio : 4:3
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Color range : Limited
colour_range_Source : Stream
He intentado hacer la conversión con ffmpeg, pero siempre con errores:
# ffmpeg -i GMT20200402-191258_double_click_to_convert_01.zoom -framerate 24 -c copy test.mp4
Error: unable to open display
ffmpeg version n4.1.4 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-avisynth --enable-cuda --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
GMT20200402-191258_double_click_to_convert_01.zoom: No such file or directory
#
el fichero existe, por lo que entiendo que pongo mal alguna de las opciones.
El Sistema es un CENTOS 7 sin entorno gráfico.
La necesidad es hacerlo todo por CLI, sin ventanas.
gracias
soy nuevo en el foro y con herramientas de video.
Tengo la necesidad de cambiar un fichero AVC a mp4, pero además tengo que hacerlo en Linux y sin entorno gráfico.
La información del fichero es la siguiente (mediainfo)
# mediainfo GMT20200402-191258_double_click_to_convert_01.avc -f
General
Count : 331
Count of stream of this kind : 1
Kind of stream : General
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Video_Format_List : AVC
Video_Format_WithHint_List : AVC
Codecs Video : AVC
Complete name : GMT20200402-191258_double_click_to_convert_01.avc
File name extension : GMT20200402-191258_double_click_to_convert_01.avc
File name : GMT20200402-191258_double_click_to_convert_01
File extension : avc
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Format/Extensions usually used : avc h264 264
Commercial name : AVC
Internet media type : video/H264
File size : 4590868
File size : 4.38 MiB
File size : 4 MiB
File size : 4.4 MiB
File size : 4.38 MiB
File size : 4.378 MiB
File last modification date : UTC 2020-04-02 19:13:26
File last modification date (local) : 2020-04-02 21:13:26
Video
Count : 377
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
Format : AVC
Format : AVC
Format/Info : Advanced Video Codec
Format/Url : http://developers.videolan.org/x264.html
Commercial name : AVC
Format profile : High@L3
Format settings : 2 Ref Frames
Format settings, CABAC : No
Format settings, CABAC : No
Format settings, Reference frames : 2
Format settings, Reference frames : 2 frames
Internet media type : video/H264
Width : 640
Width : 640 pixels
Height : 480
Height : 480 pixels
Sampled_Width : 640
Sampled_Height : 480
Pixel aspect ratio : 1.000
Display aspect ratio : 1.333
Display aspect ratio : 4:3
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 8
Bit depth : 8 bits
Scan type : Progressive
Scan type : Progressive
Color range : Limited
colour_range_Source : Stream
He intentado hacer la conversión con ffmpeg, pero siempre con errores:
# ffmpeg -i GMT20200402-191258_double_click_to_convert_01.zoom -framerate 24 -c copy test.mp4
Error: unable to open display
ffmpeg version n4.1.4 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-avisynth --enable-cuda --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
GMT20200402-191258_double_click_to_convert_01.zoom: No such file or directory
#
el fichero existe, por lo que entiendo que pongo mal alguna de las opciones.
El Sistema es un CENTOS 7 sin entorno gráfico.
La necesidad es hacerlo todo por CLI, sin ventanas.
gracias