Recherche avancée

Médias (91)

Sur d’autres sites (126)

  • avformat/rcwtdec : add RCWT Closed Captions demuxer

    2 avril, par Marth64
    avformat/rcwtdec : add RCWT Closed Captions demuxer
    

    RCWT (Raw Captions With Time) is a format native to ccextractor,
    a commonly used OSS tool for processing 608/708 Closed Captions (CC).
    RCWT can be used to archive the original extracted CC bitstream.
    The muxer was added in January 2024. In this commit, add the demuxer.

    One can now demux RCWT files for rendering in ccaption_dec or interop
    with ccextractor (which produces RCWT). Using the muxer/demuxer combo,
    the CC bits can be kept for processing or rendering with either tool.
    This can be an effective way to backup an original CC stream, including
    format extensions like EIA-708 and overall original presentation.

    Signed-off-by : Marth64 <marth64@proxyid.net>

    • [DH] Changelog
    • [DH] doc/demuxers.texi
    • [DH] libavformat/Makefile
    • [DH] libavformat/allformats.c
    • [DH] libavformat/rcwtdec.c
  • I have an MJPEG file decoded with the Intel® IPP JPEG encoder [8.1.42291], how can I convert it to MP4 using ffmpeg ? [closed]

    8 mars, par Renan Aragão

    When trying to convert the MJPEG file with ffmpeg, it gives the following error : Output file #0 does not contain any stream.

    &#xA;

    This is the complete output :

    &#xA;

    .\ffmpeg.exe -init_hw_device qsv=intel,child_device=1 -filter_hw_device intel -i .\19a57e41-244c-45a4-af41-5069dd3cbe4a.tmp -an -vf "format=nv12,hwupload=extra_hw_frames=20" -c:v h264_qsv record.mp4 -y -loglevel verbose&#xA;ffmpeg version n5.0.1-5-g240d82f26e-20220613 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 11.2.0 (crosstool-NG 1.24.0.533_681aaef)&#xA;  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-libaribb24 --disable-avisynth --enable-libdav1d --disable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --disable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --disable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --disable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20220613&#xA;  libavutil      57. 17.100 / 57. 17.100&#xA;  libavcodec     59. 18.100 / 59. 18.100&#xA;  libavformat    59. 16.100 / 59. 16.100&#xA;  libavdevice    59.  4.100 / 59.  4.100&#xA;  libavfilter     8. 24.100 /  8. 24.100&#xA;  libswscale      6.  4.100 /  6.  4.100&#xA;  libswresample   4.  3.100 /  4.  3.100&#xA;WARNING: defaulting child_device_type to AV_HWDEVICE_TYPE_DXVA2 for compatibility with old commandlines. This behaviour will be removed in the future. Please explicitly set device type via "-init_hw_device" option.&#xA;[AVHWDeviceContext @ 000001953dac2f40] Using D3D9Ex device.&#xA;[AVHWDeviceContext @ 000001953dac2a80] Initialize MFX session: API version is 1.35, implementation version is 1.35&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;.\19a57e41-244c-45a4-af41-5069dd3cbe4a.tmp&#x27;:&#xA;  Metadata:&#xA;    major_brand     : mp42&#xA;    minor_version   : 0&#xA;    compatible_brands: mp42isom&#xA;    creation_time   : 2024-03-06T13:32:38.000000Z&#xA;  Duration: 00:00:00.00, bitrate: N/A&#xA;Output #0, mp4, to &#x27;record.mp4&#x27;:&#xA;Output file #0 does not contain any stream&#xA;

    &#xA;

    I try using ipp in python and dotnet, but idon't found sample code. I need convert MJPEG Intel IPP to mp4.

    &#xA;

  • java.io.IOException : Cannot run program "/data/user/0/com.voi.myapplication8/files/ffmpeg" : error=13, Permission denied

    1er avril, par Harsha
    &#xA;

    java.io.IOException : Cannot run program&#xA;"/data/user/0/com.voi.myapplication8/files/ffmpeg" : error=13,&#xA;Permission denied

    &#xA;

    &#xA;

    I am using this dependencies&#xA;implementation 'com.writingminds:FFmpegAndroid:0.3.2'

    &#xA;

    &#xA;

    2024-03-31 21:40:31.045 15937-16762 FFmpeg
    &#xA;com.voi.myapplication8 E Exception while trying to run :&#xA;[Ljava.lang.String ;@71d4c0f&#xA;java.io.IOException : Cannot run program&#xA;"/data/user/0/com.voi.myapplication8/files/ffmpeg" : error=13,&#xA;Permission denied&#xA;at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)&#xA;at java.lang.Runtime.exec(Runtime.java:712)&#xA;at java.lang.Runtime.exec(Runtime.java:571)&#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)&#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)&#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)&#xA;at android.os.AsyncTask$3.call(AsyncTask.java:394)&#xA;at java.util.concurrent.FutureTask.run(FutureTask.java:264)&#xA;at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)&#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)&#xA;at java.lang.Thread.run(Thread.java:1012)&#xA;Caused by : java.io.IOException : error=13, Permission denied&#xA;at java.lang.UNIXProcess.forkAndExec(Native Method)&#xA;at java.lang.UNIXProcess.(UNIXProcess.java:133)&#xA;at java.lang.ProcessImpl.start(ProcessImpl.java:141)&#xA;at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)&#xA;at java.lang.Runtime.exec(Runtime.java:712) &#xA;at java.lang.Runtime.exec(Runtime.java:571) &#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10) &#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38) &#xA;at&#xA;com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10) &#xA;at android.os.AsyncTask$3.call(AsyncTask.java:394) &#xA;at java.util.concurrent.FutureTask.run(FutureTask.java:264) &#xA;at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305) &#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) &#xA;at&#xA;java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) &#xA;at java.lang.Thread.run(Thread.java:1012)  2024-03-31 21:40:31.045&#xA;15937-15937 FFmpeg com.voi.myapplication8
    &#xA;E Video cropping failed :

    &#xA;

    &#xA;