Yes the transcoded file can be played on VLC.
I tried with the MP4 file format, but it was the same.
When I play the transcoded file using MPEG TS format the video starts, but no picture is available and a few seconds later, the picture is displayed. With MP4 format, I can see the video from the beginning, but with a green color. I think the first I-frame lacks or may be corrupted. It's a video that I have taken from youtube, using
http://videodl.org download link.
Here is the log of VLC, when I play the MPEG TS transcoded file:
ffmpeg warning: cannot decode one frame (27 bytes)
ffmpeg warning: cannot decode one frame (8 bytes)
ffmpeg debug: concealing 300 DC, 300 AC, 300 MV errors
(h264@0x85f3400)
ffmpeg debug: concealing 0 DC, 0 AC, 0 MV errors
(h264@0x85f3400)
main debug: no usable vout present, spawning one
main debug: window size: 320x240
main debug: looking for video output module: 6 candidates
xvideo debug: adaptor 1, port 66, format 0x32315659 (YV12) planar
xvideo debug: Window manager supports NetWM
xvideo debug: Window manager supports _NET_WM_STATE_FULLSCREEN
xvideo debug: Window manager supports _NET_WM_STATE_ABOVE
xvideo debug: Window manager supports _NET_WM_STATE_BELOW
main debug: using video output module "xvideo"
main debug: waiting for thread completion
main debug: got 8 direct buffer(s)
main debug: picture in 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1
main debug: picture user 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1
main debug: picture out 320x240 (0,0,320x240), chroma I420, ar 4:3, sar 1:1
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 2941496240 (video output) created at priority 0 (video_output/video_output.c:421)
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5