Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 31 to 60 of 61
Thread
-
The error message I posted above said:
Code:Codec 'mpeg4' (12) is not supported by the bitstream filter 'filter_units'. Supported codecs are: av1 (226) h264 (2) hevc (173) mpeg2video (2) vp9 (167)
-
I found this thread answer that provided a solution to removing the close captioning: https://forum.videohelp.com/threads/390217-Deleting-CEA-608-(EIA-608)-captions-from-a-...le#post2561602
Is Selur still around? Maybe he can explain how to remove EIA-608 closed captioning in a mpeg4 video with ffmpeg. -
-
Oops, I think that I spoke too soon. The ffmepg above does seemingly remove the EIA-608 subtitle data in the video stream. But, the resulting file still has a subtitle track visible in VLC. When I originally viewed the input file in VLC, there were two subtitles displayed at the same time - one apparently from the video stream and one from a subtitle track soft-coded into the file. Looking at the resulting output file, VLC still shows a subtitle track in the "Subtitles" dropdown and in the Tools > Codec information as "Stream 2" (that Codec information is the same as what I reported in a previous post). When I do a ffprobe on the output file, it does not show any information about any subtitles. But when I do this command:
Code:d:ffmpeg -f lavfi -i movie=in.mp4[out0+subcc] -vn -an -codec:s subrip in.srt
Code:Output #0, srt, to in.srt Metadata: encoder : Lavf60.5.100 Stream #0:0: Subtitle: subrip Metadata: encoder : Lavc60.10.100 subrip Stream mapping: Stream #0:1 -> #0:0 (eia_608 (cc_dec) -> subrip (native))
Last edited by the_steve_randolph; 12th Feb 2024 at 21:21.
-
a. Share a sample of your source which includes subtitles. (not an empy subtitle stream)
b. write down what you want to do (I thought you wanted to remove the subtitles, now wou wan to do some conversion?)
side note: make sure you have no subtiles files lying next to your video file whenusing vlc otherwise it may show those external subtitles in its subtitle list.
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
The code in the previous post were just to show that all of the subtitle streams in the file are EIA_608. The original file plays two exact same subtitles in VLC - one set from a track listed in the "Subtitles" dropdown. When I disable that track, there is still one set that remains. From the various things I have tried here, at one point I was able to play the file with no subtitles at all. As you may know me and my projects from the past, I am trying to learn more about ffmpeg - as opposed to just simply removing the subtitles. The basic switches shown in the previous post don't work, and, that is why I started this thread.
I have never uploaded a file before, so, I will need to do a couple of things before uploading. And, looking at several copies I have left from this process, I am having a little bit of trouble nailing down exactly what seems to be happening at each step/try.Last edited by the_steve_randolph; 12th Feb 2024 at 22:16.
-
OK, I am close to losing my mind. It seems that VLC is automatically picking up and using a subtitles file called "IN-XXX.SRT" for a video called "IN.MP4". I will post again after consulting with my shrink.
-
*gig* autoloading subtitles,..
users currently on my ignore list: deadrats, Stears555 -
-
@ the_steve_randolph
As a last resort (for your mpeg4 video):
Re-encode it with x264 and then use
-bsf:v filter_units=remove_types=6
with streamcopy. -
if you reencode shouldn't you lose the sei unit info of the source anyways
=> like I wrote: " a. Share a sample of your source which includes subtitles. (not an empy subtitle stream)"Last edited by Selur; 14th Feb 2024 at 08:22.
users currently on my ignore list: deadrats, Stears555 -
Yep. I just now went back at looked at all of the previous messages in this thread. Only one or two mentioned the subfolder issue, but, not what I ended up discovering. My original file was named something like MACHINE.AVI. Originally I had a file named something like MACHINE.SRT. Thinking that VLC was "autoloading" that SRT, I changed it to MACHINE-XXX.SRT - but it STILL "autoloaded" it (but I did not realize it at the time). And, during my processing/testing, to save a few keystrokes I shortened the name of the output file to M.MP4. That STILL found MACHINE-XXX.SRT! Of couse, that means that it would also "autoload" a file from a totally different video named MACHINE_SOUNDS.SRT. Yes, I am mad and embarrassed by it, but, what is probably the most annoying is that I don't know who I am mad at the most.
I am in the process of going back and replicating what I found and I will make a post here to provide the "solution" and a recap of what was discovered. Again, thanks for your help. -
I am willing to try that, but, "re-encode it with x264" is again above my paygrade. I understand what a codec is and in general what it does, but, I have no knowledge of the features/problems with a specific codec or how to manipulate them. As stated before, the purpose of this thread/project is to learn more about ffmpeg. Over time, I have taken a lot of notes about things I don't quite understand with the hope of understanding at some point in the future. As stated in a post just a few minutes ago, I am in the process of replicating everything and I will be making a final post very soon. Again, thanks for your help.
-
Like I wrote: share a sample of your source which has subtitles in it, so others can test and suggest stuff.
users currently on my ignore list: deadrats, Stears555 -
-
Last edited by the_steve_randolph; 15th Feb 2024 at 15:24.
-
-
I am working on that. In the meantime, I have downloaded the most recent version of Hybrid (Windows ver. 2024.01.12.1) from the "software/Hybrid" folder on this site. But, when I tried to run it, it gave me this error message:
Code:Found no activationattributeNameFilter for key (FieldMatch)! (let Selur know)
Last edited by the_steve_randolph; 15th Feb 2024 at 18:49.
-
-
OK, I have talked with my shrink and he said yes - I am losing my mind. He thinks we might have identified it early, but, it also might only last a few more days. So, now it is a race against time for me to locate, clip, and, upload the proper file. Wish me luck cats and dogs!
-
OK, I downloaded the file that I attached to post #53. Then, I execute this command:
Code:ffmpeg -f lavfi -i movie=clip_of_orig_downloaded_again.avi[out0+subcc]
Code:ffmpeg version N-101923-gc012f9b265 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 9.3-win32 (GCC) 20200320 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-gpl --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 --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp libavutil 56. 72.100 / 56. 72.100 libavcodec 58.136.100 / 58.136.100 libavformat 58. 78.100 / 58. 78.100 libavdevice 58. 14.100 / 58. 14.100 libavfilter 7.111.100 / 7.111.100 libswscale 5. 10.100 / 5. 10.100 libswresample 3. 10.100 / 3. 10.100 libpostproc 55. 10.100 / 55. 10.100 [h264 @ 000002bb7a1c7bc0] Application has requested 29 threads. Using a thread count greater than 16 is not recommended. Input #0, lavfi, from 'movie=clip_of_orig_downloaded_again.avi[out0+subcc]': Duration: N/A, start: 0.080000, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 512x384 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc Stream #0:1: Subtitle: eia_608 At least one output file must be specified
-
-
I think that code is creating an empty cc stream. Using the same command against a file that I know does not have an eia_608 stream also shows a subtitle stream.
Code:Input #0, lavfi, from 'movie=test.avi[out0+subcc]': Duration: N/A, start: 0.500000, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), Stream #0:1: Subtitle: eia_608
-
VLC player, Tools, Media information, Codec.
[Attachment 77121 - Click to enlarge] -
OK, I seem to be unable to find my original file that had the EIA 608 closed captioning. Seeing this post, I have a few questions:
- can you upload a clip of that file with the EIA 608 closed captioning so that I have something to work with?
- where in VLC can I turn on or off those EIA 608 closed captions?
- what switch in ffmpeg would show me that the file contains EAI 608 closed captions?
- what ffmpeg command can be used to extract the closed captioning into a text-based subtitles file?
- what ffmpeg command can be used to eliminate the EIA 608 closed captions?
Similar Threads
-
unable to get subtitles with ffmpeg from m3u8 url
By hhuang05 in forum Video Streaming DownloadingReplies: 3Last Post: 11th Jun 2023, 15:33 -
remove metadata and keep audios and subtitles using ffmpeg
By ekato993 in forum Video Streaming DownloadingReplies: 0Last Post: 6th Jun 2021, 04:28 -
[FFMPEG] Is there a way to remove this part that FFMPEG puts in the meta?
By GEOLINK in forum Newbie / General discussionsReplies: 2Last Post: 1st Feb 2021, 17:51 -
ffmpeg unable to make mp4
By Trekmeister in forum Newbie / General discussionsReplies: 4Last Post: 16th Dec 2020, 02:15 -
Best way to remove watermark using FFMPEG?
By 21dresden21 in forum Video Streaming DownloadingReplies: 1Last Post: 12th Feb 2019, 09:47