Also known as MPEG-4/AVC, an advanced video encoding standard, widely used in Blu-ray and streaming video.

learn more… | top users | synonyms (1)

0
votes
1answer
15 views

Cannot play MPEG-TS from webcam using ExoPlayer on Android or Quicktime on Mac

I'm trying to use FFmpeg to stream my webcam to an Android device based on the HttpLiveStreaming(HLS). In order to play the MPEG-TS on Android, I use ExoPlayer. FFmpeg streaming command: ffmpeg -f ...
0
votes
1answer
28 views

Does using preset=placebo or veryslow option also decrease decode time?

When using h.264 I use preset=placebo option. It increases encoding efficiency, but I don't know I feel like it is also increasing decoding time. Is it right or it doesn't affect decoding time at all?
0
votes
0answers
12 views

vprofile option in h264 is not working for me

I'm using shotcut to convert my videos. in additional options I enter movflags=+faststart preset=placebo vprofile=baseline level=3.0 But I get the following log: [libx264 @ 000000000ac2f020] [Eval ...
0
votes
1answer
586 views

ffmpeg: packaging H264@MPEGTS into Smooth Streaming

I have a (quite large) set of files that is all H264 in an MPEG TS container. Due to time constraints I need to repackage this content into smooth streaming without transcoding it (transcoding would ...
0
votes
0answers
35 views

Video delay when using filters in ffmpeg

I try to make video of sport event using raspberry pi. Drawtext filter seems good option to write score on the video. I have problem with synchronization / delay of video. I can see changing points ...
0
votes
0answers
28 views

Loss packets/loss pixels Live555/OPENRTSP

I use live555/openRTSP for receiving/record video h264 from 4 ipcam. I have 2 problems: I have lost pixels(but if I opened the sem video with vlc, I don't see the loss pixels) Lost packets in ...
0
votes
1answer
162 views

Cutting and merging camera's H264 video results in corrupt file

I am not sure is the problem with the specific video or incorrect commands. I have tested with the latest ffmpeg 4/4/2016 build and older v2.8.6. The Sample.avi is recorded by a PTZ camera. To cut ...
0
votes
0answers
22 views

How to smooth out jaggy lines with AviSynth?

I have a quite crappy quality video in 480p, I then transcode it with AviSynth and MeGUI. I use a few scripts to enhance the quality, as well as upscaling the video to 720p. As you can see in the ...
0
votes
0answers
166 views

Converting H265 to H264 causes artifacts in dark areas

I'm not sure if this is the right place to ask this, but I'll try anyways. I'm trying to convert a lot of HEVC (H265) videos to AVC (H264) and I'm getting all these nasty artifacts in dark areas. Does ...
0
votes
0answers
17 views

MeGUI H.264 - Always encode with 4 reference frames

I had already set the number of reference frames to 16 but the final output keep showing 4 ref frames. I tried to use 15 ref frames instead but it still won't work. Any ideas how to solve this?
0
votes
1answer
208 views

Smart Trim an h.264 .MP4 Video file in ffmpeg

I would like to take live-captured h.264 video as an input and trim it to start in a fade up from black and end with a fade to black with as little encoding as possible. These fade in/out points may ...
0
votes
2answers
251 views

H.264 multi-pass encoding with FFmpeg

I would like to encode a video in H.264 with multi-pass. I tried : ffmpeg -y -ss 00:00:12.0 -i "c:\vid\example.mkv" -vframes 420 -vcodec libx264 -preset veryslow -refs 8 -b:v 1200k -an -pass 1 -f ...
0
votes
0answers
106 views

How to set double fps for tbc option of video

I need to set tbc option for output video. For example, input video has 25 fps with 50 tbc and my encoded video has 25fps with 25 tbc. I used settb and video_track_timescale but these options did not ...
0
votes
1answer
153 views

VLC shows distorted video when seeking

I have Fedora 23 installed with VLC 2.2.2-0.1.fc23. When I open any H.264 video in VLC, when seeking it does not seem to synchronize to I-Frame. The video is distorted for a few seconds. It works ...
1
vote
0answers
71 views

MS Expression Studio Fails to Detect MP4 Video

I have imported a H.264 MP4 video file into Microsoft Expression Encoder 4, however when I convert the video to the IIS Smooth Streaming VC-1 format, it only has audio with a green screen. How do I ...
0
votes
0answers
25 views

create AVC_Intra from uncompressed in best quality

I have some 720p uncompressed YUV video and I need to transcode this video into an AVC-Intra using the best possible quality. The best possible Quality is needed, because the video probably will be ...
1
vote
0answers
55 views

Does h.264 levels affect the quality of the output?

According to Wikipedia, the example for high resolution of level 4.0 is 2048x1024@30fps. But the resolution of the video ready to encode is 1280x960, which is about level 3.2. Is it better to set the ...
0
votes
1answer
87 views

Keeping the original bitrate while encoding to H.264

Is there any ways to use the original bitrate of the input file? The purpose I do this is because I don't know whether keeping the original bitrate while encoding will shorten the conversion time. If ...
0
votes
0answers
120 views

Unable to trim piped video stream with FFmpeg

Trying to trim a video file that gets piped from the standard input, it only works when the start duration is greater than 2.0s for some videos (fails for ones captured from an Android phone to be ...
0
votes
0answers
127 views

FFMPEG / x264: can I use pass 1 from one encoding session as pass 2 for another?

Question: Is it legal to use a "pass 1" encoding of a source video at one resolution/bitrate as the input to a "pass 2" encoding of the same source at a different resolution/bitrate? I tried it and ...
1
vote
1answer
377 views

how to convert a video to a MOV file with h264 yuvj420p and pcm u8

I want to convert some videos to be playable on a Canon digital camera. The videos from the Canon PowerShot camera have the following specifications: Video: h264 (Constrained Baseline) (avc1 / ...
0
votes
0answers
57 views

Which audio codec is preferable to use for mp4 video?

I use standart codec for encoding and i don't like the quality of audio even if there is larger audio bitrate. ffmpeg -y -i input.avi -i watermark.png -filter_complex \"scale=-2:'min(360,ih)',overlay=...
0
votes
0answers
144 views

Sony Vegas: Will re-rendering a video with identical video encoding reduce quality?

I have edited and exported a video in Sony Vegas Pro 13 using the preset 1920x1080-30p video template (mp4, AVC, 16 Mbps). However, I need to reedit the audio of the video, and would like to know if ...
0
votes
1answer
244 views

avconv: Converting from .ts to H264, with high quality screenshots

I am using avconv to convert MPEG Transport Streams to H264. My main goal is to capture high-quality screenshots from the source video files. The TS files are interlaced, so I am first converting to ...
0
votes
0answers
288 views

Ffmpeg same command, different results local vs server. Video shakes, invalid dropping

I am trying to concat some files without reencode so I use ffmpeg -f concat -i list.txt -c copy out.mp4 On local it works perfect but on a dedicated server video shakes! Is like video is frozen ...
1
vote
0answers
46 views

Getting same quality with “baseline profile”?

I have a couple of videos taken in H.264 using the high profile and I want to convert them into a baseline profile while keeping the same quality and size so, that they can be easily played on an ...
2
votes
1answer
2k views

H.264 decoding error log from RTSP stream

I am getting the following H264 error log. This log comes while decoding an RTSP video stream with help of FFMPEG. The picture displayed is blurred after 5/6 seconds. The picture would recover it from ...
0
votes
1answer
237 views

Efficient re-encoding of MPEG-2 cartoon animation

I have some cartoon animation stored in MPEG-2 video that I would like to convert to MPEG-4/h264. The MPEG-2 video compression is rather bad, with both "small" JPEG artefacts around details in the ...
-1
votes
2answers
117 views

What kind of image compression causes this color banding? [closed]

I have two images. The first is before undergoing lossy compression: Picture #1: The second is after undergoing lossy compression: Can anyone explain to me what is going on here? How does this ...
-1
votes
1answer
330 views

Analyzing h264 100GB video stream

I have a big file, an h264 stream video of a CCTV. I analyze this file with ffprobe and the result is this: [h264 @ 0000000002d24480] no frame! [h264 @ 0000000002d24480] non-existing PPS 0 referenced ...
1
vote
2answers
959 views

Convert all files in directory using FFMPEG

I'm trying to write a script to convert all the files in a directory to m4v, whilst trying to keep similar (if not the same) quality and compress the file to reduce the overall size. I've pieced ...
1
vote
1answer
210 views

How can I configure ffmpeg to encode h.264 video with a specific log2_max_frame_num_minus4 value?

I am working on a project where we are splicing HLS video segments. The HLS standard conveniently includes an #EXT-X-DISCONTINUITY directive to signal that the player should be ready for video that ...
1
vote
0answers
2k views

FFMPEG Lossless Video Output Options

I am looking for lossless video output options from FFMPEG that can be viewed without any special codecs or special players such as VLC. I want a basic use to be able to open up the video with a ...
1
vote
1answer
412 views

Editing metadata of H.264 MP4 videos

Windows lets me edit some metadata fields of H.264 encoded videos, such as “Title” and “Comments.” Such data seem to be preserved inside the file itself, which is what I want. Some applications make ...
0
votes
1answer
765 views

Skipping a frame without re-encoding H.264 video

I have an mp4/h.264 video which only contains I-Frames. I want to skip one of those I-frame without re-encoding the entire video. I tried this: ffmpeg -i "file.mp4" -vf select='not(eq(n\,10))' "out....
1
vote
0answers
99 views

MPEG DASH with H264 + H265

I've tried to build an MPEG-DASH stream coding some bitrates in H264 and some others in H265. In a nutshell I'm trying to code the same video with ffmpeg for the lower bitrates in H264 and the highest ...
0
votes
0answers
191 views

ffmpeg synchonization of libfdk_aac (or libfacc) and libx264

How to synchronize libfdk_aac and libx264 streams? ffmpeg -i pipe_libfdk_aac.fifo -i pipe_libx264.fifo -c copy -f flv flv_stream_pipe_or_rtmp.output I'm always receiving the same asych in all cases:...
0
votes
0answers
521 views

OpenH264 won't work properly on Waterfox, what am I missing?

All the boxes on https://www.youtube.com/html5 appear to be ticked and yet mp4 youtube videos fail to load. The changes I have made so far to about:config I shall list here: media.fragmented-mp4....
1
vote
1answer
468 views

Firefox: H.264 Video Support

I have Firefox 34 and OpenH264 Video Codec provided by Cisco Systems v1.1 addon installed and enabled. The problem is that Firefox can not play H.264 video. I used this page for testing and here is ...
0
votes
0answers
371 views

ffmpeg error when encoding h264 mp4 video

I'm trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width ...
5
votes
0answers
3k views

FFMPEG encoding settings for 1080/60fps/h264 - framedrops

I want to use latest ffmpeg to encode set of JPG frames to 1920x1080 60fps h.264 movie. I'm looking for set of parameters that will allow smooth playback of encoded video on fairly strong PC machines ...
0
votes
0answers
476 views

How to multicast live H264 without transcoding?

I have a live H264 stream (hardware encoded from the webcam) and I'd like to stream it over the network using multicast on a Linux platform. Because the platform has limited CPU power, and the data ...
4
votes
1answer
8k views

What H.264/H.265 video compression parameters provide DVD-equivalent quality with better compression?

I have got a box of DVD video disks that I seek to get rid of while I'd like to keep the videos by converting them into MP4 files to store them on a hard drive. Considering superiority of the modern ...
1
vote
1answer
577 views

ffmpeg-transcoded H.264 video does not play in Chrome

I am trying to transcode videos using ffmpeg. Following is the sample command. ffmpeg.exe -i 534.mp4 -vcodec libx264 -level 3.1 -b:v 396k -ar 48000 -ab 32k -s 100x100 -force_key_frames expr:gte(t,...
0
votes
0answers
405 views

XP Can't display H.264 video

A friend's win2000 box died so I gave him an old XP box of mine. I updated XP and installed the final rollup. All good. I installed the software he owned and all works well. Finally ran IE-6 (I ...
0
votes
0answers
247 views

H264 in Firefox on Windows 7 N without Media Feature Pack?

How can I play H264 videos and MP3 audio in Firefox on Windows 7 N Professional without installing Windows Media Feature Pack? I know you can use GStreamer on Linux, but it doesn't work on Windows. I'...
0
votes
1answer
781 views

Shadowplay vs. NVenc?

I would like to understand the difference bitween NVidia Shadowplay and NVenc. Both allow you to encode videos in h.264 on the fly, but I understood that the first one use a h.264 dedicated chip ...
4
votes
1answer
749 views

FFmpeg/avidemux: fix packed B-frames

I'm transcoding some of my old mpeg4 videos (in avi containers) to h.264 with FFmpeg. Basically ffmpeg -i input.avi -c:v libx264 [x264 settings] -c:a libfdk_aac [aac settings] output.mp4 When doing ...
0
votes
1answer
76 views

Concatenate h264 bytestream using cat?

I need to merge few h264 files. Can I do simply trick like this: cat file0.h264 file1.h264 file2.h264 > out.h264 All h264 has the same encoding settings, except resolution and bitrate, and has ...
1
vote
1answer
193 views

Capture and encode HDMI signal on FreeBSD

I am looking for a capture PCI-e card to encode HDMI source and stream on network. I want to "share" my HDMI sources to my Raspberry sinks in the LAN. I have found many PCI-e cards, but most of them ...